Home
last modified time | relevance | path

Searched refs:u (Results 1 – 11 of 11) sorted by relevance

/sound/usb/usx2y/
Dusb_stream.c68 int u, p; in init_pipe_urbs() local
73 for (u = 0; u < USB_STREAM_NURBS; in init_pipe_urbs()
74 ++u, transfer += transfer_length) { in init_pipe_urbs()
75 struct urb *urb = urbs[u]; in init_pipe_urbs()
105 int u; in init_urbs() local
107 for (u = 0; u < USB_STREAM_NURBS; ++u) { in init_urbs()
108 sk->inurb[u] = usb_alloc_urb(sk->n_o_ps, GFP_KERNEL); in init_urbs()
109 sk->outurb[u] = usb_alloc_urb(sk->n_o_ps, GFP_KERNEL); in init_urbs()
139 unsigned u; in usb_stream_free() local
141 for (u = 0; u < USB_STREAM_NURBS; ++u) { in usb_stream_free()
[all …]
Dusbusx2yaudio.c261 int s, u; in usX2Y_clients_stop() local
276 for (u = 0; u < NRURBS; u++) { in usX2Y_clients_stop()
277 struct urb *urb = subs->urb[u]; in usX2Y_clients_stop()
280 u, urb->status, urb->start_frame); in usX2Y_clients_stop()
350 int s, u; in usX2Y_urbs_set_complete() local
354 for (u = 0; u < NRURBS; u++) { in usX2Y_urbs_set_complete()
355 struct urb * urb = subs->urb[u]; in usX2Y_urbs_set_complete()
Dusx2yhwdeppcm.c409 int p, u, err, in usX2Y_usbpcm_urbs_start() local
435 for (u = 0; u < NRURBS; u++) { in usX2Y_usbpcm_urbs_start()
439 struct urb *urb = subs->urb[u]; in usX2Y_usbpcm_urbs_start()
442 if (0 == u) in usX2Y_usbpcm_urbs_start()
447 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usX2Y_usbpcm_urbs_start()
452 snd_printk (KERN_ERR "cannot usb_submit_urb() for urb %d, err = %d\n", u, err); in usX2Y_usbpcm_urbs_start()
457 if (u == 0) in usX2Y_usbpcm_urbs_start()
/sound/pci/korg1212/
Dkorg1212.c1719 struct snd_ctl_elem_value *u) in snd_korg1212_control_phase_get() argument
1726 u->value.integer.value[0] = korg1212->volumePhase[i]; in snd_korg1212_control_phase_get()
1729 u->value.integer.value[1] = korg1212->volumePhase[i+1]; in snd_korg1212_control_phase_get()
1737 struct snd_ctl_elem_value *u) in snd_korg1212_control_phase_put() argument
1747 korg1212->volumePhase[i] = !!u->value.integer.value[0]; in snd_korg1212_control_phase_put()
1751 if ((u->value.integer.value[0] != 0) != (val < 0)) { in snd_korg1212_control_phase_put()
1758 korg1212->volumePhase[i+1] = !!u->value.integer.value[1]; in snd_korg1212_control_phase_put()
1762 if ((u->value.integer.value[1] != 0) != (val < 0)) { in snd_korg1212_control_phase_put()
1785 struct snd_ctl_elem_value *u) in snd_korg1212_control_volume_get() argument
1793 u->value.integer.value[0] = abs(korg1212->sharedBufferPtr->volumeData[i]); in snd_korg1212_control_volume_get()
[all …]
/sound/usb/
Dusbaudio.c142 int (*prepare)(struct snd_usb_substream *subs, struct snd_pcm_runtime *runtime, struct urb *u);
143 int (*retire)(struct snd_usb_substream *subs, struct snd_pcm_runtime *runtime, struct urb *u);
144 …int (*prepare_sync)(struct snd_usb_substream *subs, struct snd_pcm_runtime *runtime, struct urb *u
145 int (*retire_sync)(struct snd_usb_substream *subs, struct snd_pcm_runtime *runtime, struct urb *u);
785 struct urb *u = subs->dataurb[i].urb; in deactivate_urbs() local
787 usb_unlink_urb(u); in deactivate_urbs()
789 usb_kill_urb(u); in deactivate_urbs()
797 struct urb *u = subs->syncurb[i].urb; in deactivate_urbs() local
799 usb_unlink_urb(u); in deactivate_urbs()
801 usb_kill_urb(u); in deactivate_urbs()
[all …]
/sound/aoa/core/
Dgpio-pmf.c16 struct pmf_args args = { .count = 1, .u[0].v = !on }; \
39 struct pmf_args args = { .count = 1, .u[0].v = !!on }; in pmf_gpio_set_hw_reset()
213 struct pmf_args args = { .count = 1, .u[0].p = &ret }; in pmf_get_detect()
/sound/pci/
Dens1370.c412 } u; member
941 if (!(ensoniq->u.es1370.pclkdiv_lock & ES_MODE_CAPTURE)) { in snd_ensoniq_playback2_prepare()
944 ensoniq->u.es1370.pclkdiv_lock |= ES_MODE_PLAY2; in snd_ensoniq_playback2_prepare()
979 if (!(ensoniq->u.es1370.pclkdiv_lock & ES_MODE_PLAY2)) { in snd_ensoniq_capture_prepare()
982 ensoniq->u.es1370.pclkdiv_lock |= ES_MODE_CAPTURE; in snd_ensoniq_capture_prepare()
1191 ensoniq->u.es1370.pclkdiv_lock &= ~ES_MODE_PLAY2; in snd_ensoniq_playback2_close()
1205 ensoniq->u.es1370.pclkdiv_lock &= ~ES_MODE_CAPTURE; in snd_ensoniq_capture_close()
1576 ensoniq->u.es1371.ac97 = NULL; in snd_ensoniq_mixer_free_ac97()
1634 if ((err = snd_ac97_mixer(pbus, &ac97, &ensoniq->u.es1371.ac97)) < 0) in snd_ensoniq_1371_mixer()
1645 if (ensoniq->u.es1371.ac97->ext_id & AC97_EI_SPDIF) in snd_ensoniq_1371_mixer()
[all …]
Des1938.c639 int u, is8, mono; in snd_es1938_capture_prepare() local
648 u = snd_pcm_format_unsigned(runtime->format); in snd_es1938_capture_prepare()
665 snd_es1938_write(chip, ESS_CMD_SETFORMAT2, u ? 0x51 : 0x71); in snd_es1938_capture_prepare()
667 (u ? 0x00 : 0x20) | in snd_es1938_capture_prepare()
687 int u, is8, mono; in snd_es1938_playback1_prepare() local
696 u = snd_pcm_format_unsigned(runtime->format); in snd_es1938_playback1_prepare()
711 snd_es1938_mixer_write(chip, ESSSB_IREG_AUDIO2CONTROL2, 0x40 | (u ? 0 : 4) | in snd_es1938_playback1_prepare()
724 int u, is8, mono; in snd_es1938_playback2_prepare() local
733 u = snd_pcm_format_unsigned(runtime->format); in snd_es1938_playback2_prepare()
750 snd_es1938_write(chip, ESS_CMD_SETFORMAT, u ? 0x80 : 0x00); in snd_es1938_playback2_prepare()
[all …]
Drme96.c2181 snd_rme96_dac_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) in snd_rme96_dac_volume_get() argument
2186 u->value.integer.value[0] = rme96->vol[0]; in snd_rme96_dac_volume_get()
2187 u->value.integer.value[1] = rme96->vol[1]; in snd_rme96_dac_volume_get()
2194 snd_rme96_dac_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) in snd_rme96_dac_volume_put() argument
2205 vol = u->value.integer.value[0]; in snd_rme96_dac_volume_put()
2210 vol = u->value.integer.value[1]; in snd_rme96_dac_volume_put()
/sound/core/seq/
Dseq_clientmgr.c1755 timer.u.alsa.id = tmr->alsa_id; in snd_seq_ioctl_get_queue_timer()
1756 timer.u.alsa.resolution = tmr->preferred_resolution; in snd_seq_ioctl_get_queue_timer()
1795 tmr->alsa_id = timer.u.alsa.id; in snd_seq_ioctl_set_queue_timer()
1796 tmr->preferred_resolution = timer.u.alsa.resolution; in snd_seq_ioctl_set_queue_timer()
/sound/oss/
DCHANGELOG269 - Hardware u-Law and A-Law support with AD1848/CS4248 and CS4231 codecs