Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/legacy/
Daudio.c24 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.1.9/drivers/usb/gadget/function/
Du_audio.c393 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()
713 num_channels(params->p_chmask); in u_audio_start_playback()
1163 int p_chmask, c_chmask; in g_audio_setup() local
1176 p_chmask = params->p_chmask; in g_audio_setup()
1204 if (p_chmask) { in g_audio_setup()
1242 p_chmask ? 1 : 0, c_chmask ? 1 : 0, &pcm); in g_audio_setup()
1258 || (p_chmask && params->p_fu.id) in g_audio_setup()
1278 if (p_chmask) { in g_audio_setup()
Du_uac1.h36 int p_chmask; member
Du_uac2.h40 int p_chmask; member
Df_uac1.c29 #define EPIN_EN(_opts) ((_opts)->p_chmask != 0)
1126 if (!opts->p_chmask && !opts->c_chmask) { in f_audio_validate_opts()
1129 } else if (opts->p_chmask & ~UAC1_CHANNEL_MASK) { in f_audio_validate_opts()
1213 in_feature_unit_desc = build_fu_desc(audio_opts->p_chmask); in f_audio_bind()
1253 io_in_it_desc.bNrChannels = num_channels(audio_opts->p_chmask); in f_audio_bind()
1254 io_in_it_desc.wChannelConfig = cpu_to_le16(audio_opts->p_chmask); in f_audio_bind()
1255 as_in_type_i_desc.bNrChannels = num_channels(audio_opts->p_chmask); in f_audio_bind()
1390 audio->params.p_chmask = audio_opts->p_chmask; in f_audio_bind()
1595 UAC1_ATTRIBUTE(u32, p_chmask);
1670 opts->p_chmask = UAC1_DEF_PCHMASK; in f_audio_alloc_inst()
Df_uac2.c53 #define EPIN_EN(_opts) ((_opts)->p_chmask != 0)
691 chmask = uac2_opts->p_chmask; in get_max_bw_for_bint()
990 if (!opts->p_chmask && !opts->c_chmask) in afunc_validate_opts()
992 else if (opts->p_chmask & ~UAC2_CHANNEL_MASK) in afunc_validate_opts()
1060 in_feature_unit_desc = build_fu_desc(uac2_opts->p_chmask); in afunc_bind()
1095 io_in_it_desc.bNrChannels = num_channels(uac2_opts->p_chmask); in afunc_bind()
1096 io_in_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->p_chmask); in afunc_bind()
1099 as_in_hdr_desc.bNrChannels = num_channels(uac2_opts->p_chmask); in afunc_bind()
1100 as_in_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->p_chmask); in afunc_bind()
1299 agdev->params.p_chmask = uac2_opts->p_chmask; in afunc_bind()
[all …]
Du_audio.h43 int p_chmask; /* channel mask */ member
/linux-6.1.9/sound/usb/
Dmixer.c2949 int p_chmask; /* playback channels mask */ member
2963 .p_chmask = -1, /* dynamic channels */
2969 .p_chmask = 3,
2975 .p_chmask = -1, /* dynamic channels */
2992 .p_chmask = -1, /* dynamic channels */
3000 .p_chmask = 3,
3008 .p_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()
[all …]
/linux-6.1.9/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uac119 p_chmask playback channel mask
Dconfigfs-usb-gadget-uac223 p_chmask playback channel mask
/linux-6.1.9/Documentation/usb/
Dgadget-testing.rst745 p_chmask playback channel mask
936 p_chmask playback channel mask