Home
last modified time | relevance | path

Searched refs:enable_reg (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_silabs_dbus.c20 mem_addr_t enable_reg, route_reg; in pinctrl_configure_pins() local
26 enable_reg = DT_INST_REG_ADDR(0) + (pins[i].base_offset * sizeof(mem_addr_t)); in pinctrl_configure_pins()
27 route_reg = enable_reg + (pins[i].route_offset * sizeof(mem_addr_t)); in pinctrl_configure_pins()
32 sys_set_bit(enable_reg, pins[i].en_bit); in pinctrl_configure_pins()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_mtk_adsp.c13 volatile uint32_t *enable_reg; member
21 return (*cfg->enable_reg | (BIT(irq) & cfg->irq_mask)) != 0; in intc_mtk_adsp_get_enable()
32 *cfg->enable_reg |= BIT(irq); in intc_mtk_adsp_set_enable()
34 *cfg->enable_reg &= ~BIT(irq); in intc_mtk_adsp_set_enable()
57 *cfg->enable_reg = 0; in dev_init()
78 .enable_reg = (void *)DT_INST_REG_ADDR(N), \
/Zephyr-latest/drivers/regulator/
Dregulator_axp192.c36 const uint8_t enable_reg; member
68 .enable_reg = AXP192_REG_DCDC123_LDO23_CONTROL,
87 .enable_reg = AXP192_REG_EXTEN_DCDC2_CONTROL,
106 .enable_reg = AXP192_REG_DCDC123_LDO23_CONTROL,
125 .enable_reg = AXP192_REG_GPIO0_CONTROL,
143 .enable_reg = AXP192_REG_DCDC123_LDO23_CONTROL,
161 .enable_reg = AXP192_REG_DCDC123_LDO23_CONTROL,
180 LOG_INST_DBG(config->log, "[0x%02x]=0x%02x mask=0x%02x", config->desc->enable_reg, in axp192_enable()
184 if (config->desc->enable_reg == AXP192_REG_GPIO0_CONTROL) { in axp192_enable()
187 ret = i2c_reg_update_byte_dt(&config->i2c, config->desc->enable_reg, in axp192_enable()
[all …]
Dregulator_pca9420.c110 uint8_t enable_reg; member
172 .enable_reg = PCA9420_MODECFG_0_2,
186 .enable_reg = PCA9420_MODECFG_0_2,
200 .enable_reg = PCA9420_MODECFG_0_2,
214 .enable_reg = PCA9420_MODECFG_0_2,
344 return i2c_reg_update_byte_dt(&cconfig->i2c, config->desc->enable_reg in regulator_pca9420_enable()
357 return i2c_reg_update_byte_dt(&cconfig->i2c, config->desc->enable_reg in regulator_pca9420_disable()
393 config->desc->enable_reg + PCA9420_MODECFG_OFFSET(i), in regulator_pca9420_init()