/linux/drivers/soundwire/ |
A D | bus.h | 99 int ch_mask; member 163 static inline int sdw_ch_mask_to_ch(int ch_mask) in sdw_ch_mask_to_ch() argument 167 for (c = 0; ch_mask; ch_mask >>= 1) in sdw_ch_mask_to_ch() 168 c += ch_mask & 1; in sdw_ch_mask_to_ch()
|
A D | stream.c | 321 ret = sdw_write(s_rt->slave, addr, p_rt->ch_mask); in sdw_enable_disable_slave_ports() 343 enable_ch.ch_mask = p_rt->ch_mask; in sdw_enable_disable_master_ports() 433 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_slave_ports() 472 ret = sdw_write(s_rt->slave, addr, p_rt->ch_mask); in sdw_prep_deprep_slave_ports() 488 if ((val < 0) || (val & p_rt->ch_mask)) { in sdw_prep_deprep_slave_ports() 518 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_master_ports() 1205 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_alloc()
|
A D | cadence_master.c | 1503 int dpn_chnen_off, ch_mask; in cdns_port_enable() local 1510 ch_mask = enable_ch->ch_mask * enable_ch->enable; in cdns_port_enable() 1511 cdns_writel(cdns, dpn_chnen_off, ch_mask); in cdns_port_enable()
|
A D | qcom.c | 792 val |= (enable_ch->ch_mask << SWRM_DP_PORT_CTRL_EN_CHAN_SHFT); in qcom_swrm_port_enable() 937 pconfig[nports].ch_mask = p_rt->ch_mask; in qcom_swrm_stream_alloc_ports()
|
/linux/sound/soc/codecs/ |
A D | wcd938x-sdw.c | 108 unsigned long ch_mask; in wcd938x_sdw_hw_params() local 114 ch_mask = wcd->port_config[i].ch_mask; in wcd938x_sdw_hw_params() 116 if (!ch_mask) in wcd938x_sdw_hw_params() 119 for_each_set_bit(j, &ch_mask, 4) in wcd938x_sdw_hw_params()
|
A D | rt1308-sdw.c | 531 int retval, port, num_channels, ch_mask; in rt1308_sdw_hw_params() local 553 ch_mask = rt1308->rx_mask; in rt1308_sdw_hw_params() 556 ch_mask = (1 << num_channels) - 1; in rt1308_sdw_hw_params() 564 port_config.ch_mask = ch_mask; in rt1308_sdw_hw_params()
|
A D | rt1316-sdw.c | 526 int retval, port, num_channels, ch_mask; in rt1316_sdw_hw_params() local 548 ch_mask = (1 << num_channels) - 1; in rt1316_sdw_hw_params() 555 port_config.ch_mask = ch_mask; in rt1316_sdw_hw_params()
|
A D | wsa881x.c | 428 .ch_mask = 0x1, 431 .ch_mask = 0xf, 434 .ch_mask = 0x3, 437 .ch_mask = 0x3,
|
A D | wcd938x.h | 597 unsigned int ch_mask; member 603 .ch_mask = cmask, \
|
A D | sdw-mockup.c | 112 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
|
A D | max98373-sdw.c | 563 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params() 571 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
|
A D | da7219.c | 1422 unsigned int ch_mask; in da7219_set_dai_tdm_slot() local 1441 ch_mask = (tx_mask >> slot_offset); in da7219_set_dai_tdm_slot() 1442 if (fls(ch_mask) > DA7219_DAI_TDM_MAX_SLOTS) { in da7219_set_dai_tdm_slot() 1494 (ch_mask << DA7219_DAI_TDM_CH_EN_SHIFT) | in da7219_set_dai_tdm_slot()
|
/linux/arch/mips/txx9/generic/ |
A D | setup_tx4939.c | 284 unsigned int ch_mask = 0; in tx4939_sio_init() local 291 ch_mask |= 1 << 2; /* disable SIO2 by PCFG setting */ in tx4939_sio_init() 293 ch_mask |= 1 << 3; /* disable SIO3 by PCFG setting */ in tx4939_sio_init() 295 if ((1 << i) & ch_mask) in tx4939_sio_init() 438 unsigned char ch_mask, unsigned char wide_mask) in tx4939_ndfmc_init() argument 447 .ch_mask = ch_mask, in tx4939_ndfmc_init()
|
A D | setup_tx4938.c | 291 unsigned int ch_mask = 0; in tx4938_sio_init() local 294 ch_mask |= 1 << 1; /* disable SIO1 by PCFG setting */ in tx4938_sio_init() 296 if ((1 << i) & ch_mask) in tx4938_sio_init() 386 .ch_mask = 1, in tx4938_ndfmc_init()
|
/linux/sound/soc/qcom/qdsp6/ |
A D | q6apm-lpass-dais.c | 32 int ch_mask; in q6dma_set_channel_map() local 57 ch_mask = *tx_ch_mask; in q6dma_set_channel_map() 80 ch_mask = *rx_ch_mask; in q6dma_set_channel_map() 89 cfg->active_channels_mask = ch_mask; in q6dma_set_channel_map()
|
A D | q6afe-dai.c | 278 int ch_mask; in q6dma_set_channel_map() local 304 ch_mask = *tx_ch_mask; in q6dma_set_channel_map() 327 ch_mask = *rx_ch_mask; in q6dma_set_channel_map() 336 cfg->active_channels_mask = ch_mask; in q6dma_set_channel_map()
|
/linux/drivers/media/pci/tw686x/ |
A D | tw686x-core.c | 141 static void tw686x_reset_channels(struct tw686x_dev *dev, unsigned int ch_mask) in tw686x_reset_channels() argument 156 reg_write(dev, DMA_CHANNEL_ENABLE, dma_en & ~ch_mask); in tw686x_reset_channels() 158 if ((dma_en & ~ch_mask) == 0) { in tw686x_reset_channels() 162 reg_write(dev, DMA_CMD, dma_cmd & ~ch_mask); in tw686x_reset_channels()
|
/linux/include/linux/platform_data/txx9/ |
A D | ndfmc.h | 20 unsigned char ch_mask; /* available channel bitmask */ member
|
/linux/include/sound/sof/ |
A D | channel_map.h | 40 uint32_t ch_mask; member
|
/linux/sound/soc/amd/yc/ |
A D | acp6x-pdm-dma.c | 284 unsigned int ch_mask; in acp6x_pdm_dai_trigger() local 290 ch_mask = 0x00; in acp6x_pdm_dai_trigger() 299 acp6x_writel(ch_mask, rtd->acp6x_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp6x_pdm_dai_trigger()
|
/linux/include/linux/soundwire/ |
A D | sdw.h | 560 unsigned int ch_mask; member 794 unsigned int ch_mask; member 934 unsigned int ch_mask; member
|
/linux/sound/soc/amd/renoir/ |
A D | acp3x-pdm-dma.c | 310 unsigned int ch_mask; in acp_pdm_dai_trigger() local 316 ch_mask = 0x00; in acp_pdm_dai_trigger() 325 rn_writel(ch_mask, rtd->acp_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp_pdm_dai_trigger()
|
/linux/drivers/mtd/nand/raw/ |
A D | txx9ndfmc.c | 320 if (!(plat->ch_mask & (1 << i))) in txx9ndfmc_probe() 341 if (plat->ch_mask != 1) { in txx9ndfmc_probe()
|
/linux/drivers/input/misc/ |
A D | ati_remote2.c | 665 static int ati_remote2_setup(struct ati_remote2 *ar2, unsigned int ch_mask) in ati_remote2_setup() argument 680 if ((1 << i) & ch_mask) { in ati_remote2_setup() 681 if (!(~(1 << i) & ch_mask)) in ati_remote2_setup()
|
/linux/drivers/dma/lgm/ |
A D | lgm-dma.c | 894 unsigned long ch_mask = (unsigned long)d->channels_mask; in ldma_dev_init() local 911 for_each_set_bit(j, &ch_mask, d->chan_nrs) { in ldma_dev_init() 1568 unsigned long ch_mask; in intel_ldma_probe() local 1669 ch_mask = (unsigned long)d->channels_mask; in intel_ldma_probe() 1670 for_each_set_bit(j, &ch_mask, d->chan_nrs) { in intel_ldma_probe()
|