Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/gadget/legacy/
A Daudio.c51 static int c_srates[UAC_MAX_RATES] = {UAC2_DEF_CSRATE}; variable
53 module_param_array_named(c_srate, c_srates, uint, &c_srates_cnt, 0444);
93 static int c_srates[UAC_MAX_RATES] = {UAC1_DEF_CSRATE}; variable
95 module_param_array_named(c_srate, c_srates, uint, &c_srates_cnt, 0444);
294 uac2_opts->c_srates[i] = c_srates[i]; in audio_bind()
311 uac1_opts->c_srates[i] = c_srates[i]; in audio_bind()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Du_uac1.h34 int c_srates[UAC_MAX_RATES]; member
A Du_uac2.h45 int c_srates[UAC_MAX_RATES]; member
A Du_audio.h50 int c_srates[UAC_MAX_RATES]; /* available rates in Hz (0 terminated list) */ member
A Df_uac1.c1144 } else if (!opts->c_srates[0]) { in f_audio_validate_opts()
1282 if (audio_opts->c_srates[i] == 0) in f_audio_bind()
1285 &audio_opts->c_srates[i], 3); in f_audio_bind()
1299 uac1->c_srate = audio_opts->c_srates[0]; in f_audio_bind()
1378 memcpy(audio->params.c_srates, audio_opts->c_srates, in f_audio_bind()
1379 sizeof(audio->params.c_srates)); in f_audio_bind()
1668 opts->c_srates[0] = UAC1_DEF_CSRATE; in f_audio_alloc_inst()
A Df_uac2.c696 srate = get_max_srate(uac2_opts->c_srates); in get_max_bw_for_bint()
1002 else if (!opts->c_srates[0]) in afunc_validate_opts()
1313 memcpy(agdev->params.c_srates, uac2_opts->c_srates, in afunc_bind()
1314 sizeof(agdev->params.c_srates)); in afunc_bind()
1614 srates = opts->c_srates; in in_rq_range()
2161 opts->c_srates[0] = UAC2_DEF_CSRATE; in afunc_alloc_inst()
A Du_audio.c520 if (params->c_srates[i] == srate) { in u_audio_set_capture_srate()
526 if (params->c_srates[i] == 0) in u_audio_set_capture_srate()
1093 srates = params->c_srates; in u_audio_rate_info()
1185 prm->srate = params->c_srates[0]; in g_audio_setup()

Completed in 17 milliseconds