Searched refs:offs (Results 1 – 6 of 6) sorted by relevance
/sound/usb/ |
D | endpoint.c | 190 unsigned int offs = 0; in prepare_silent_urb() local 210 offset = offs * ep->stride + extra * i; in prepare_silent_urb() 220 offs += counts; in prepare_silent_urb() 224 urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra; in prepare_silent_urb() 282 int i, offs; in prepare_inbound_urb() local 289 offs = 0; in prepare_inbound_urb() 291 urb->iso_frame_desc[i].offset = offs; in prepare_inbound_urb() 293 offs += ep->curpacksize; in prepare_inbound_urb() 296 urb->transfer_buffer_length = offs; in prepare_inbound_urb()
|
/sound/drivers/opl3/ |
D | opl3_oss.c | 27 …atch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *buf, int offs, int count); 204 const char __user *buf, int offs, int count) in snd_opl3_load_patch_seq_oss() argument
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 531 int err, per, rest, page, edge, offs; in init_engine() local 575 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params); in init_engine() 578 if (offs + rest > params_buffer_bytes(hw_params)) in init_engine() 579 rest = params_buffer_bytes(hw_params) - offs; in init_engine() 582 addr = snd_pcm_sgbuf_get_addr(substream, offs); in init_engine() 583 if (rest <= edge - offs) { in init_engine() 586 offs += rest; in init_engine() 590 edge - offs); in init_engine() 591 rest -= edge - offs; in init_engine() 592 offs = edge; in init_engine() [all …]
|
/sound/oss/ |
D | dmabuf.c | 786 long len, offs; in find_output_space() local 804 offs = (dmap->user_counter % dmap->bytes_in_use) & ~SAMPLE_ROUNDUP; in find_output_space() 805 if (offs < 0 || offs >= dmap->bytes_in_use) { in find_output_space() 806 printk(KERN_ERR "Sound: Got unexpected offs %ld. Giving up.\n", offs); in find_output_space() 810 *buf = dmap->raw_buf + offs; in find_output_space() 814 if ((offs + len) > dmap->bytes_in_use) in find_output_space() 815 len = dmap->bytes_in_use - offs; in find_output_space()
|
D | audio.c | 150 unsigned long offs = dmap->user_counter % dmap->bytes_in_use; in sync_output() local 153 memset(dmap->raw_buf + offs, dmap->neutral_byte, len); in sync_output()
|
/sound/synth/emux/ |
D | emux_oss.c | 39 const char __user *buf, int offs, int count); 206 const char __user *buf, int offs, int count) in snd_emux_load_patch_seq_oss() argument
|