Home
last modified time | relevance | path

Searched refs:p_srate (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
Daudio.c29 static int p_srate = UAC2_DEF_PSRATE; variable
30 module_param(p_srate, uint, S_IRUGO);
31 MODULE_PARM_DESC(p_srate, "Playback Sampling Rate");
62 static int p_srate = UAC1_DEF_PSRATE; variable
63 module_param(p_srate, uint, S_IRUGO);
64 MODULE_PARM_DESC(p_srate, "Playback Sampling Rate");
266 uac2_opts->p_srate = p_srate; in audio_bind()
276 uac1_opts->p_srate = p_srate; in audio_bind()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_uac2.c475 srate = uac2_opts->p_srate; in set_ep_max_packet_size()
629 } else if (!opts->p_srate) { in afunc_validate_opts()
687 snprintf(clksrc_in, sizeof(clksrc_in), "%uHz", uac2_opts->p_srate); in afunc_bind()
790 agdev->params.p_srate = uac2_opts->p_srate; in afunc_bind()
896 int p_srate, c_srate; in in_rq_cur() local
899 p_srate = opts->p_srate; in in_rq_cur()
907 c.dCUR = cpu_to_le32(p_srate); in in_rq_cur()
938 int p_srate, c_srate; in in_rq_range() local
941 p_srate = opts->p_srate; in in_rq_range()
946 r.dMIN = cpu_to_le32(p_srate); in in_rq_range()
[all …]
Du_audio.c254 int p_srate, c_srate; in uac_pcm_open() local
261 p_srate = params->p_srate; in uac_pcm_open()
271 runtime->hw.rate_min = p_srate; in uac_pcm_open()
442 (params->p_srate / uac->p_interval), in u_audio_start_playback()
447 (params->p_srate % uac->p_interval); in u_audio_start_playback()
Du_uac2.h29 int p_srate; member
Du_uac1.h29 int p_srate; member
Df_uac1.c535 } else if (!opts->p_srate) { in f_audio_validate_opts()
598 rate = audio_opts->p_srate; in f_audio_bind()
657 audio->params.p_srate = audio_opts->p_srate; in f_audio_bind()
739 UAC1_ATTRIBUTE(p_srate);
786 opts->p_srate = UAC1_DEF_PSRATE; in f_audio_alloc_inst()
Du_audio.h17 int p_srate; /* rate in Hz */ member
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uac212 p_srate playback sampling rate
Dconfigfs-usb-gadget-uac112 p_srate playback sampling rate
/kernel/linux/linux-5.10/Documentation/usb/
Dgadget-testing.rst732 p_srate playback sampling rate
910 p_srate playback sampling rate