| .. | .. |
|---|
| 371 | 371 | seq_printf(f, "dma enable: 0x%x 0x%x 0x%x 0x%x\n", |
|---|
| 372 | 372 | dev->stream[0].dma_en, dev->stream[1].dma_en, |
|---|
| 373 | 373 | dev->stream[2].dma_en, dev->stream[3].dma_en); |
|---|
| 374 | + seq_printf(f, "buf_cnt in drv: %d %d %d %d\n", |
|---|
| 375 | + atomic_read(&dev->stream[0].buf_cnt), |
|---|
| 376 | + atomic_read(&dev->stream[1].buf_cnt), |
|---|
| 377 | + atomic_read(&dev->stream[2].buf_cnt), |
|---|
| 378 | + atomic_read(&dev->stream[3].buf_cnt)); |
|---|
| 379 | + seq_printf(f, "total buf_cnt: %d %d %d %d\n", |
|---|
| 380 | + dev->stream[0].total_buf_num, |
|---|
| 381 | + dev->stream[1].total_buf_num, |
|---|
| 382 | + dev->stream[2].total_buf_num, |
|---|
| 383 | + dev->stream[3].total_buf_num); |
|---|
| 374 | 384 | } |
|---|
| 375 | 385 | } |
|---|
| 376 | 386 | |
|---|