Home
last modified time | relevance | path

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

/openbmc/qemu/hw/intc/
H A Dexynos4210_combiner.c58 VMSTATE_UINT8(src_mask, CombinerGroupState),
111 val |= s->group[grp_quad_base_n].src_mask & in exynos4210_combiner_read()
113 val |= (s->group[grp_quad_base_n + 1].src_mask & in exynos4210_combiner_read()
115 val |= (s->group[grp_quad_base_n + 2].src_mask & in exynos4210_combiner_read()
117 val |= (s->group[grp_quad_base_n + 3].src_mask & in exynos4210_combiner_read()
136 if (s->group[group_n].src_mask & s->group[group_n].src_pending) { in exynos4210_combiner_update()
217 s->group[grp_quad_base_n].src_mask |= val & 0xFF; in exynos4210_combiner_write()
218 s->group[grp_quad_base_n + 1].src_mask |= (val & 0xFF00) >> 8; in exynos4210_combiner_write()
219 s->group[grp_quad_base_n + 2].src_mask |= (val & 0xFF0000) >> 16; in exynos4210_combiner_write()
220 s->group[grp_quad_base_n + 3].src_mask |= (val & 0xFF000000) >> 24; in exynos4210_combiner_write()
[all …]
/openbmc/linux/drivers/clk/renesas/
H A 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()
/openbmc/linux/sound/pci/lola/
H A 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 …]
H A Dlola.h273 unsigned int src_mask; member
504 int lola_set_src_config(struct lola *chip, unsigned int src_mask, bool update);
/openbmc/linux/drivers/clk/
H A 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()
H A 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()
/openbmc/qemu/hw/misc/
H A Daspeed_hace.c344 data &= ahc->src_mask; in aspeed_hace_write()
483 ahc->src_mask = 0x0FFFFFFF; in aspeed_ast2400_hace_class_init()
502 ahc->src_mask = 0x3fffffff; in aspeed_ast2500_hace_class_init()
521 ahc->src_mask = 0x7FFFFFFF; in aspeed_ast2600_hace_class_init()
540 ahc->src_mask = 0x7FFFFFFF; in aspeed_ast1030_hace_class_init()
/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_devgroup.h17 __u32 src_mask; member
H A Dxt_HMARK.h41 union nf_inet_addr src_mask; member
/openbmc/linux/drivers/remoteproc/
H A Dimx_rproc.h31 u32 src_mask; member
H A Dimx_rproc.c297 .src_mask = IMX7D_M4_RST_MASK,
315 .src_mask = IMX7D_M4_RST_MASK,
349 .src_mask = IMX7D_M4_RST_MASK,
359 .src_mask = IMX6SX_M4_RST_MASK,
392 dcfg->src_mask, in imx_rproc_start()
433 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_rproc_stop()
1079 if ((val & dcfg->src_mask) != dcfg->src_stop) in imx_rproc_detect_mode()
H A Dimx_dsp_rproc.c239 .src_mask = IMX8M_AudioDSP_REG2_RUNSTALL,
255 .src_mask = IMX8ULP_SYSCTRL0_DSP_STALL,
327 dcfg->src_mask, in imx_dsp_rproc_start()
367 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, dcfg->src_mask, in imx_dsp_rproc_stop()
/openbmc/qemu/include/hw/intc/
H A Dexynos4210_combiner.h32 uint8_t src_mask; /* 1 - source enabled, 0 - disabled */ member
/openbmc/linux/net/netfilter/
H A 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()
H A Dxt_devgroup.c24 (((info->src_group ^ xt_in(par)->group) & info->src_mask ? 1 : 0) ^ in devgroup_mt()
/openbmc/qemu/include/hw/misc/
H A Daspeed_hace.h48 uint32_t src_mask; member
/openbmc/linux/sound/mips/
H A 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()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A 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
/openbmc/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c374 .src_mask = LOCHNAGAR1_SRC_MASK, \
386 .src_mask = LOCHNAGAR2_AIF_SRC_MASK, \
399 u16 src_mask; member
873 ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); in lochnagar_aif_set_mux()
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dclock.c22 int32_t src_mask; member
433 src = (src >> bit_info->src_bit) & bit_info->src_mask; in exynos5_get_periph_rate()
524 src = (src >> bit_info->src_bit) & bit_info->src_mask; in exynos542x_get_periph_rate()
/openbmc/linux/arch/powerpc/perf/
H A Dpower10-pmu.c228 PMU_FORMAT_ATTR(src_mask, "config:48-53");