Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 - 25 of 94) sorted by relevance

1234

/kernel/linux/linux-5.10/sound/pci/echoaudio/
H A Dechoaudio_dsp.c852 The bits 1 in channel_mask specify what pipes to start. Only the bit of the
855 static int start_transport(struct echoaudio *chip, u32 channel_mask, in start_transport() argument
862 chip->comm_page->cmd_start |= cpu_to_le32(channel_mask); in start_transport()
870 chip->active_mask |= channel_mask; in start_transport()
881 static int pause_transport(struct echoaudio *chip, u32 channel_mask) in pause_transport() argument
887 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in pause_transport()
895 chip->active_mask &= ~channel_mask; in pause_transport()
907 static int stop_transport(struct echoaudio *chip, u32 channel_mask) in stop_transport() argument
913 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in stop_transport()
914 chip->comm_page->cmd_reset |= cpu_to_le32(channel_mask); in stop_transport()
1054 u32 channel_mask; allocate_pipes() local
1090 u32 channel_mask; free_pipes() local
[all...]
/kernel/linux/linux-6.6/sound/pci/echoaudio/
H A Dechoaudio_dsp.c856 The bits 1 in channel_mask specify what pipes to start. Only the bit of the
859 static int start_transport(struct echoaudio *chip, u32 channel_mask, in start_transport() argument
866 chip->comm_page->cmd_start |= cpu_to_le32(channel_mask); in start_transport()
874 chip->active_mask |= channel_mask; in start_transport()
885 static int pause_transport(struct echoaudio *chip, u32 channel_mask) in pause_transport() argument
891 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in pause_transport()
899 chip->active_mask &= ~channel_mask; in pause_transport()
911 static int stop_transport(struct echoaudio *chip, u32 channel_mask) in stop_transport() argument
917 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in stop_transport()
918 chip->comm_page->cmd_reset |= cpu_to_le32(channel_mask); in stop_transport()
1058 u32 channel_mask; allocate_pipes() local
1094 u32 channel_mask; free_pipes() local
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dati_remote2.c90 static unsigned int channel_mask = ATI_REMOTE2_MAX_CHANNEL_MASK; variable
96 module_param(channel_mask, channel_mask, 0644);
97 MODULE_PARM_DESC(channel_mask, "Bitmask of channels to accept <15:Channel16>...<1:Channel2><0:Channel1>");
203 unsigned int channel_mask; member
316 if (!((1 << channel) & ar2->channel_mask)) in ati_remote2_input_mouse()
355 if (!((1 << channel) & ar2->channel_mask)) in ati_remote2_input_key()
708 return sprintf(buf, "0x%04x\n", ar2->channel_mask); in ati_remote2_show_channel_mask()
737 if (mask != ar2->channel_mask) { in ati_remote2_store_channel_mask()
740 ar2->channel_mask in ati_remote2_store_channel_mask()
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dati_remote2.c90 static unsigned int channel_mask = ATI_REMOTE2_MAX_CHANNEL_MASK; variable
96 module_param(channel_mask, channel_mask, 0644);
97 MODULE_PARM_DESC(channel_mask, "Bitmask of channels to accept <15:Channel16>...<1:Channel2><0:Channel1>");
203 unsigned int channel_mask; member
316 if (!((1 << channel) & ar2->channel_mask)) in ati_remote2_input_mouse()
355 if (!((1 << channel) & ar2->channel_mask)) in ati_remote2_input_key()
708 return sprintf(buf, "0x%04x\n", ar2->channel_mask); in ati_remote2_show_channel_mask()
737 if (mask != ar2->channel_mask) { in ati_remote2_store_channel_mask()
740 ar2->channel_mask in ati_remote2_store_channel_mask()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dtak.c96 uint64_t channel_mask = 0; in ff_tak_parse_streaminfo() local
120 channel_mask |= tak_channel_layouts[value]; in ff_tak_parse_streaminfo()
125 s->ch_layout = channel_mask; in ff_tak_parse_streaminfo()
H A Dwmaprodec.c359 unsigned int channel_mask; in decode_init() local
387 channel_mask = 0; //AV_RL32(edata_ptr+2); /* not always in expected order */ in decode_init()
395 channel_mask = 0; /* would need to aggregate from all streams */ in decode_init()
400 channel_mask = 0; /* would need to aggregate from all streams */ in decode_init()
404 channel_mask = AV_RL32(edata_ptr+2); in decode_init()
406 s->nb_channels = channel_mask ? av_popcount(channel_mask) : avctx->ch_layout.nb_channels; in decode_init()
491 if (channel_mask & 8) { in decode_init()
494 if (channel_mask & mask) in decode_init()
580 if (channel_mask) { in decode_init()
1959 unsigned int channel_mask = AV_RL32(avctx->extradata + 2); xma_decode_init() local
[all...]
H A Dcook.c89 unsigned int channel_mask; member
1079 unsigned int channel_mask = 0; in cook_decode_init() local
1177 channel_mask |= q->subpacket[s].channel_mask = bytestream2_get_be32(&gb); in cook_decode_init()
1179 if (av_popcount64(q->subpacket[s].channel_mask) > 1) { in cook_decode_init()
1288 if (channel_mask) in cook_decode_init()
1289 av_channel_layout_from_mask(&avctx->ch_layout, channel_mask); in cook_decode_init()
/kernel/linux/linux-5.10/sound/pci/oxygen/
H A Doxygen_pcm.c516 unsigned int channel_mask = 1 << channel; in oxygen_hw_free() local
519 chip->interrupt_mask &= ~channel_mask; in oxygen_hw_free()
522 oxygen_set_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_hw_free()
523 oxygen_clear_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_hw_free()
544 unsigned int channel_mask = 1 << channel; in oxygen_prepare() local
547 oxygen_set_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_prepare()
548 oxygen_clear_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_prepare()
551 chip->interrupt_mask &= ~channel_mask; in oxygen_prepare()
553 chip->interrupt_mask |= channel_mask; in oxygen_prepare()
/kernel/linux/linux-6.6/sound/pci/oxygen/
H A Doxygen_pcm.c516 unsigned int channel_mask = 1 << channel; in oxygen_hw_free() local
519 chip->interrupt_mask &= ~channel_mask; in oxygen_hw_free()
522 oxygen_set_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_hw_free()
523 oxygen_clear_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_hw_free()
544 unsigned int channel_mask = 1 << channel; in oxygen_prepare() local
547 oxygen_set_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_prepare()
548 oxygen_clear_bits8(chip, OXYGEN_DMA_FLUSH, channel_mask); in oxygen_prepare()
551 chip->interrupt_mask &= ~channel_mask; in oxygen_prepare()
553 chip->interrupt_mask |= channel_mask; in oxygen_prepare()
/third_party/pulseaudio/src/modules/bluetooth/
H A Da2dp-codec-gst.c86 uint64_t channel_mask; in gst_create_caps_from_sample_spec() local
108 channel_mask = 0x1; in gst_create_caps_from_sample_spec()
111 channel_mask = 0x3; in gst_create_caps_from_sample_spec()
122 "channel-mask", GST_TYPE_BITMASK, channel_mask, in gst_create_caps_from_sample_spec()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_non_uniform_access.c72 nir_component_mask_t channel_mask = ~0; in nu_handle_compare() local
74 channel_mask = options->callback(handle->src, options->callback_data); in nu_handle_compare()
75 channel_mask &= nir_component_mask(handle->handle->num_components); in nu_handle_compare()
83 u_foreach_bit(i, channel_mask) { in nu_handle_compare()
/kernel/linux/linux-6.6/include/sound/
H A Dhda-mlink.h49 int channel_mask, int stream_id, int dir);
157 int channel_mask, int stream_id, int dir) in hdac_bus_eml_sdw_map_stream_ch()
156 hdac_bus_eml_sdw_map_stream_ch(struct hdac_bus *bus, int sublink, int y, int channel_mask, int stream_id, int dir) hdac_bus_eml_sdw_map_stream_ch() argument
H A Dintel-nhlt.h45 u32 channel_mask; member
/third_party/alsa-utils/alsamixer/
H A Dmixer_widget.h15 enum channel_mask { enum
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_gs_visitor.cpp362 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits()
363 inst = emit(SHL(dst_reg(channel_mask), one, channel)); in emit_control_data_bits()
365 emit(GS_OPCODE_PREPARE_CHANNEL_MASKS, dst_reg(channel_mask), in emit_control_data_bits()
366 channel_mask); in emit_control_data_bits()
367 emit(GS_OPCODE_SET_CHANNEL_MASKS, mrf_reg, channel_mask); in emit_control_data_bits()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dcfg.c60 if (priv->channel_mask & (1 << i)) { in orinoco_wiphy_register()
184 !(priv->channel_mask & (1 << (channel - 1)))) in orinoco_set_monitor_channel()
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dcfg.c60 if (priv->channel_mask & (1 << i)) { in orinoco_wiphy_register()
184 !(priv->channel_mask & (1 << (channel - 1)))) in orinoco_set_monitor_channel()
/kernel/linux/linux-5.10/drivers/media/rc/
H A Dati_remote.c60 * The driver has a "channel_mask" parameter. This bitmask specifies which
64 * For instance, set channel_mask = 2^4 = 16 (binary 10000) to make ati_remote
68 * Or, set channel_mask = 65533, (0xFFFD), and all channels except 1 will be
116 static unsigned long channel_mask; variable
117 module_param(channel_mask, ulong, 0644);
118 MODULE_PARM_DESC(channel_mask, "Bitmask of remote control channels to ignore");
514 if (channel_mask & (1 << (remote_num + 1))) { in ati_remote_input_report()
517 remote_num, data[2], channel_mask); in ati_remote_input_report()
/kernel/linux/linux-6.6/drivers/media/rc/
H A Dati_remote.c60 * The driver has a "channel_mask" parameter. This bitmask specifies which
64 * For instance, set channel_mask = 2^4 = 16 (binary 10000) to make ati_remote
68 * Or, set channel_mask = 65533, (0xFFFD), and all channels except 1 will be
116 static unsigned long channel_mask; variable
117 module_param(channel_mask, ulong, 0644);
118 MODULE_PARM_DESC(channel_mask, "Bitmask of remote control channels to ignore");
512 if (channel_mask & (1 << (remote_num + 1))) { in ati_remote_input_report()
515 remote_num, data[2], channel_mask); in ati_remote_input_report()
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-mlink.c801 int channel_mask, int stream_id, int dir) in hdac_bus_eml_sdw_map_stream_ch()
817 if (channel_mask) { in hdac_bus_eml_sdw_map_stream_ch()
818 hchan = __fls(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
819 lchan = __ffs(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
834 dev_dbg(bus->dev, "sublink %d channel_mask %#x stream_id %d dir %d pcmscm %#x\n", in hdac_bus_eml_sdw_map_stream_ch()
835 sublink, channel_mask, stream_id, dir, val); in hdac_bus_eml_sdw_map_stream_ch()
800 hdac_bus_eml_sdw_map_stream_ch(struct hdac_bus *bus, int sublink, int y, int channel_mask, int stream_id, int dir) hdac_bus_eml_sdw_map_stream_ch() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c861 static u32 vc4_hdmi_channel_map(struct vc4_hdmi *vc4_hdmi, u32 channel_mask) in vc4_hdmi_channel_map() argument
867 if (channel_mask & BIT(i)) in vc4_hdmi_channel_map()
873 static u32 vc5_hdmi_channel_map(struct vc4_hdmi *vc4_hdmi, u32 channel_mask) in vc5_hdmi_channel_map() argument
879 if (channel_mask & BIT(i)) in vc5_hdmi_channel_map()
1007 u32 audio_packet_config, channel_mask; in vc4_hdmi_audio_hw_params() local
1035 channel_mask = GENMASK(vc4_hdmi->audio.channels - 1, 0); in vc4_hdmi_audio_hw_params()
1036 audio_packet_config |= VC4_SET_FIELD(channel_mask, in vc4_hdmi_audio_hw_params()
1048 VC4_SET_FIELD(channel_mask, VC4_HDMI_MAI_CHANNEL_MASK)); in vc4_hdmi_audio_hw_params()
1050 channel_map = vc4_hdmi->variant->channel_map(vc4_hdmi, channel_mask); in vc4_hdmi_audio_hw_params()
H A Dvc4_hdmi.h97 u32 (*channel_map)(struct vc4_hdmi *vc4_hdmi, u32 channel_mask);
/kernel/linux/linux-5.10/drivers/edac/
H A Dsb_edac.c1928 long *channel_mask, in get_memory_error_data()
2140 *channel_mask = 1 << base_ch; in get_memory_error_data()
2146 *channel_mask |= 1 << ((base_ch + 2) % 4); in get_memory_error_data()
2164 *channel_mask |= 1 << ((base_ch + 1) % 4); in get_memory_error_data()
2177 *channel_mask); in get_memory_error_data()
2241 u8 *ha, long *channel_mask, in get_memory_error_data_from_mce()
2278 *channel_mask = 1 << channel; in get_memory_error_data_from_mce()
2281 *channel_mask |= 1 << ((channel + 2) % 4); in get_memory_error_data_from_mce()
2288 *channel_mask |= 1 << ((channel + 1) % 4); in get_memory_error_data_from_mce()
2969 long channel_mask, first_channe in sbridge_mce_output_error() local
1925 get_memory_error_data(struct mem_ctl_info *mci, u64 addr, u8 *socket, u8 *ha, long *channel_mask, u8 *rank, char **area_type, char *msg) get_memory_error_data() argument
2239 get_memory_error_data_from_mce(struct mem_ctl_info *mci, const struct mce *m, u8 *socket, u8 *ha, long *channel_mask, char *msg) get_memory_error_data_from_mce() argument
[all...]
/kernel/linux/linux-6.6/drivers/edac/
H A Dsb_edac.c2034 long *channel_mask, in get_memory_error_data()
2247 *channel_mask = 1 << base_ch; in get_memory_error_data()
2253 *channel_mask |= 1 << ((base_ch + 2) % 4); in get_memory_error_data()
2271 *channel_mask |= 1 << ((base_ch + 1) % 4); in get_memory_error_data()
2284 *channel_mask); in get_memory_error_data()
2370 u8 *ha, long *channel_mask, in get_memory_error_data_from_mce()
2407 *channel_mask = 1 << channel; in get_memory_error_data_from_mce()
2410 *channel_mask |= 1 << ((channel + 2) % 4); in get_memory_error_data_from_mce()
2417 *channel_mask |= 1 << ((channel + 1) % 4); in get_memory_error_data_from_mce()
3098 long channel_mask, first_channe in sbridge_mce_output_error() local
2031 get_memory_error_data(struct mem_ctl_info *mci, u64 addr, u8 *socket, u8 *ha, long *channel_mask, u8 *rank, char **area_type, char *msg) get_memory_error_data() argument
2368 get_memory_error_data_from_mce(struct mem_ctl_info *mci, const struct mce *m, u8 *socket, u8 *ha, long *channel_mask, char *msg) get_memory_error_data_from_mce() argument
[all...]
/kernel/linux/linux-5.10/include/sound/
H A Dintel-nhlt.h32 u32 channel_mask; member

Completed in 31 milliseconds

1234