Home
last modified time | relevance | path

Searched refs:ch_mask (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/soundwire/
A Dbus.h99 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 Dstream.c321 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 Dcadence_master.c1503 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 Dqcom.c792 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 Dwcd938x-sdw.c108 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 Drt1308-sdw.c531 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 Drt1316-sdw.c526 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 Dwsa881x.c428 .ch_mask = 0x1,
431 .ch_mask = 0xf,
434 .ch_mask = 0x3,
437 .ch_mask = 0x3,
A Dwcd938x.h597 unsigned int ch_mask; member
603 .ch_mask = cmask, \
A Dsdw-mockup.c112 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
A Dmax98373-sdw.c563 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 Dda7219.c1422 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 Dsetup_tx4939.c284 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 Dsetup_tx4938.c291 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 Dq6apm-lpass-dais.c32 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 Dq6afe-dai.c278 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 Dtw686x-core.c141 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 Dndfmc.h20 unsigned char ch_mask; /* available channel bitmask */ member
/linux/include/sound/sof/
A Dchannel_map.h40 uint32_t ch_mask; member
/linux/sound/soc/amd/yc/
A Dacp6x-pdm-dma.c284 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 Dsdw.h560 unsigned int ch_mask; member
794 unsigned int ch_mask; member
934 unsigned int ch_mask; member
/linux/sound/soc/amd/renoir/
A Dacp3x-pdm-dma.c310 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 Dtxx9ndfmc.c320 if (!(plat->ch_mask & (1 << i))) in txx9ndfmc_probe()
341 if (plat->ch_mask != 1) { in txx9ndfmc_probe()
/linux/drivers/input/misc/
A Dati_remote2.c665 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 Dlgm-dma.c894 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()

Completed in 80 milliseconds

12