Home
last modified time | relevance | path

Searched refs:volume_res (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Du_audio.h38 s16 volume_res; /* volume resolution in 1/256 dB */ member
H A Du_audio.c62 s16 volume_min, volume_max, volume_res; member
1030 (prm->volume_max - prm->volume_min + prm->volume_res - 1) in u_audio_volume_info()
1031 / prm->volume_res; in u_audio_volume_info()
1045 (prm->volume - prm->volume_min) / prm->volume_res; in u_audio_volume_get()
1065 volume = (val * prm->volume_res) + prm->volume_min; in u_audio_volume_put()
1391 prm->volume_res = fu->volume_res; in g_audio_setup()
H A Df_uac1.c1388 audio->params.p_fu.volume_res = audio_opts->p_volume_res; in f_audio_bind()
1401 audio->params.c_fu.volume_res = audio_opts->c_volume_res; in f_audio_bind()
H A Df_uac2.c1311 agdev->params.p_fu.volume_res = uac2_opts->p_volume_res; in afunc_bind()
1323 agdev->params.c_fu.volume_res = uac2_opts->c_volume_res; in afunc_bind()