Home
last modified time | relevance | path

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

/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()
/drivers/usb/gadget/function/
Df_uac2.c459 srate = uac2_opts->p_srate; in set_ep_max_packet_size()
637 snprintf(clksrc_in, sizeof(clksrc_in), "%uHz", uac2_opts->p_srate); in afunc_bind()
717 agdev->params.p_srate = uac2_opts->p_srate; in afunc_bind()
823 int p_srate, c_srate; in in_rq_cur() local
826 p_srate = opts->p_srate; in in_rq_cur()
834 c.dCUR = cpu_to_le32(p_srate); in in_rq_cur()
865 int p_srate, c_srate; in in_rq_range() local
868 p_srate = opts->p_srate; in in_rq_range()
873 r.dMIN = cpu_to_le32(p_srate); in in_rq_range()
1032 UAC2_ATTRIBUTE(p_srate);
[all …]
Du_audio.c261 int p_srate, c_srate; in uac_pcm_open() local
268 p_srate = params->p_srate; in uac_pcm_open()
278 runtime->hw.rate_min = p_srate; in uac_pcm_open()
444 rate = params->p_srate * uac->p_framesize; in u_audio_start_playback()
Df_uac1.c554 rate = audio_opts->p_srate; in f_audio_bind()
613 audio->params.p_srate = audio_opts->p_srate; in f_audio_bind()
695 UAC1_ATTRIBUTE(p_srate);
742 opts->p_srate = UAC1_DEF_PSRATE; in f_audio_alloc_inst()
Du_uac2.h29 int p_srate; member
Du_uac1.h29 int p_srate; member
Du_audio.h17 int p_srate; /* rate in Hz */ member