Home
last modified time | relevance | path

Searched refs:psl_in (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_npcx.c132 const struct npcx_psl_input *psl_in = (const struct npcx_psl_input *)&pin->cfg.psl_in; 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()
143 inst_glue->PSL_CTS |= NPCX_PSL_CTS_MODE_BIT(psl_in->port); in npcx_psl_input_detection_configure()
145 inst_glue->PSL_CTS &= ~NPCX_PSL_CTS_MODE_BIT(psl_in->port); in npcx_psl_input_detection_configure()
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h125 struct npcx_psl_input psl_in; member
241 .cfg.psl_in.port = DT_PROP(node_id, psl_offset), \
242 .cfg.psl_in.pol_group = DT_PHA(DT_PROP(node_id, prop), alts, group), \
243 .cfg.psl_in.pol_bit = DT_PHA(DT_PROP(node_id, prop), alts, bit), \