Searched refs:p_chmask (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
D | audio.c | 24 static int p_chmask = UAC2_DEF_PCHMASK; variable 25 module_param(p_chmask, uint, S_IRUGO); 26 MODULE_PARM_DESC(p_chmask, "Playback Channel Mask"); 57 static int p_chmask = UAC1_DEF_PCHMASK; variable 58 module_param(p_chmask, uint, S_IRUGO); 59 MODULE_PARM_DESC(p_chmask, "Playback Channel Mask"); 265 uac2_opts->p_chmask = p_chmask; in audio_bind() 275 uac1_opts->p_chmask = p_chmask; in audio_bind()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | u_audio.c | 255 int p_chmask, c_chmask; in uac_pcm_open() local 263 p_chmask = params->p_chmask; in uac_pcm_open() 283 runtime->hw.channels_min = num_channels(p_chmask); in uac_pcm_open() 438 num_channels(params->p_chmask); in u_audio_start_playback() 496 int p_chmask, c_chmask; in g_audio_setup() local 509 p_chmask = params->p_chmask; in g_audio_setup() 534 if (p_chmask) { in g_audio_setup() 569 p_chmask ? 1 : 0, c_chmask ? 1 : 0, &pcm); in g_audio_setup()
|
D | f_uac1.c | 520 if (!opts->p_chmask && !opts->c_chmask) { in f_audio_validate_opts() 523 } else if (opts->p_chmask & ~UAC1_CHANNEL_MASK) { in f_audio_validate_opts() 588 io_in_it_desc.bNrChannels = num_channels(audio_opts->p_chmask); in f_audio_bind() 589 io_in_it_desc.wChannelConfig = cpu_to_le16(audio_opts->p_chmask); in f_audio_bind() 590 as_in_type_i_desc.bNrChannels = num_channels(audio_opts->p_chmask); in f_audio_bind() 656 audio->params.p_chmask = audio_opts->p_chmask; in f_audio_bind() 738 UAC1_ATTRIBUTE(p_chmask); 785 opts->p_chmask = UAC1_DEF_PCHMASK; in f_audio_alloc_inst()
|
D | f_uac2.c | 45 #define EPIN_EN(_opts) ((_opts)->p_chmask != 0) 474 chmask = uac2_opts->p_chmask; in set_ep_max_packet_size() 614 if (!opts->p_chmask && !opts->c_chmask) { in afunc_validate_opts() 617 } else if (opts->p_chmask & ~UAC2_CHANNEL_MASK) { in afunc_validate_opts() 676 io_in_it_desc.bNrChannels = num_channels(uac2_opts->p_chmask); in afunc_bind() 677 io_in_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->p_chmask); in afunc_bind() 680 as_in_hdr_desc.bNrChannels = num_channels(uac2_opts->p_chmask); in afunc_bind() 681 as_in_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->p_chmask); in afunc_bind() 789 agdev->params.p_chmask = uac2_opts->p_chmask; in afunc_bind() 1104 UAC2_ATTRIBUTE(p_chmask); [all …]
|
D | u_uac2.h | 28 int p_chmask; member
|
D | u_uac1.h | 28 int p_chmask; member
|
D | u_audio.h | 16 int p_chmask; /* channel mask */ member
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uac2 | 11 p_chmask playback channel mask
|
D | configfs-usb-gadget-uac1 | 11 p_chmask playback channel mask
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer.c | 2873 int p_chmask; /* playback channels mask */ member 2887 .p_chmask = -1, /* dynamic channels */ 2893 .p_chmask = 3, 2899 .p_chmask = -1, /* dynamic channels */ 2916 .p_chmask = -1, /* dynamic channels */ 2924 .p_chmask = 3, 2932 .p_chmask = 1, 2939 int c_chmask, int p_chmask) in uac3_badd_func_has_valid_channels() argument 2945 if (f->c_chmask < 0 && f->p_chmask < 0) { in uac3_badd_func_has_valid_channels() 2946 if (!c_chmask && !p_chmask) { in uac3_badd_func_has_valid_channels() [all …]
|
/kernel/linux/linux-5.10/Documentation/usb/ |
D | gadget-testing.rst | 731 p_chmask playback channel mask 909 p_chmask playback channel mask
|