Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/gadget/legacy/
A Daudio.c29 static int p_srates[UAC_MAX_RATES] = {UAC2_DEF_PSRATE}; variable
31 module_param_array_named(p_srate, p_srates, uint, &p_srates_cnt, 0444);
77 static int p_srates[UAC_MAX_RATES] = {UAC1_DEF_PSRATE}; variable
79 module_param_array_named(p_srate, p_srates, uint, &p_srates_cnt, 0444);
287 uac2_opts->p_srates[i] = p_srates[i]; in audio_bind()
305 uac1_opts->p_srates[i] = p_srates[i]; in audio_bind()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Du_uac1.h37 int p_srates[UAC_MAX_RATES]; member
A Du_uac2.h41 int p_srates[UAC_MAX_RATES]; member
A Du_audio.h44 int p_srates[UAC_MAX_RATES]; /* available rates in Hz (0 terminated list) */ member
A Df_uac1.c1141 } else if (!opts->p_srates[0]) { in f_audio_validate_opts()
1291 if (audio_opts->p_srates[i] == 0) in f_audio_bind()
1294 &audio_opts->p_srates[i], 3); in f_audio_bind()
1298 uac1->p_srate = audio_opts->p_srates[0]; in f_audio_bind()
1391 memcpy(audio->params.p_srates, audio_opts->p_srates, in f_audio_bind()
1392 sizeof(audio->params.p_srates)); in f_audio_bind()
1671 opts->p_srates[0] = UAC1_DEF_PSRATE; in f_audio_alloc_inst()
A Df_uac2.c692 srate = get_max_srate(uac2_opts->p_srates); in get_max_bw_for_bint()
1000 else if (!opts->p_srates[0]) in afunc_validate_opts()
1301 memcpy(agdev->params.p_srates, uac2_opts->p_srates, in afunc_bind()
1302 sizeof(agdev->params.p_srates)); in afunc_bind()
1612 srates = opts->p_srates; in in_rq_range()
2157 opts->p_srates[0] = UAC2_DEF_PSRATE; in afunc_alloc_inst()
A Du_audio.c559 if (params->p_srates[i] == srate) { in u_audio_set_playback_srate()
565 if (params->p_srates[i] == 0) in u_audio_set_playback_srate()
1095 srates = params->p_srates; in u_audio_rate_info()
1210 prm->srate = params->p_srates[0]; in g_audio_setup()

Completed in 15 milliseconds