Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/
Dnpm1300_charger.c49 #define VBUS_BASE 0x02U macro
317 ret = mfd_npm1300_reg_read(config->mfd, VBUS_BASE, VBUS_OFFSET_STATUS, &data->vbus_stat); in npm1300_charger_sample_fetch()
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()
489 ret = mfd_npm1300_reg_write(config->mfd, VBUS_BASE, VBUS_OFFSET_ILIM, idx); in npm1300_charger_attr_set()
495 return mfd_npm1300_reg_write(config->mfd, VBUS_BASE, VBUS_OFFSET_ILIMUPDATE, 1U); in npm1300_charger_attr_set()
582 ret = mfd_npm1300_reg_write(config->mfd, VBUS_BASE, VBUS_OFFSET_ILIMSTARTUP, idx); in npm1300_charger_init()