Home
last modified time | relevance | path

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

/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c844 static int start_transport(struct echoaudio *chip, u32 channel_mask, in start_transport() argument
851 chip->comm_page->cmd_start |= cpu_to_le32(channel_mask); in start_transport()
859 chip->active_mask |= channel_mask; in start_transport()
870 static int pause_transport(struct echoaudio *chip, u32 channel_mask) in pause_transport() argument
876 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in pause_transport()
884 chip->active_mask &= ~channel_mask; in pause_transport()
896 static int stop_transport(struct echoaudio *chip, u32 channel_mask) in stop_transport() argument
902 chip->comm_page->cmd_stop |= cpu_to_le32(channel_mask); in stop_transport()
903 chip->comm_page->cmd_reset |= cpu_to_le32(channel_mask); in stop_transport()
910 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/drivers/devfreq/event/
H A Drockchip-dfi.c105 unsigned int channel_mask; member
193 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_enable()
233 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_disable()
254 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_read_counters()
303 if (!(dfi->channel_mask & BIT(i))) in rockchip_dfi_get_event()
728 dfi->channel_mask = GENMASK(1, 0); in rk3399_dfi_init()
758 dfi->channel_mask = BIT(0); in rk3568_dfi_init()
792 dfi->channel_mask = FIELD_GET(RK3588_PMUGRF_OS_REG2_CH_INFO, reg2) | in rk3588_dfi_init()
/linux/sound/hda/codecs/hdmi/
H A Dnvhdmi-mcp.c276 chmap->channel_mask = (1U << 2) | (1U << 8); in nvhdmi_mcp_build_controls()
279 chmap->channel_mask = (1U << 2) | (1U << 6) | (1U << 8); in nvhdmi_mcp_build_controls()
/linux/sound/soc/sof/intel/
H A Dhda-mlink.c852 int channel_mask, int stream_id, int dir) in hdac_bus_eml_sdw_map_stream_ch()
868 if (channel_mask) { in hdac_bus_eml_sdw_map_stream_ch()
869 hchan = __fls(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
870 lchan = __ffs(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
881 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()
882 sublink, channel_mask, stream_id, dir, val);
848 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
/linux/drivers/edac/
H A Dsb_edac.c2026 long *channel_mask, in get_memory_error_data() argument
2239 *channel_mask = 1 << base_ch; in get_memory_error_data()
2245 *channel_mask |= 1 << ((base_ch + 2) % 4); in get_memory_error_data()
2263 *channel_mask |= 1 << ((base_ch + 1) % 4); in get_memory_error_data()
2276 *channel_mask); in get_memory_error_data()
2362 u8 *ha, long *channel_mask, in get_memory_error_data_from_mce() argument
2399 *channel_mask = 1 << channel; in get_memory_error_data_from_mce()
2402 *channel_mask |= 1 << ((channel + 2) % 4); in get_memory_error_data_from_mce()
2409 *channel_mask |= 1 << ((channel + 1) % 4); in get_memory_error_data_from_mce()
3090 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,
843 conf->channel_mask << TEGRA210_MBDRC_CHANNEL_MASK_SHIFT); in tegra210_mbdrc_component_init()
/linux/include/sound/
H A Dintel-nhlt.h45 u32 channel_mask; member
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h57 u32 channel_mask; member
H A Dq6asm.c124 u32 channel_mask; member
137 u32 channel_mask; member
1181 fmt->channel_mask = cfg->channel_mask; in q6asm_stream_media_format_block_wma_v9()
1214 fmt->channel_mask = cfg->channel_mask; in q6asm_stream_media_format_block_wma_v10()
H A Dq6asm-dai.c765 wma_cfg.channel_mask = 4; /* Mono Center */ in __q6asm_dai_compr_set_codec_params()
767 wma_cfg.channel_mask = 3; /* Stereo FL/FR */ in __q6asm_dai_compr_set_codec_params()
/linux/sound/soc/sof/
H A Dipc4-topology.h255 * @channel_mask: channels handled by @device. Channels are expected to be
260 uint32_t channel_mask;
253 uint32_t channel_mask; global() member
H A Dipc4-topology.c2519 blob->alh_cfg.mapping[i].channel_mask = mask << (step * i); in _sof_ipc4_prepare_copier_module()
/linux/sound/soc/sdca/
H A Dsdca_asoc.c1462 unsigned int channel_mask = 0; in sdca_asoc_set_constraints() local
1466 static_assert(sizeof(channel_mask) * BITS_PER_BYTE >= SDCA_MAX_CHANNEL_COUNT); in sdca_asoc_set_constraints()
1487 channel_mask |= (1 << (cluster->num_channels - 1)); in sdca_asoc_set_constraints()
1491 entity->label, channel_mask); in sdca_asoc_set_constraints()
1499 constraint->mask = channel_mask; in sdca_asoc_set_constraints()
/linux/sound/soc/intel/atom/
H A Dsst-mfld-dsp.h353 u32 channel_mask; /* Channel Mask */ member
/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.rst237 …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.h
/linux/sound/core/
H A Dpcm_lib.c2474 return !info->channel_mask || (info->channel_mask & (1U << ch)); in valid_chmap_channels()
/linux/sound/hda/common/
H A Dcodec.c3070 chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; in add_std_chmaps()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c1630 cmd.host_command_parameters[1] = priv->channel_mask; in ipw2100_set_scan_options()