Home
last modified time | relevance | path

Searched refs:c_chmask (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/usb/gadget/legacy/ !
Daudio.c46 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/ !
Du_audio.c393 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()
Du_uac1.h33 int c_chmask; member
Du_uac2.h44 int c_chmask; member
Df_uac1.c30 #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()
Df_uac2.c54 #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 …]
Du_audio.h49 int c_chmask; /* channel mask */ member
/linux-5.19.10/sound/usb/ !
Dmixer.c2948 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/ !
Dconfigfs-usb-gadget-uac18 c_chmask capture channel mask
Dconfigfs-usb-gadget-uac28 c_chmask capture channel mask
/linux-5.19.10/Documentation/usb/ !
Dgadget-testing.rst728 c_chmask capture channel mask
922 c_chmask capture channel mask