/linux-6.1.9/drivers/clk/renesas/ |
D | clk-div6.c | 39 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/ |
D | lola_mixer.c | 197 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 …]
|
D | lola.h | 273 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/ |
D | clk-lochnagar.c | 36 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()
|
D | clk-versaclock5.c | 945 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/ |
D | imx_rproc.c | 250 .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()
|
D | imx_rproc.h | 31 u32 src_mask; member
|
D | imx_dsp_rproc.c | 229 .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/ |
D | xt_devgroup.h | 17 __u32 src_mask; member
|
D | xt_HMARK.h | 41 union nf_inet_addr src_mask; member
|
/linux-6.1.9/net/netfilter/ |
D | xt_HMARK.c | 93 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()
|
D | xt_devgroup.c | 24 (((info->src_group ^ xt_in(par)->group) & info->src_mask ? 1 : 0) ^ in devgroup_mt()
|
/linux-6.1.9/sound/mips/ |
D | sgio2audio.c | 396 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/ |
D | stmmac_selftests.c | 1331 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/ |
D | pinctrl-lochnagar.c | 372 .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/ |
D | power10-pmu.c | 228 PMU_FORMAT_ATTR(src_mask, "config:48-53");
|