Searched refs:p_chmask (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/usb/gadget/legacy/ |
D | audio.c | 24 static int p_chmask = UAC2_DEF_PCHMASK; variable 25 module_param(p_chmask, uint, 0444); 26 MODULE_PARM_DESC(p_chmask, "Playback Channel Mask"); 72 static int p_chmask = UAC1_DEF_PCHMASK; variable 73 module_param(p_chmask, uint, 0444); 74 MODULE_PARM_DESC(p_chmask, "Playback Channel Mask"); 284 uac2_opts->p_chmask = p_chmask; in audio_bind() 302 uac1_opts->p_chmask = p_chmask; in audio_bind()
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | u_audio.c | 393 int p_chmask, c_chmask; in uac_pcm_open() local 399 p_chmask = params->p_chmask; in uac_pcm_open() 407 runtime->hw.channels_min = num_channels(p_chmask); in uac_pcm_open() 734 num_channels(params->p_chmask); in u_audio_start_playback() 1188 int p_chmask, c_chmask; in g_audio_setup() local 1201 p_chmask = params->p_chmask; in g_audio_setup() 1229 if (p_chmask) { in g_audio_setup() 1267 p_chmask ? 1 : 0, c_chmask ? 1 : 0, &pcm); in g_audio_setup() 1283 || (p_chmask && params->p_fu.id) in g_audio_setup() 1303 if (p_chmask) { in g_audio_setup()
|
D | u_uac1.h | 36 int p_chmask; member
|
D | f_uac2.c | 53 #define EPIN_EN(_opts) ((_opts)->p_chmask != 0) 678 chmask = uac2_opts->p_chmask; in get_max_bw_for_bint() 980 if (!opts->p_chmask && !opts->c_chmask) in afunc_validate_opts() 982 else if (opts->p_chmask & ~UAC2_CHANNEL_MASK) in afunc_validate_opts() 1067 in_feature_unit_desc = build_fu_desc(uac2_opts->p_chmask); in afunc_bind() 1104 io_in_it_desc.bNrChannels = num_channels(uac2_opts->p_chmask); in afunc_bind() 1105 io_in_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->p_chmask); in afunc_bind() 1108 as_in_hdr_desc.bNrChannels = num_channels(uac2_opts->p_chmask); in afunc_bind() 1109 as_in_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->p_chmask); in afunc_bind() 1309 agdev->params.p_chmask = uac2_opts->p_chmask; in afunc_bind() [all …]
|
D | u_uac2.h | 45 int p_chmask; member
|
D | f_uac1.c | 29 #define EPIN_EN(_opts) ((_opts)->p_chmask != 0) 1183 if (!opts->p_chmask && !opts->c_chmask) { in f_audio_validate_opts() 1186 } else if (opts->p_chmask & ~UAC1_CHANNEL_MASK) { in f_audio_validate_opts() 1284 in_feature_unit_desc = build_fu_desc(audio_opts->p_chmask); in f_audio_bind() 1324 io_in_it_desc.bNrChannels = num_channels(audio_opts->p_chmask); in f_audio_bind() 1325 io_in_it_desc.wChannelConfig = cpu_to_le16(audio_opts->p_chmask); in f_audio_bind() 1326 as_in_type_i_desc.bNrChannels = num_channels(audio_opts->p_chmask); in f_audio_bind() 1463 audio->params.p_chmask = audio_opts->p_chmask; in f_audio_bind() 1668 UAC1_ATTRIBUTE(u32, p_chmask); 1764 opts->p_chmask = UAC1_DEF_PCHMASK; in f_audio_alloc_inst()
|
D | u_audio.h | 43 int p_chmask; /* channel mask */ member
|
/linux-6.12.1/sound/usb/ |
D | mixer.c | 2988 int p_chmask; /* playback channels mask */ member 3002 .p_chmask = -1, /* dynamic channels */ 3008 .p_chmask = 3, 3014 .p_chmask = -1, /* dynamic channels */ 3031 .p_chmask = -1, /* dynamic channels */ 3039 .p_chmask = 3, 3047 .p_chmask = 1, 3054 int c_chmask, int p_chmask) in uac3_badd_func_has_valid_channels() argument 3060 if (f->c_chmask < 0 && f->p_chmask < 0) { in uac3_badd_func_has_valid_channels() 3061 if (!c_chmask && !p_chmask) { in uac3_badd_func_has_valid_channels() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uac1 | 19 p_chmask playback channel mask
|
D | configfs-usb-gadget-uac2 | 23 p_chmask playback channel mask
|
/linux-6.12.1/Documentation/usb/ |
D | gadget-testing.rst | 756 p_chmask playback channel mask 960 p_chmask playback channel mask
|