Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 25 of 31) sorted by relevance

12

/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c859 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()
925 chip->active_mask &= ~channel_mask; in stop_transport()
[all …]
/linux/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:Chann…
203 unsigned int channel_mask; member
287 if (!((1 << channel) & ar2->channel_mask)) in ati_remote2_input_mouse()
326 if (!((1 << channel) & ar2->channel_mask)) in ati_remote2_input_key()
679 return sprintf(buf, "0x%04x\n", ar2->channel_mask); in ati_remote2_show_channel_mask()
707 if (mask != ar2->channel_mask) { in ati_remote2_store_channel_mask()
710 ar2->channel_mask = mask; in ati_remote2_store_channel_mask()
752 static DEVICE_ATTR(channel_mask, 0644, ati_remote2_show_channel_mask,
[all …]
/linux/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()
/linux/drivers/devfreq/event/
H A Drockchip-dfi.c107 unsigned int channel_mask; member
141 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_enable()
194 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_disable()
215 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_read_counters()
264 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_get_event()
686 dfi->channel_mask = GENMASK(1, 0); in rk3399_dfi_init()
716 dfi->channel_mask = BIT(0); in rk3568_dfi_init()
750 dfi->channel_mask = FIELD_GET(RK3588_PMUGRF_OS_REG2_CH_INFO, reg2) | in rk3588_dfi_init()
/linux/sound/soc/sof/intel/
H A Dhda-mlink.c819 int channel_mask, int stream_id, int dir) in hdac_bus_eml_sdw_map_stream_ch() argument
835 if (channel_mask) { in hdac_bus_eml_sdw_map_stream_ch()
836 hchan = __fls(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
837 lchan = __ffs(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
853 sublink, channel_mask, stream_id, dir, val); in hdac_bus_eml_sdw_map_stream_ch()
H A Dhda-dai.c583 dma_config->dma_stream_channel_map.mapping[0].channel_mask = ch_mask; in sdw_hda_dai_hw_params()
/linux/drivers/edac/
H A Dsb_edac.c2036 long *channel_mask, in get_memory_error_data() argument
2249 *channel_mask = 1 << base_ch; in get_memory_error_data()
2255 *channel_mask |= 1 << ((base_ch + 2) % 4); in get_memory_error_data()
2273 *channel_mask |= 1 << ((base_ch + 1) % 4); in get_memory_error_data()
2286 *channel_mask); in get_memory_error_data()
2372 u8 *ha, long *channel_mask, in get_memory_error_data_from_mce() argument
2409 *channel_mask = 1 << channel; in get_memory_error_data_from_mce()
2412 *channel_mask |= 1 << ((channel + 2) % 4); in get_memory_error_data_from_mce()
2419 *channel_mask |= 1 << ((channel + 1) % 4); in get_memory_error_data_from_mce()
3100 long channel_mask, first_channel; in sbridge_mce_output_error() local
[all …]
/linux/sound/soc/tegra/
H A Dtegra210_mbdrc.h205 unsigned int channel_mask; member
H A Dtegra210_mbdrc.c60 .channel_mask = 0x3,
836 conf->channel_mask << TEGRA210_MBDRC_CHANNEL_MASK_SHIFT); in tegra210_mbdrc_component_init()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.h90 u32 (*channel_map)(struct vc4_hdmi *vc4_hdmi, u32 channel_mask);
H A Dvc4_hdmi.c1785 static u32 vc4_hdmi_channel_map(struct vc4_hdmi *vc4_hdmi, u32 channel_mask) in vc4_hdmi_channel_map() argument
1791 if (channel_mask & BIT(i)) in vc4_hdmi_channel_map()
1797 static u32 vc5_hdmi_channel_map(struct vc4_hdmi *vc4_hdmi, u32 channel_mask) in vc5_hdmi_channel_map() argument
1803 if (channel_mask & BIT(i)) in vc5_hdmi_channel_map()
2054 u32 audio_packet_config, channel_mask; in vc4_hdmi_audio_prepare() local
2103 channel_mask = GENMASK(channels - 1, 0); in vc4_hdmi_audio_prepare()
2104 audio_packet_config |= VC4_SET_FIELD(channel_mask, in vc4_hdmi_audio_prepare()
2139 VC4_SET_FIELD(channel_mask, VC4_HDMI_MAI_CHANNEL_MASK)); in vc4_hdmi_audio_prepare()
2141 channel_map = vc4_hdmi->variant->channel_map(vc4_hdmi, channel_mask); in vc4_hdmi_audio_prepare()
/linux/include/sound/
H A Dintel-nhlt.h45 u32 channel_mask; member
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.c123 u32 channel_mask; member
136 u32 channel_mask; member
1205 fmt->channel_mask = cfg->channel_mask; in q6asm_stream_media_format_block_wma_v9()
1243 fmt->channel_mask = cfg->channel_mask; in q6asm_stream_media_format_block_wma_v10()
H A Dq6asm.h57 u32 channel_mask; member
H A Dq6asm-dai.c747 wma_cfg.channel_mask = 4; /* Mono Center */ in __q6asm_dai_compr_set_codec_params()
749 wma_cfg.channel_mask = 3; /* Stereo FL/FR */ in __q6asm_dai_compr_set_codec_params()
/linux/sound/soc/sof/
H A Dipc4-topology.h228 * @channel_mask: channels handled by @device. Channels are expected to be
233 uint32_t channel_mask; member
/linux/drivers/net/ipa/
H A Dgsi.c1136 u32 channel_mask; in gsi_isr_chan_ctrl() local
1139 channel_mask = ioread32(gsi->virt + reg_offset(reg)); in gsi_isr_chan_ctrl()
1142 iowrite32(channel_mask, gsi->virt + reg_offset(reg)); in gsi_isr_chan_ctrl()
1144 while (channel_mask) { in gsi_isr_chan_ctrl()
1145 u32 channel_id = __ffs(channel_mask); in gsi_isr_chan_ctrl()
1147 channel_mask ^= BIT(channel_id); in gsi_isr_chan_ctrl()
/linux/sound/soc/intel/atom/
H A Dsst-mfld-dsp.h353 u32 channel_mask; /* Channel Mask */ member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_sprite.c429 key->channel_mask); in vlv_sprite_update_arm()
854 key->channel_mask); in ivb_sprite_update_arm()
1193 key->channel_mask); in g4x_sprite_update_arm()
/linux/drivers/staging/vme_user/
H A Dvme_tsi148.c75 int channel_mask) in tsi148_DMA_irqhandler() argument
79 if (channel_mask & TSI148_LCSR_INTS_DMA0S) { in tsi148_DMA_irqhandler()
83 if (channel_mask & TSI148_LCSR_INTS_DMA1S) { in tsi148_DMA_irqhandler()
/linux/Documentation/firmware-guide/acpi/apei/
H A Deinj.rst204 …45 offset:0x0 grain:32 syndrome:0x0 - area:DRAM err_code:0001:0090 socket:0 channel_mask:1 rank:0)
/linux/include/uapi/drm/
H A Di915_drm.h1928 __u32 channel_mask; member
/linux/tools/include/uapi/drm/
H A Di915_drm.h1928 __u32 channel_mask; member
/linux/sound/core/
H A Dpcm_lib.c2471 return !info->channel_mask || (info->channel_mask & (1U << ch)); in valid_chmap_channels()
/linux/sound/pci/
H A Datiixp.c1285 chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; in snd_atiixp_pcm_new()

12