Home
last modified time | relevance | path

Searched refs:mfd_npm1300_reg_read (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/mfd/
Dnpm1300.h67 int mfd_npm1300_reg_read(const struct device *dev, uint8_t base, uint8_t offset, uint8_t *data);
/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/
Dnpm1300_charger.c281 ret = mfd_npm1300_reg_read(config->mfd, CHGR_BASE, CHGR_OFFSET_CHG_STAT, &data->status); in npm1300_charger_sample_fetch()
286 ret = mfd_npm1300_reg_read(config->mfd, CHGR_BASE, CHGR_OFFSET_ERR_REASON, &data->error); in npm1300_charger_sample_fetch()
317 ret = mfd_npm1300_reg_read(config->mfd, VBUS_BASE, VBUS_OFFSET_STATUS, &data->vbus_stat); in npm1300_charger_sample_fetch()
383 ret = mfd_npm1300_reg_read(config->mfd, CHGR_BASE, CHGR_OFFSET_EN_SET, &data); in npm1300_charger_attr_get()
395 ret = mfd_npm1300_reg_read(config->mfd, VBUS_BASE, VBUS_OFFSET_DETECT, &data); in npm1300_charger_attr_get()
416 ret = mfd_npm1300_reg_read(config->mfd, VBUS_BASE, VBUS_OFFSET_STATUS, &data); in npm1300_charger_attr_get()
/Zephyr-latest/drivers/regulator/
Dregulator_npm1300.c163 ret = mfd_npm1300_reg_read(config->mfd, BUCK_BASE, BUCK_OFFSET_SW_CTRL, &sel); in buck_get_voltage_index()
171 return mfd_npm1300_reg_read(config->mfd, BUCK_BASE, in buck_get_voltage_index()
176 return mfd_npm1300_reg_read(config->mfd, BUCK_BASE, BUCK_OFFSET_VOUT_STAT + chan, idx); in buck_get_voltage_index()
265 ret = mfd_npm1300_reg_read(config->mfd, LDSW_BASE, LDSW_OFFSET_VOUTSEL + chan, &idx); in ldo_get_voltage()
534 int ret = mfd_npm1300_reg_read(config->mfd, base, offset, &data); in get_enabled_reg()
/Zephyr-latest/drivers/mfd/
Dmfd_npm1300.c196 int mfd_npm1300_reg_read(const struct device *dev, uint8_t base, uint8_t offset, uint8_t *data) in mfd_npm1300_reg_read() function
227 ret = mfd_npm1300_reg_read(dev, base, offset, &reg); in mfd_npm1300_reg_update()
/Zephyr-latest/drivers/gpio/
Dgpio_npm1300.c58 ret = mfd_npm1300_reg_read(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_STATUS, &data); in gpio_npm1300_port_get_raw()