Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/regulator/
Dregulator_npm2100.c622 const struct regulator_npm2100_pconfig *pconfig = dev->config; in regulator_npm2100_dvs_state_set() local
627 spec = &pconfig->dvs_state_pins[idx]; in regulator_npm2100_dvs_state_set()
643 const struct regulator_npm2100_pconfig *pconfig = dev->config; in regulator_npm2100_ship_mode() local
646 int ret = i2c_reg_write_byte_dt(&pconfig->i2c, RESET_WRITESTICKY, 0); in regulator_npm2100_ship_mode()
652 ret = i2c_reg_write_byte_dt(&pconfig->i2c, RESET_STROBESTICKY, 1U); in regulator_npm2100_ship_mode()
657 return i2c_reg_write_byte_dt(&pconfig->i2c, SHIP_TASK_SHIP, 1U); in regulator_npm2100_ship_mode()
668 const struct regulator_npm2100_pconfig *pconfig = dev->config; in regulator_npm2100_common_init() local
673 spec = &pconfig->dvs_state_pins[idx]; in regulator_npm2100_common_init()
Dregulator_npm1300.c473 const struct regulator_npm1300_pconfig *pconfig = dev->config; in regulator_npm1300_dvs_state_set() local
478 spec = &pconfig->dvs_state_pins[idx]; in regulator_npm1300_dvs_state_set()
494 const struct regulator_npm1300_pconfig *pconfig = dev->config; in regulator_npm1300_ship_mode() local
496 return mfd_npm1300_reg_write(pconfig->mfd, SHIP_BASE, SHIP_OFFSET_SHIP, 1U); in regulator_npm1300_ship_mode()
506 const struct regulator_npm1300_pconfig *pconfig = dev->config; in regulator_npm1300_common_init() local
511 spec = &pconfig->dvs_state_pins[idx]; in regulator_npm1300_common_init()