Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_npcx_controller.c214 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_BNK_SEL); in i2c_ctrl_bank_sel()
216 inst->SMBCTL3 &= ~BIT(NPCX_SMBCTL3_BNK_SEL); in i2c_ctrl_bank_sel()
239 inst->SMBCTL3 = (inst->SMBCTL3 & ~BIT(NPCX_SMBCTL3_SCL_LVL)) in i2c_ctrl_norm_stall_scl()
255 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_SCL_LVL) | BIT(NPCX_SMBCTL3_SDA_LVL); in i2c_ctrl_norm_free_scl()
268 inst->SMBCTL3 = (inst->SMBCTL3 & ~BIT(NPCX_SMBCTL3_SDA_LVL)) in i2c_ctrl_norm_stall_sda()
284 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_SDA_LVL) | BIT(NPCX_SMBCTL3_SCL_LVL); in i2c_ctrl_norm_free_sda()
392 inst->SMBCTL3 &= ~(BIT(NPCX_SMBCTL3_400K)); in i2c_ctrl_config_bus_freq()
396 SET_FIELD(inst->SMBCTL3, NPCX_SMBCTL3_SCLFRQ7_8_FIELD, in i2c_ctrl_config_bus_freq()
402 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_400K); in i2c_ctrl_config_bus_freq()
445 if (IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SCL_LVL) && in i2c_ctrl_is_scl_sda_both_high()
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/reg/
Dreg_def.h1146 volatile uint8_t SMBCTL3; member