HomeSort by relevance Sort by last modified time
    Searched refs:fet_id (Results 1 - 2 of 2) sorted by null

  /external/u-boot/drivers/power/regulator/
tps65090_regulator.c 28 int ret, fet_id; local
30 fet_id = dev->driver_data;
31 debug("%s: fet_id=%d\n", __func__, fet_id);
33 ret = pmic_reg_read(pmic, REG_FET_BASE + fet_id);
44 * @param fet_id FET number to set (1..MAX_FET_NUM)
49 static int tps65090_fet_set(struct udevice *pmic, int fet_id, bool set)
59 if (pmic_reg_write(pmic, REG_FET_BASE + fet_id, value))
64 ret = pmic_reg_read(pmic, REG_FET_BASE + fet_id);
81 fet_id, set, ret)
88 int ret, fet_id; local
    [all...]
  /external/u-boot/drivers/i2c/
cros_ec_ldo.c 23 int fet_id, ret; local
34 fet_id = msg->buf[0] - REG_FET_BASE;
35 if (fet_id < 1 || fet_id > MAX_FET_NUM) {
36 debug("%s: Invalid FET %d\n", __func__, fet_id);
43 ret = cros_ec_get_ldo(dev->parent, fet_id, &state);
50 ret = cros_ec_set_ldo(dev->parent, fet_id, on);

Completed in 167 milliseconds