Searched refs:p_chmask (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/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.1.9/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() 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()
|
D | u_uac1.h | 36 int p_chmask; member
|
D | u_uac2.h | 40 int p_chmask; member
|
D | f_uac1.c | 29 #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()
|
D | f_uac2.c | 53 #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 …]
|
D | u_audio.h | 43 int p_chmask; /* channel mask */ member
|
/linux-6.1.9/sound/usb/ |
D | mixer.c | 2949 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/ |
D | configfs-usb-gadget-uac1 | 19 p_chmask playback channel mask
|
D | configfs-usb-gadget-uac2 | 23 p_chmask playback channel mask
|
/linux-6.1.9/Documentation/usb/ |
D | gadget-testing.rst | 745 p_chmask playback channel mask 936 p_chmask playback channel mask
|