/kernel/linux/linux-5.10/drivers/soundwire/ |
D | bus.h | 97 int ch_mask; member 161 static inline int sdw_ch_mask_to_ch(int ch_mask) in sdw_ch_mask_to_ch() argument 165 for (c = 0; ch_mask; ch_mask >>= 1) in sdw_ch_mask_to_ch() 166 c += ch_mask & 1; in sdw_ch_mask_to_ch()
|
D | stream.c | 318 ret = sdw_write(s_rt->slave, addr, p_rt->ch_mask); in sdw_enable_disable_slave_ports() 340 enable_ch.ch_mask = p_rt->ch_mask; in sdw_enable_disable_master_ports() 430 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_slave_ports() 469 ret = sdw_write(s_rt->slave, addr, p_rt->ch_mask); in sdw_prep_deprep_slave_ports() 485 if ((val < 0) || (val & p_rt->ch_mask)) { in sdw_prep_deprep_slave_ports() 515 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_master_ports() 1202 p_rt->ch_mask = port_config[port_index].ch_mask; in sdw_port_alloc()
|
D | generic_bandwidth_allocation.c | 57 ch = sdw_ch_mask_to_ch(p_rt->ch_mask); in sdw_compute_slave_ports() 113 no_ch = sdw_ch_mask_to_ch(p_rt->ch_mask); in sdw_compute_master_ports()
|
D | qcom.c | 438 val |= (enable_ch->ch_mask << SWRM_DP_PORT_CTRL_EN_CHAN_SHFT); in qcom_swrm_port_enable() 562 pconfig[nports].ch_mask = p_rt->ch_mask; in qcom_swrm_stream_alloc_ports()
|
D | cadence_master.c | 1360 int dpn_chnen_off, ch_mask; in cdns_port_enable() local 1367 ch_mask = enable_ch->ch_mask * enable_ch->enable; in cdns_port_enable() 1368 cdns_writel(cdns, dpn_chnen_off, ch_mask); in cdns_port_enable()
|
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
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()
|
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | lightnvm.h | 205 u64 ch_mask; member 226 u64 ch_mask; member 478 l.g.ch = (r.ppa & ppaf->ch_mask) >> ppaf->ch_offset; in dev_to_generic_addr() 487 l.m.grp = (r.ppa & lbaf->ch_mask) >> lbaf->ch_offset; in dev_to_generic_addr() 533 ppa64.g.ch = (ppa32 & ppaf->ch_mask) >> in nvm_ppa32_to_ppa64() 548 ppa64.m.grp = (ppa32 & lbaf->ch_mask) >> in nvm_ppa32_to_ppa64()
|
/kernel/linux/linux-5.10/include/linux/platform_data/txx9/ |
D | ndfmc.h | 20 unsigned char ch_mask; /* available channel bitmask */ member
|
/kernel/linux/linux-5.10/include/sound/sof/ |
D | channel_map.h | 40 uint32_t ch_mask; member
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
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()
|
D | wsa881x.c | 428 .ch_mask = 0x1, 431 .ch_mask = 0xf, 434 .ch_mask = 0x3, 437 .ch_mask = 0x3,
|
D | max98373-sdw.c | 550 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params() 558 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
|
D | da7219.c | 1428 unsigned int ch_mask; in da7219_set_dai_tdm_slot() local 1447 ch_mask = (tx_mask >> slot_offset); in da7219_set_dai_tdm_slot() 1448 if (fls(ch_mask) > DA7219_DAI_TDM_MAX_SLOTS) { in da7219_set_dai_tdm_slot() 1500 (ch_mask << DA7219_DAI_TDM_CH_EN_SHIFT) | in da7219_set_dai_tdm_slot()
|
D | rt5682-sdw.c | 164 port_config.ch_mask = (1 << (num_channels)) - 1; in rt5682_sdw_hw_params()
|
/kernel/linux/linux-5.10/include/linux/soundwire/ |
D | sdw.h | 528 unsigned int ch_mask; member 758 unsigned int ch_mask; member 896 unsigned int ch_mask; member
|
/kernel/linux/linux-5.10/sound/soc/amd/renoir/ |
D | acp3x-pdm-dma.c | 323 unsigned int ch_mask; in acp_pdm_dai_trigger() local 329 ch_mask = 0x00; in acp_pdm_dai_trigger() 338 rn_writel(ch_mask, rtd->acp_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp_pdm_dai_trigger()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | txx9ndfmc.c | 323 if (!(plat->ch_mask & (1 << i))) in txx9ndfmc_probe() 344 if (plat->ch_mask != 1) { in txx9ndfmc_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 360 int ch_mask; in q6dma_set_channel_map() local 386 ch_mask = *tx_ch_mask; in q6dma_set_channel_map() 409 ch_mask = *rx_ch_mask; in q6dma_set_channel_map() 418 cfg->active_channels_mask = ch_mask; in q6dma_set_channel_map()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/txx9/ |
D | tx4939.h | 518 unsigned char ch_mask, unsigned char wide_mask);
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 104 u32 ch_mask = 1 << solo_enc->ch; in solo_motion_detected() local 108 if (solo_reg_read(solo_dev, SOLO_VI_MOT_STATUS) & ch_mask) { in solo_motion_detected() 109 solo_reg_write(solo_dev, SOLO_VI_MOT_CLEAR, ch_mask); in solo_motion_detected()
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | rcar_drif.c | 134 #define for_each_rcar_drif_channel(ch, ch_mask) \ argument 135 for_each_set_bit(ch, ch_mask, RCAR_DRIF_MAX_CHANNEL)
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-init.c | 236 dst->ch_mask = ((1ULL << dst->ch_len) - 1) << dst->ch_offset; in pblk_set_addrf_12() 262 adst->ch_mask = ((1ULL << adst->ch_len) - 1) << adst->ch_offset; in pblk_set_addrf_20()
|