Home
last modified time | relevance | path

Searched refs:scfg_base (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_npcx.c51 const uintptr_t scfg_base = npcx_pinctrl_cfg.base_scfg; in npcx_periph_pinmux_configure() local
62 NPCX_DEVALT(scfg_base, alt->group) |= alt_mask; in npcx_periph_pinmux_configure()
64 NPCX_DEVALT(scfg_base, alt->group) &= ~alt_mask; in npcx_periph_pinmux_configure()
68 NPCX_DEVALT_LK(scfg_base, alt->group) |= alt_mask; in npcx_periph_pinmux_configure()
75 const uintptr_t scfg_base = npcx_pinctrl_cfg.base_scfg; in npcx_periph_pupd_configure() local
78 NPCX_PUPD_EN(scfg_base, pupd->group) &= ~BIT(pupd->bit); in npcx_periph_pupd_configure()
80 NPCX_PUPD_EN(scfg_base, pupd->group) |= BIT(pupd->bit); in npcx_periph_pupd_configure()
131 const uintptr_t scfg_base = npcx_pinctrl_cfg.base_scfg; in npcx_psl_input_detection_configure() local
136 NPCX_DEVALT(scfg_base, psl_in->pol_group) |= BIT(psl_in->pol_bit); in npcx_psl_input_detection_configure()
138 NPCX_DEVALT(scfg_base, psl_in->pol_group) &= ~BIT(psl_in->pol_bit); in npcx_psl_input_detection_configure()
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dscfg.c61 const uint32_t scfg_base = npcx_scfg_cfg.base_scfg; in npcx_pinctrl_alt_sel() local
72 NPCX_DEVALT(scfg_base, alt->group) |= alt_mask; in npcx_pinctrl_alt_sel()
74 NPCX_DEVALT(scfg_base, alt->group) &= ~alt_mask; in npcx_pinctrl_alt_sel()
81 const uintptr_t scfg_base = npcx_scfg_cfg.base_scfg; in npcx_lvol_set_detect_level() local
84 NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) |= BIT(lvol_bit); in npcx_lvol_set_detect_level()
86 NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) &= ~BIT(lvol_bit); in npcx_lvol_set_detect_level()
92 const uintptr_t scfg_base = npcx_scfg_cfg.base_scfg; in npcx_lvol_get_detect_level() local
94 return NPCX_LV_GPIO_CTL(scfg_base, lvol_ctrl) & BIT(lvol_bit); in npcx_lvol_get_detect_level()
/Zephyr-latest/soc/nuvoton/npcx/npcx9/
Dsoc.c19 uintptr_t scfg_base = DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), scfg); in soc_early_init_hook() local
21 SET_FIELD(NPCX_JEN_CTL1(scfg_base), NPCX_JEN_CTL1_JEN_HEN, in soc_early_init_hook()