Searched refs:enable_val (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/regulator/ |
D | regulator_axp192.c | 38 const uint8_t enable_val; member 70 .enable_val = 0x01U, 89 .enable_val = 0x10U, 108 .enable_val = 0x02U, 127 .enable_val = 0x03u, 145 .enable_val = 0x04U, 163 .enable_val = 0x08U, 181 config->desc->enable_val, config->desc->enable_mask); in axp192_enable() 188 config->desc->enable_mask, config->desc->enable_val); in axp192_enable() 363 is_enabled = ((enabled_val & config->desc->enable_mask) == config->desc->enable_val); in regulator_axp192_init()
|
D | regulator_pca9420.c | 92 uint8_t enable_val; member 151 .enable_val = PCA9420_MODECFG_2_SW1_EN_VAL, 163 .enable_val = PCA9420_MODECFG_2_SW2_EN_VAL, 175 .enable_val = PCA9420_MODECFG_2_LDO1_EN_VAL, 187 .enable_val = PCA9420_MODECFG_2_LDO2_EN_VAL, 282 en_val = config->enable_inverted ? 0 : config->desc->enable_val; in regulator_pca9420_enable() 295 dis_val = config->enable_inverted ? config->desc->enable_val : 0; in regulator_pca9420_disable()
|