Searched refs:pmic_i2c_addr (Results 1 – 3 of 3) sorted by relevance
56 return i2c_write(pmic_i2c_addr, reg, 1, buf, pmic_i2c_tx_num); in pmic_reg_write()70 ret = i2c_read(pmic_i2c_addr, reg, 1, buf, pmic_i2c_tx_num); in pmic_reg_read()105 if (i2c_probe(pmic_i2c_addr)) { in pmic_probe()
495 static u8 pmic_i2c_addr; in gmin_get_pmic_id_and_addr() local498 return pmic_i2c_addr; in gmin_get_pmic_id_and_addr()509 pmic_i2c_addr = power ? power->addr : 0; in gmin_get_pmic_id_and_addr()510 return pmic_i2c_addr; in gmin_get_pmic_id_and_addr()517 u8 pmic_i2c_addr; in gmin_detect_pmic() local519 pmic_i2c_addr = gmin_get_pmic_id_and_addr(dev); in gmin_detect_pmic()521 pmic_name[pmic_id], pmic_i2c_addr); in gmin_detect_pmic()522 return pmic_i2c_addr; in gmin_detect_pmic()1229 u8 pmic_i2c_addr = gmin_detect_pmic(subdev); in gmin_camera_platform_data() local1236 gs->pwm_i2c_addr = pmic_i2c_addr; in gmin_camera_platform_data()
324 #define pmic_i2c_addr (p->hw.i2c.addr) macro