Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/gadget/legacy/
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.12.1/drivers/usb/gadget/function/
Du_uac1.h34 int c_srates[UAC_MAX_RATES]; member
Du_uac2.h50 int c_srates[UAC_MAX_RATES]; member
Du_audio.h50 int c_srates[UAC_MAX_RATES]; /* available rates in Hz (0 terminated list) */ member
Df_uac1.c1201 } else if (!opts->c_srates[0]) { in f_audio_validate_opts()
1353 if (audio_opts->c_srates[i] == 0) in f_audio_bind()
1356 &audio_opts->c_srates[i], 3); in f_audio_bind()
1370 uac1->c_srate = audio_opts->c_srates[0]; in f_audio_bind()
1451 memcpy(audio->params.c_srates, audio_opts->c_srates, in f_audio_bind()
1452 sizeof(audio->params.c_srates)); in f_audio_bind()
1762 opts->c_srates[0] = UAC1_DEF_CSRATE; in f_audio_alloc_inst()
Df_uac2.c683 srate = get_max_srate(uac2_opts->c_srates); in get_max_bw_for_bint()
992 else if (!opts->c_srates[0]) in afunc_validate_opts()
1322 memcpy(agdev->params.c_srates, uac2_opts->c_srates, in afunc_bind()
1323 sizeof(agdev->params.c_srates)); in afunc_bind()
1623 srates = opts->c_srates; in in_rq_range()
2206 opts->c_srates[0] = UAC2_DEF_CSRATE; in afunc_alloc_inst()
Du_audio.c519 if (params->c_srates[i] == srate) { in u_audio_set_capture_srate()
525 if (params->c_srates[i] == 0) in u_audio_set_capture_srate()
1118 srates = params->c_srates; in u_audio_rate_info()
1210 prm->srate = params->c_srates[0]; in g_audio_setup()