Searched refs:counts (Results 1 – 11 of 11) sorted by relevance
/sound/oss/ |
D | dmabuf.c | 418 if (dmap->counts[dmap->qhead] == 0) in DMAbuf_launch_output() 419 dmap->counts[dmap->qhead] = dmap->fragment_size; in DMAbuf_launch_output() 422 dmap->counts[dmap->qhead], 1); in DMAbuf_launch_output() 606 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]]; in DMAbuf_getrdbuffer() 607 *len = dmap->fragment_size - dmap->counts[dmap->qhead]; in DMAbuf_getrdbuffer() 616 int p = dmap->counts[dmap->qhead] + c; in DMAbuf_rmchars() 626 dmap->counts[dmap->qhead] = 0; in DMAbuf_rmchars() 630 else dmap->counts[dmap->qhead] = p; in DMAbuf_rmchars() 893 dmap->counts[dmap->qtail] = dmap->fragment_size; in DMAbuf_move_wrpointer() 899 dmap->counts[dmap->qtail] = dmap->user_counter - ptr; in DMAbuf_move_wrpointer() [all …]
|
D | audio.c | 660 dmap->counts[i] = 0; in reorganize_buffers() 811 info.bytes -= dmap->counts[dmap->qhead]; in dma_ioctl() 862 dmap_out->counts[dmap_out->qhead] = dmap_out->fragment_size; in dma_ioctl()
|
D | dev_table.h | 119 int counts[MAX_SUB_BUFFERS]; member
|
/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 113 int count, counts, pack; in usX2Y_hwdep_urb_play_prepare() local 129 counts = shm->captured_iso[shm->playback_iso_head].length / usX2Y->stride; in usX2Y_hwdep_urb_play_prepare() 130 if (counts < 43 || counts > 50) { in usX2Y_hwdep_urb_play_prepare() 131 snd_printk(KERN_ERR "should not be here with counts=%i\n", counts); in usX2Y_hwdep_urb_play_prepare() 142 count += counts; in usX2Y_hwdep_urb_play_prepare()
|
D | usbusx2yaudio.c | 131 int count, counts, pack; in usX2Y_urb_play_prepare() local 138 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; in usX2Y_urb_play_prepare() 139 count += counts; in usX2Y_urb_play_prepare() 140 if (counts < 43 || counts > 50) { in usX2Y_urb_play_prepare() 141 snd_printk(KERN_ERR "should not be here with counts=%i\n", counts); in usX2Y_urb_play_prepare()
|
/sound/usb/ |
D | endpoint.c | 202 int counts; in prepare_silent_urb() local 205 counts = ctx->packet_size[i]; in prepare_silent_urb() 207 counts = snd_usb_endpoint_next_packet_size(ep); in prepare_silent_urb() 209 length = counts * ep->stride; /* number of silent bytes */ in prepare_silent_urb() 220 offs += counts; in prepare_silent_urb()
|
D | pcm.c | 1474 unsigned int counts, frames, bytes; in prepare_playback_urb() local 1486 counts = ctx->packet_size[i]; in prepare_playback_urb() 1488 counts = snd_usb_endpoint_next_packet_size(ep); in prepare_playback_urb() 1492 urb->iso_frame_desc[i].length = counts * ep->stride; in prepare_playback_urb() 1493 frames += counts; in prepare_playback_urb() 1495 subs->transfer_done += counts; in prepare_playback_urb() 1505 counts -= subs->transfer_done; in prepare_playback_urb() 1507 counts * ep->stride; in prepare_playback_urb()
|
/sound/pci/ice1712/ |
D | phase.c | 913 unsigned int i, counts; in phase28_add_controls() local 916 counts = ARRAY_SIZE(phase28_dac_controls); in phase28_add_controls() 917 for (i = 0; i < counts; i++) { in phase28_add_controls()
|
D | aureon.c | 1871 unsigned int i, counts; in aureon_add_controls() local 1874 counts = ARRAY_SIZE(aureon_dac_controls); in aureon_add_controls() 1876 counts -= 2; /* no side */ in aureon_add_controls() 1877 for (i = 0; i < counts; i++) { in aureon_add_controls()
|
/sound/drivers/ |
D | mtpav.c | 251 int counts = 10000; in snd_mtpav_wait_rfdhi() local 255 while (!(sbyte & SIGS_RFD) && counts--) { in snd_mtpav_wait_rfdhi()
|
/sound/pci/vx222/ |
D | vx222_ops.c | 337 static int put_xilinx_data(struct vx_core *chip, unsigned int port, unsigned int counts, unsigned c… in put_xilinx_data() argument 341 for (i = 0; i < counts; i++) { in put_xilinx_data()
|