Home
last modified time | relevance | path

Searched refs:src_mask (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/clk/renesas/
Dclk-div6.c39 u32 src_mask; member
171 if (clock->src_mask == 0) in cpg_div6_clock_get_parent()
174 hw_index = (readl(clock->reg) & clock->src_mask) >> in cpg_div6_clock_get_parent()
175 __ffs(clock->src_mask); in cpg_div6_clock_get_parent()
194 src = clock->parents[index] << __ffs(clock->src_mask); in cpg_div6_clock_set_parent()
195 writel((readl(clock->reg) & ~clock->src_mask) | src, clock->reg); in cpg_div6_clock_set_parent()
269 clock->src_mask = 0; in cpg_div6_register()
273 clock->src_mask = GENMASK(7, 6); in cpg_div6_register()
277 clock->src_mask = GENMASK(14, 12); in cpg_div6_register()
/linux-6.1.9/sound/pci/lola/
Dlola_mixer.c197 chip->mixer.src_mask = ((1U << chip->mixer.src_phys_ins) - 1) | in lola_init_mixer_widget()
205 chip->mixer.src_mask, chip->mixer.dest_mask); in lola_init_mixer_widget()
215 if (!(chip->mixer.src_mask & (1 << id))) in lola_mixer_set_src_gain()
244 if ((chip->mixer.src_mask & mask) != mask)
276 if (!(chip->mixer.src_mask & (1 << src)) || in lola_mixer_set_mapping_gain()
299 (chip->mixer.src_mask & mask) != mask)
413 int lola_set_src_config(struct lola *chip, unsigned int src_mask, bool update) in lola_set_src_config() argument
420 if ((chip->input_src_caps_mask & src_mask) != src_mask) in lola_set_src_config()
429 new_src = (src_mask & mask) != 0; in lola_set_src_config()
445 chip->input_src_mask = src_mask; in lola_set_src_config()
[all …]
Dlola.h273 unsigned int src_mask; member
504 int lola_set_src_config(struct lola *chip, unsigned int src_mask, bool update);
/linux-6.1.9/drivers/clk/
Dclk-lochnagar.c36 u16 src_mask; member
90 .src_mask = LOCHNAGAR1_SRC_MASK, \
99 .src_mask = LOCHNAGAR2_CLK_SRC_MASK, \
181 ret = regmap_update_bits(regmap, lclk->src_reg, lclk->src_mask, index); in lochnagar_clk_set_parent()
204 val &= lclk->src_mask; in lochnagar_clk_get_parent()
Dclk-versaclock5.c945 unsigned int oe, sd, src_mask = 0, src_val = 0; in vc5_probe() local
975 src_mask |= VC5_PRIM_SRC_SHDN_EN_GBL_SHDN; in vc5_probe()
986 src_mask |= VC5_PRIM_SRC_SHDN_SP; in vc5_probe()
994 ret = regmap_update_bits(vc5->regmap, VC5_PRIM_SRC_SHDN, src_mask, in vc5_probe()
/linux-6.1.9/drivers/remoteproc/
Dimx_rproc.c250 .src_mask = IMX7D_M4_RST_MASK,
272 .src_mask = IMX7D_M4_RST_MASK,
282 .src_mask = IMX6SX_M4_RST_MASK,
306 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_start()
333 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
721 if ((val & dcfg->src_mask) != dcfg->src_stop) in imx_rproc_detect_mode()
Dimx_rproc.h31 u32 src_mask; member
Dimx_dsp_rproc.c229 .src_mask = IMX8M_AudioDSP_REG2_RUNSTALL,
245 .src_mask = IMX8ULP_SYSCTRL0_DSP_STALL,
317 dcfg->src_mask, in imx_dsp_rproc_start()
357 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_dsp_rproc_stop()
/linux-6.1.9/include/uapi/linux/netfilter/
Dxt_devgroup.h17 __u32 src_mask; member
Dxt_HMARK.h41 union nf_inet_addr src_mask; member
/linux-6.1.9/net/netfilter/
Dxt_HMARK.c93 info->src_mask.ip6); in hmark_ct_set_htuple()
193 t->src = hmark_addr6_mask(ip6->saddr.s6_addr32, info->src_mask.ip6); in hmark_pkt_set_htuple_ipv6()
266 t->src = ip->saddr & info->src_mask.ip; in hmark_pkt_set_htuple_ipv4()
Dxt_devgroup.c24 (((info->src_group ^ xt_in(par)->group) & info->src_mask ? 1 : 0) ^ in devgroup_mt()
/linux-6.1.9/sound/mips/
Dsgio2audio.c396 unsigned long dst_base, dst_pos, src_mask; in snd_sgio2audio_dma_push_frag() local
410 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_push_frag()
428 src_pos = (src_pos + 2 * sizeof(s16)) & src_mask; in snd_sgio2audio_dma_push_frag()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1331 u32 dst_mask, u32 src_mask) in __stmmac_test_l3filt() argument
1383 mask.src = src_mask; in __stmmac_test_l3filt()
1428 u32 dst_mask, u32 src_mask) in __stmmac_test_l3filt() argument
1450 u32 dst_mask, u32 src_mask, bool udp) in __stmmac_test_l4filt() argument
1512 masks.mask.src = src_mask; in __stmmac_test_l4filt()
1559 u32 dst_mask, u32 src_mask, bool udp) in __stmmac_test_l4filt() argument
/linux-6.1.9/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c372 .src_mask = LOCHNAGAR1_SRC_MASK, \
384 .src_mask = LOCHNAGAR2_AIF_SRC_MASK, \
397 u16 src_mask; member
871 ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); in lochnagar_aif_set_mux()
/linux-6.1.9/arch/powerpc/perf/
Dpower10-pmu.c228 PMU_FORMAT_ATTR(src_mask, "config:48-53");