Home
last modified time | relevance | path

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

/drivers/usb/gadget/legacy/
Daudio.c39 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()
/drivers/usb/gadget/function/
Du_audio.c262 int p_chmask, c_chmask; in uac_pcm_open() local
271 c_chmask = params->c_chmask; in uac_pcm_open()
307 runtime->hw.channels_min = num_channels(c_chmask); in uac_pcm_open()
499 int p_chmask, c_chmask; in g_audio_setup() local
513 c_chmask = params->c_chmask; in g_audio_setup()
515 if (c_chmask) { in g_audio_setup()
572 p_chmask ? 1 : 0, c_chmask ? 1 : 0, &pcm); in g_audio_setup()
Df_uac1.c539 usb_out_it_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind()
540 usb_out_it_desc.wChannelConfig = cpu_to_le16(audio_opts->c_chmask); in f_audio_bind()
541 as_out_type_i_desc.bNrChannels = num_channels(audio_opts->c_chmask); in f_audio_bind()
609 audio->params.c_chmask = audio_opts->c_chmask; in f_audio_bind()
691 UAC1_ATTRIBUTE(c_chmask);
738 opts->c_chmask = UAC1_DEF_CCHMASK; in f_audio_alloc_inst()
Df_uac2.c43 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0)
462 chmask = uac2_opts->c_chmask; in set_ep_max_packet_size()
624 usb_out_it_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind()
625 usb_out_it_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind()
628 as_out_hdr_desc.bNrChannels = num_channels(uac2_opts->c_chmask); in afunc_bind()
629 as_out_hdr_desc.bmChannelConfig = cpu_to_le32(uac2_opts->c_chmask); in afunc_bind()
719 agdev->params.c_chmask = uac2_opts->c_chmask; in afunc_bind()
1034 UAC2_ATTRIBUTE(c_chmask);
1081 opts->c_chmask = UAC2_DEF_CCHMASK; in afunc_alloc_inst()
Du_uac2.h31 int c_chmask; member
Du_uac1.h25 int c_chmask; member
Du_audio.h21 int c_chmask; /* channel mask */ member