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.c680 srate = uac2_opts->c_srate; in set_ep_max_packet_size()
928 } else if (!opts->c_srate) { in afunc_validate_opts()
1051 snprintf(clksrc_out, sizeof(clksrc_out), "%uHz", uac2_opts->c_srate); in afunc_bind()
1234 agdev->params.c_srate = uac2_opts->c_srate; in afunc_bind()
1437 int p_srate, c_srate; in in_rq_cur() local
1440 c_srate = opts->c_srate; in in_rq_cur()
1451 c.dCUR = cpu_to_le32(c_srate); in in_rq_cur()
1514 int p_srate, c_srate; in in_rq_range() local
1517 c_srate = opts->c_srate; in in_rq_range()
1526 r.dMIN = cpu_to_le32(c_srate); in in_rq_range()
[all …]
Du_uac1.h33 int c_srate; member
Du_uac2.h42 int c_srate; member
Du_audio.c278 params->c_srate, prm->pitch, in u_audio_iso_fback_complete()
363 int p_srate, c_srate; in uac_pcm_open() local
371 c_srate = params->c_srate; in uac_pcm_open()
385 runtime->hw.rate_min = c_srate; in uac_pcm_open()
537 params->c_srate, prm->pitch, in u_audio_start_capture()
Du_audio.h43 int c_srate; /* rate in Hz */ member
Df_uac1.c1080 } else if (!opts->c_srate) { in f_audio_validate_opts()
1216 rate = audio_opts->c_srate; in f_audio_bind()
1300 audio->params.c_srate = audio_opts->c_srate; in f_audio_bind()
1417 UAC1_ATTRIBUTE(u32, c_srate);
1489 opts->c_srate = UAC1_DEF_CSRATE; in f_audio_alloc_inst()