Searched refs:c_chmask (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/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-5.19.10/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() 1163 int p_chmask, c_chmask; in g_audio_setup() local 1177 c_chmask = params->c_chmask; in g_audio_setup() 1179 if (c_chmask) { in g_audio_setup() 1242 p_chmask ? 1 : 0, c_chmask ? 1 : 0, &pcm); in g_audio_setup() 1257 if ((c_chmask && g_audio->in_ep_fback) in g_audio_setup() 1259 || (c_chmask && params->c_fu.id)) in g_audio_setup() 1262 if (c_chmask && g_audio->in_ep_fback) { in g_audio_setup()
|
D | u_uac1.h | 33 int c_chmask; member
|
D | u_uac2.h | 44 int c_chmask; member
|
D | f_uac1.c | 30 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0) 1126 if (!opts->p_chmask && !opts->c_chmask) { in f_audio_validate_opts() 1132 } else if (opts->c_chmask & ~UAC1_CHANNEL_MASK) { in f_audio_validate_opts() 1206 out_feature_unit_desc = build_fu_desc(audio_opts->c_chmask); in f_audio_bind() 1248 usb_out_it_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind() 1249 usb_out_it_desc.wChannelConfig = cpu_to_le16(audio_opts->c_chmask); in f_audio_bind() 1250 as_out_type_i_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind() 1377 audio->params.c_chmask = audio_opts->c_chmask; in f_audio_bind() 1592 UAC1_ATTRIBUTE(u32, c_chmask); 1667 opts->c_chmask = UAC1_DEF_CCHMASK; in f_audio_alloc_inst()
|
D | f_uac2.c | 54 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0) 695 chmask = uac2_opts->c_chmask; in get_max_bw_for_bint() 990 if (!opts->p_chmask && !opts->c_chmask) in afunc_validate_opts() 994 else if (opts->c_chmask & ~UAC2_CHANNEL_MASK) in afunc_validate_opts() 1055 out_feature_unit_desc = build_fu_desc(uac2_opts->c_chmask); in afunc_bind() 1093 usb_out_it_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind() 1094 usb_out_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind() 1097 as_out_hdr_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind() 1098 as_out_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind() 1311 agdev->params.c_chmask = uac2_opts->c_chmask; in afunc_bind() [all …]
|
D | u_audio.h | 49 int c_chmask; /* channel mask */ member
|
/linux-5.19.10/sound/usb/ ! |
D | mixer.c | 2948 int c_chmask; /* capture channels mask */ member 2962 .c_chmask = -1, /* dynamic channels */ 2981 .c_chmask = -1, /* dynamic channels */ 2991 .c_chmask = 1, 2999 .c_chmask = 1, 3007 .c_chmask = 1, 3015 int c_chmask, int p_chmask) in uac3_badd_func_has_valid_channels() argument 3021 if (f->c_chmask < 0 && f->p_chmask < 0) { in uac3_badd_func_has_valid_channels() 3022 if (!c_chmask && !p_chmask) { in uac3_badd_func_has_valid_channels() 3030 if ((f->c_chmask < 0 && !c_chmask) || in uac3_badd_func_has_valid_channels() [all …]
|
/linux-5.19.10/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-5.19.10/Documentation/usb/ ! |
D | gadget-testing.rst | 728 c_chmask capture channel mask 922 c_chmask capture channel mask
|