Home
last modified time | relevance | path

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

/drivers/usb/gadget/legacy/
Daudio.c44 static int c_srate = UAC2_DEF_CSRATE; variable
45 module_param(c_srate, uint, S_IRUGO);
46 MODULE_PARM_DESC(c_srate, "Capture Sampling Rate");
77 static int c_srate = UAC1_DEF_CSRATE; variable
78 module_param(c_srate, uint, S_IRUGO);
79 MODULE_PARM_DESC(c_srate, "Capture Sampling Rate");
269 uac2_opts->c_srate = c_srate; in audio_bind()
279 uac1_opts->c_srate = c_srate; in audio_bind()
/drivers/usb/gadget/function/
Df_uac2.c463 srate = uac2_opts->c_srate; in set_ep_max_packet_size()
638 snprintf(clksrc_out, sizeof(clksrc_out), "%uHz", uac2_opts->c_srate); in afunc_bind()
720 agdev->params.c_srate = uac2_opts->c_srate; in afunc_bind()
823 int p_srate, c_srate; in in_rq_cur() local
827 c_srate = opts->c_srate; in in_rq_cur()
836 c.dCUR = cpu_to_le32(c_srate); in in_rq_cur()
865 int p_srate, c_srate; in in_rq_range() local
869 c_srate = opts->c_srate; in in_rq_range()
875 r.dMIN = cpu_to_le32(c_srate); in in_rq_range()
1035 UAC2_ATTRIBUTE(c_srate);
[all …]
Df_uac1.c551 rate = audio_opts->c_srate; in f_audio_bind()
610 audio->params.c_srate = audio_opts->c_srate; in f_audio_bind()
692 UAC1_ATTRIBUTE(c_srate);
739 opts->c_srate = UAC1_DEF_CSRATE; in f_audio_alloc_inst()
Du_uac2.h32 int c_srate; member
Du_uac1.h26 int c_srate; member
Du_audio.c261 int p_srate, c_srate; in uac_pcm_open() local
269 c_srate = params->c_srate; in uac_pcm_open()
295 runtime->hw.rate_min = c_srate; in uac_pcm_open()
Du_audio.h22 int c_srate; /* rate in Hz */ member