Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.h97 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()
Dstream.c318 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()
Dgeneric_bandwidth_allocation.c57 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()
Dqcom.c438 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()
Dcadence_master.c1360 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/
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()
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()
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
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()
/kernel/linux/linux-5.10/include/linux/
Dlightnvm.h205 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/
Dndfmc.h20 unsigned char ch_mask; /* available channel bitmask */ member
/kernel/linux/linux-5.10/include/sound/sof/
Dchannel_map.h40 uint32_t ch_mask; member
/kernel/linux/linux-5.10/sound/soc/codecs/
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()
Dwsa881x.c428 .ch_mask = 0x1,
431 .ch_mask = 0xf,
434 .ch_mask = 0x3,
437 .ch_mask = 0x3,
Dmax98373-sdw.c550 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()
Dda7219.c1428 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()
Drt5682-sdw.c164 port_config.ch_mask = (1 << (num_channels)) - 1; in rt5682_sdw_hw_params()
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h528 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/
Dacp3x-pdm-dma.c323 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/
Dtxx9ndfmc.c323 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/
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()
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6afe-dai.c360 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/
Dtx4939.h518 unsigned char ch_mask, unsigned char wide_mask);
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c104 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/
Drcar_drif.c134 #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/
Dpblk-init.c236 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()

12