/Linux-v6.1/drivers/soundwire/ |
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()
|
D | stream.c | 322 ret = sdw_write(s_rt->slave, addr, p_rt->ch_mask); in sdw_enable_disable_slave_ports() 344 enable_ch.ch_mask = p_rt->ch_mask; in sdw_enable_disable_master_ports() 440 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_slave_ports() 479 ret = sdw_write(s_rt->slave, addr, p_rt->ch_mask); in sdw_prep_deprep_slave_ports() 495 if ((val < 0) || (val & p_rt->ch_mask)) { in sdw_prep_deprep_slave_ports() 525 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_master_ports() 903 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_config()
|
D | cadence_master.c | 1526 int dpn_chnen_off, ch_mask; in cdns_port_enable() local 1533 ch_mask = enable_ch->ch_mask * enable_ch->enable; in cdns_port_enable() 1534 cdns_writel(cdns, dpn_chnen_off, ch_mask); in cdns_port_enable()
|
/Linux-v6.1/sound/soc/amd/acp/ |
D | acp-pdm.c | 120 unsigned int channels, ch_mask; in acp_dmic_hwparams() local 125 ch_mask = 0; in acp_dmic_hwparams() 128 ch_mask = 1; in acp_dmic_hwparams() 131 ch_mask = 2; in acp_dmic_hwparams() 143 writel(ch_mask, adata->acp_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp_dmic_hwparams()
|
/Linux-v6.1/sound/soc/codecs/ |
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()
|
D | rt1308-sdw.c | 549 int retval, port, num_channels, ch_mask; in rt1308_sdw_hw_params() local 571 ch_mask = rt1308->rx_mask; in rt1308_sdw_hw_params() 574 ch_mask = (1 << num_channels) - 1; in rt1308_sdw_hw_params() 582 port_config.ch_mask = ch_mask; in rt1308_sdw_hw_params()
|
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()
|
D | wsa881x.c | 430 .ch_mask = 0x1, 433 .ch_mask = 0xf, 436 .ch_mask = 0x3, 439 .ch_mask = 0x3,
|
D | wcd938x.h | 597 unsigned int ch_mask; member 603 .ch_mask = cmask, \
|
D | wsa883x.c | 528 .ch_mask = 0x1, 531 .ch_mask = 0xf, 534 .ch_mask = 0x3, 537 .ch_mask = 0x3,
|
D | sdw-mockup.c | 113 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
|
D | max98373-sdw.c | 565 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params() 573 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
|
/Linux-v6.1/sound/soc/qcom/qdsp6/ |
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()
|
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-v6.1/drivers/media/pci/tw686x/ |
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-v6.1/arch/mips/txx9/generic/ |
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-v6.1/include/linux/platform_data/txx9/ |
D | ndfmc.h | 20 unsigned char ch_mask; /* available channel bitmask */ member
|
/Linux-v6.1/include/sound/sof/ |
D | channel_map.h | 40 uint32_t ch_mask; member
|
/Linux-v6.1/include/linux/soundwire/ |
D | sdw.h | 560 unsigned int ch_mask; member 790 unsigned int ch_mask; member 939 unsigned int ch_mask; member
|
/Linux-v6.1/sound/soc/amd/yc/ |
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-v6.1/sound/soc/amd/ps/ |
D | ps-pdm-dma.c | 287 unsigned int ch_mask; in acp62_pdm_dai_trigger() local 293 ch_mask = 0x00; in acp62_pdm_dai_trigger() 302 acp62_writel(ch_mask, rtd->acp62_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp62_pdm_dai_trigger()
|
/Linux-v6.1/sound/soc/amd/renoir/ |
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-v6.1/drivers/mtd/nand/raw/ |
D | txx9ndfmc.c | 320 if (!(plat->ch_mask & (1 << i))) in txx9ndfmc_probe() 341 if (plat->ch_mask != 1) { in txx9ndfmc_probe()
|
/Linux-v6.1/drivers/input/misc/ |
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-v6.1/drivers/dma/lgm/ |
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 1670 ch_mask = (unsigned long)d->channels_mask; in intel_ldma_probe() 1671 for_each_set_bit(j, &ch_mask, d->chan_nrs) { in intel_ldma_probe()
|