Searched refs:p_ssize (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | audio.c | 35 static int p_ssize = UAC2_DEF_PSSIZE; variable 36 module_param(p_ssize, uint, 0444); 37 MODULE_PARM_DESC(p_ssize, "Playback Sample Size(bytes)"); 83 static int p_ssize = UAC1_DEF_PSSIZE; variable 84 module_param(p_ssize, uint, 0444); 85 MODULE_PARM_DESC(p_ssize, "Playback Sample Size(bytes)"); 289 uac2_opts->p_ssize = p_ssize; in audio_bind() 307 uac1_opts->p_ssize = p_ssize; in audio_bind()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_uac1.h | 38 int p_ssize; member
|
H A D | u_uac2.h | 42 int p_ssize; member
|
H A D | u_audio.h | 45 int p_ssize; /* sample size */ member
|
H A D | f_uac1.c | 1135 } else if ((opts->p_ssize < 1) || (opts->p_ssize > 4)) { in f_audio_validate_opts() 1256 as_in_type_i_desc.bSubframeSize = audio_opts->p_ssize; in f_audio_bind() 1257 as_in_type_i_desc.bBitResolution = audio_opts->p_ssize * 8; in f_audio_bind() 1393 audio->params.p_ssize = audio_opts->p_ssize; in f_audio_bind() 1597 UAC1_ATTRIBUTE(u32, p_ssize); 1672 opts->p_ssize = UAC1_DEF_PSSIZE; in f_audio_alloc_inst()
|
H A D | f_uac2.c | 693 ssize = uac2_opts->p_ssize; in get_max_bw_for_bint() 996 else if ((opts->p_ssize < 1) || (opts->p_ssize > 4)) in afunc_validate_opts() 1103 as_in_fmt1_desc.bSubslotSize = uac2_opts->p_ssize; in afunc_bind() 1104 as_in_fmt1_desc.bBitResolution = uac2_opts->p_ssize * 8; in afunc_bind() 1304 agdev->params.p_ssize = uac2_opts->p_ssize; in afunc_bind() 2079 UAC2_ATTRIBUTE(u32, p_ssize); 2162 opts->p_ssize = UAC2_DEF_PSSIZE; in afunc_alloc_inst()
|
H A D | u_audio.c | 392 int p_ssize, c_ssize; in uac_pcm_open() local 397 p_ssize = params->p_ssize; in uac_pcm_open() 406 runtime->hw.formats = uac_ssize_to_fmt(p_ssize); in uac_pcm_open() 733 uac->p_framesize = params->p_ssize * in u_audio_start_playback()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget-uac1 | 21 p_ssize playback sample size (bytes)
|
H A D | configfs-usb-gadget-uac2 | 25 p_ssize playback sample size (bytes)
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/ |
H A D | 0001-fix-stack-buffer-overflow-in-usbg_f_foo_attr_val-pro.patch | 466 @@ -314,8 +311,8 @@ static inline int usbg_f_uac2_get_p_ssize(usbg_f_uac2 *af, int *p_ssize) 468 static inline int usbg_f_uac2_set_p_ssize(usbg_f_uac2 *af, int p_ssize) 471 - USBG_F_UAC2_INT_TO_ATTR_VAL(p_ssize)); 472 + union usbg_f_uac2_attr_val val = {.p_ssize = p_ssize};
|
/openbmc/linux/Documentation/usb/ |
H A D | gadget-testing.rst | 748 p_ssize playback sample size (bytes) 939 p_ssize playback sample size (bytes)
|