Searched refs:c_chmask (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/usb/gadget/legacy/ |
D | audio.c | 46 static int c_chmask = UAC2_DEF_CCHMASK; variable 47 module_param(c_chmask, uint, 0444); 48 MODULE_PARM_DESC(c_chmask, "Capture Channel Mask"); 88 static int c_chmask = UAC1_DEF_CCHMASK; variable 89 module_param(c_chmask, uint, 0444); 90 MODULE_PARM_DESC(c_chmask, "Capture Channel Mask"); 291 uac2_opts->c_chmask = c_chmask; in audio_bind() 308 uac1_opts->c_chmask = c_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 400 c_chmask = params->c_chmask; in uac_pcm_open() 411 runtime->hw.channels_min = num_channels(c_chmask); in uac_pcm_open() 1188 int p_chmask, c_chmask; in g_audio_setup() local 1202 c_chmask = params->c_chmask; in g_audio_setup() 1204 if (c_chmask) { in g_audio_setup() 1267 p_chmask ? 1 : 0, c_chmask ? 1 : 0, &pcm); in g_audio_setup() 1282 if ((c_chmask && g_audio->in_ep_fback) in g_audio_setup() 1284 || (c_chmask && params->c_fu.id)) in g_audio_setup() 1287 if (c_chmask && g_audio->in_ep_fback) { in g_audio_setup()
|
D | u_uac1.h | 33 int c_chmask; member
|
D | f_uac2.c | 54 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0) 682 chmask = uac2_opts->c_chmask; in get_max_bw_for_bint() 980 if (!opts->p_chmask && !opts->c_chmask) in afunc_validate_opts() 984 else if (opts->c_chmask & ~UAC2_CHANNEL_MASK) in afunc_validate_opts() 1062 out_feature_unit_desc = build_fu_desc(uac2_opts->c_chmask); in afunc_bind() 1102 usb_out_it_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind() 1103 usb_out_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind() 1106 as_out_hdr_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind() 1107 as_out_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind() 1321 agdev->params.c_chmask = uac2_opts->c_chmask; in afunc_bind() [all …]
|
D | u_uac2.h | 49 int c_chmask; member
|
D | f_uac1.c | 30 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0) 1183 if (!opts->p_chmask && !opts->c_chmask) { in f_audio_validate_opts() 1189 } else if (opts->c_chmask & ~UAC1_CHANNEL_MASK) { in f_audio_validate_opts() 1277 out_feature_unit_desc = build_fu_desc(audio_opts->c_chmask); in f_audio_bind() 1319 usb_out_it_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind() 1320 usb_out_it_desc.wChannelConfig = cpu_to_le16(audio_opts->c_chmask); in f_audio_bind() 1321 as_out_type_i_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind() 1450 audio->params.c_chmask = audio_opts->c_chmask; in f_audio_bind() 1665 UAC1_ATTRIBUTE(u32, c_chmask); 1761 opts->c_chmask = UAC1_DEF_CCHMASK; in f_audio_alloc_inst()
|
D | u_audio.h | 49 int c_chmask; /* channel mask */ member
|
/linux-6.12.1/sound/usb/ |
D | mixer.c | 2987 int c_chmask; /* capture channels mask */ member 3001 .c_chmask = -1, /* dynamic channels */ 3020 .c_chmask = -1, /* dynamic channels */ 3030 .c_chmask = 1, 3038 .c_chmask = 1, 3046 .c_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() 3069 if ((f->c_chmask < 0 && !c_chmask) || in uac3_badd_func_has_valid_channels() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uac1 | 8 c_chmask capture channel mask
|
D | configfs-usb-gadget-uac2 | 8 c_chmask capture channel mask
|
/linux-6.12.1/Documentation/usb/ |
D | gadget-testing.rst | 745 c_chmask capture channel mask 952 c_chmask capture channel mask
|