/linux/drivers/clk/renesas/ |
A 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/sound/pci/lola/ |
A D | lola_mixer.c | 195 chip->mixer.src_mask = ((1U << chip->mixer.src_phys_ins) - 1) | in lola_init_mixer_widget() 203 chip->mixer.src_mask, chip->mixer.dest_mask); in lola_init_mixer_widget() 213 if (!(chip->mixer.src_mask & (1 << id))) in lola_mixer_set_src_gain() 242 if ((chip->mixer.src_mask & mask) != mask) 274 if (!(chip->mixer.src_mask & (1 << src)) || in lola_mixer_set_mapping_gain() 297 (chip->mixer.src_mask & mask) != mask) 418 if ((chip->input_src_caps_mask & src_mask) != src_mask) in lola_set_src_config() 427 new_src = (src_mask & mask) != 0; in lola_set_src_config() 443 chip->input_src_mask = src_mask; in lola_set_src_config() 683 if (!(chip->mixer.src_mask & (1 << idx))) in lola_src_gain_get() [all …]
|
A 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/drivers/clk/ |
A 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()
|
A D | clk-versaclock5.c | 910 unsigned int oe, sd, src_mask = 0, src_val = 0; in vc5_probe() local 940 src_mask |= VC5_PRIM_SRC_SHDN_EN_GBL_SHDN; in vc5_probe() 951 src_mask |= VC5_PRIM_SRC_SHDN_SP; in vc5_probe() 959 regmap_update_bits(vc5->regmap, VC5_PRIM_SRC_SHDN, src_mask, src_val); in vc5_probe()
|
/linux/drivers/remoteproc/ |
A D | imx_rproc.c | 222 .src_mask = IMX7D_M4_RST_MASK, 244 .src_mask = IMX7D_M4_RST_MASK, 254 .src_mask = IMX6SX_M4_RST_MASK, 272 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_start() 299 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
|
A D | imx_rproc.h | 31 u32 src_mask; member
|
A 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() 360 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_dsp_rproc_stop()
|
/linux/net/netfilter/ |
A 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()
|
A D | xt_devgroup.c | 24 (((info->src_group ^ xt_in(par)->group) & info->src_mask ? 1 : 0) ^ in devgroup_mt()
|
/linux/include/uapi/linux/netfilter/ |
A D | xt_devgroup.h | 17 __u32 src_mask; member
|
A D | xt_HMARK.h | 41 union nf_inet_addr src_mask; member
|
/linux/sound/mips/ |
A 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/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_selftests.c | 1332 u32 dst_mask, u32 src_mask) in __stmmac_test_l3filt() argument 1384 mask.src = src_mask; in __stmmac_test_l3filt() 1429 u32 dst_mask, u32 src_mask) in __stmmac_test_l3filt() argument 1451 u32 dst_mask, u32 src_mask, bool udp) in __stmmac_test_l4filt() argument 1513 masks.mask.src = src_mask; in __stmmac_test_l4filt() 1560 u32 dst_mask, u32 src_mask, bool udp) in __stmmac_test_l4filt() argument
|
/linux/drivers/pinctrl/cirrus/ |
A 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/arch/powerpc/perf/ |
A D | power10-pmu.c | 228 PMU_FORMAT_ATTR(src_mask, "config:48-53");
|