Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 6 of 6) sorted by relevance

/sound/usb/
Dendpoint.c205 unsigned int offs = 0; in prepare_outbound_urb() local
214 urb->iso_frame_desc[i].offset = offs * ep->stride; in prepare_outbound_urb()
216 offs += counts; in prepare_outbound_urb()
220 urb->transfer_buffer_length = offs * ep->stride; in prepare_outbound_urb()
222 offs * ep->stride); in prepare_outbound_urb()
260 int i, offs; in prepare_inbound_urb() local
267 offs = 0; in prepare_inbound_urb()
269 urb->iso_frame_desc[i].offset = offs; in prepare_inbound_urb()
271 offs += ep->curpacksize; in prepare_inbound_urb()
274 urb->transfer_buffer_length = offs; in prepare_inbound_urb()
/sound/drivers/opl3/
Dopl3_oss.c27 …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/
Dechoaudio.c533 int err, per, rest, page, edge, offs; in init_engine() local
576 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params); in init_engine()
579 if (offs + rest > params_buffer_bytes(hw_params)) in init_engine()
580 rest = params_buffer_bytes(hw_params) - offs; in init_engine()
583 addr = snd_pcm_sgbuf_get_addr(substream, offs); in init_engine()
584 if (rest <= edge - offs) { in init_engine()
587 offs += rest; in init_engine()
591 edge - offs); in init_engine()
592 rest -= edge - offs; in init_engine()
593 offs = edge; in init_engine()
[all …]
/sound/oss/
Ddmabuf.c789 long len, offs; in find_output_space() local
807 offs = (dmap->user_counter % dmap->bytes_in_use) & ~SAMPLE_ROUNDUP; in find_output_space()
808 if (offs < 0 || offs >= dmap->bytes_in_use) { in find_output_space()
809 printk(KERN_ERR "Sound: Got unexpected offs %ld. Giving up.\n", offs); in find_output_space()
813 *buf = dmap->raw_buf + offs; in find_output_space()
817 if ((offs + len) > dmap->bytes_in_use) in find_output_space()
818 len = dmap->bytes_in_use - offs; in find_output_space()
Daudio.c150 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/
Demux_oss.c39 const char __user *buf, int offs, int count);
214 const char __user *buf, int offs, int count) in snd_emux_load_patch_seq_oss() argument