Searched refs:inst_glue (Results 1 – 2 of 2) sorted by relevance
99 struct glue_reg *const inst_glue = HAL_GLUE_INST(); in npcx_pinctrl_i2c_port_sel() local102 inst_glue->SMB_SEL |= BIT(controller); in npcx_pinctrl_i2c_port_sel()104 inst_glue->SMB_SEL &= ~BIT(controller); in npcx_pinctrl_i2c_port_sel()110 struct glue_reg *const inst_glue = HAL_GLUE_INST(); in npcx_i2c_target_start_wk_enable() local114 inst_glue->SMB_SBD |= BIT(controller); in npcx_i2c_target_start_wk_enable()116 inst_glue->SMB_EEN |= BIT(controller); in npcx_i2c_target_start_wk_enable()119 inst_glue->SMB_EEN &= ~BIT(controller); in npcx_i2c_target_start_wk_enable()125 struct glue_reg *const inst_glue = HAL_GLUE_INST(); in npcx_i2c_target_clear_detection_event() local126 uint8_t een = inst_glue->SMB_EEN; in npcx_i2c_target_clear_detection_event()127 uint8_t sbd = inst_glue->SMB_SBD; in npcx_i2c_target_clear_detection_event()[all …]
130 struct glue_reg *inst_glue = (struct glue_reg *)(npcx_pinctrl_cfg.base_glue); in npcx_psl_input_detection_configure() local143 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()