Searched refs:c_chmask (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
D | audio.c | 39 static int c_chmask = UAC2_DEF_CCHMASK; variable 40 module_param(c_chmask, uint, S_IRUGO); 41 MODULE_PARM_DESC(c_chmask, "Capture Channel Mask"); 72 static int c_chmask = UAC1_DEF_CCHMASK; variable 73 module_param(c_chmask, uint, S_IRUGO); 74 MODULE_PARM_DESC(c_chmask, "Capture Channel Mask"); 268 uac2_opts->c_chmask = c_chmask; in audio_bind() 278 uac1_opts->c_chmask = c_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 264 c_chmask = params->c_chmask; in uac_pcm_open() 300 runtime->hw.channels_min = num_channels(c_chmask); in uac_pcm_open() 496 int p_chmask, c_chmask; in g_audio_setup() local 510 c_chmask = params->c_chmask; in g_audio_setup() 512 if (c_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() 526 } else if (opts->c_chmask & ~UAC1_CHANNEL_MASK) { in f_audio_validate_opts() 583 usb_out_it_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind() 584 usb_out_it_desc.wChannelConfig = cpu_to_le16(audio_opts->c_chmask); in f_audio_bind() 585 as_out_type_i_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind() 653 audio->params.c_chmask = audio_opts->c_chmask; in f_audio_bind() 735 UAC1_ATTRIBUTE(c_chmask); 782 opts->c_chmask = UAC1_DEF_CCHMASK; in f_audio_alloc_inst()
|
D | f_uac2.c | 46 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0) 478 chmask = uac2_opts->c_chmask; in set_ep_max_packet_size() 614 if (!opts->p_chmask && !opts->c_chmask) { in afunc_validate_opts() 620 } else if (opts->c_chmask & ~UAC2_CHANNEL_MASK) { in afunc_validate_opts() 674 usb_out_it_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind() 675 usb_out_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind() 678 as_out_hdr_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind() 679 as_out_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind() 792 agdev->params.c_chmask = uac2_opts->c_chmask; in afunc_bind() 1107 UAC2_ATTRIBUTE(c_chmask); [all …]
|
D | u_uac2.h | 31 int c_chmask; member
|
D | u_uac1.h | 25 int c_chmask; member
|
D | u_audio.h | 21 int c_chmask; /* channel mask */ member
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uac2 | 8 c_chmask capture channel mask
|
D | configfs-usb-gadget-uac1 | 8 c_chmask capture channel mask
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer.c | 2872 int c_chmask; /* capture channels mask */ member 2886 .c_chmask = -1, /* dynamic channels */ 2905 .c_chmask = -1, /* dynamic channels */ 2915 .c_chmask = 1, 2923 .c_chmask = 1, 2931 .c_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() 2954 if ((f->c_chmask < 0 && !c_chmask) || in uac3_badd_func_has_valid_channels() [all …]
|
/kernel/linux/linux-5.10/Documentation/usb/ |
D | gadget-testing.rst | 728 c_chmask capture channel mask 906 c_chmask capture channel mask
|