Searched refs:pbat (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | pmu_battery.c | 86 struct pmu_battery_dev *pbat = to_pmu_battery_dev(psy); in pmu_bat_get_property() local 87 struct pmu_battery_info *pbi = pbat->pbi; in pmu_bat_get_property() 163 struct pmu_battery_dev *pbat = kzalloc(sizeof(*pbat), in pmu_bat_init() local 165 if (!pbat) in pmu_bat_init() 168 sprintf(pbat->name, "PMU_battery_%d", i); in pmu_bat_init() 169 pbat->bat_desc.name = pbat->name; in pmu_bat_init() 170 pbat->bat_desc.properties = pmu_bat_props; in pmu_bat_init() 171 pbat->bat_desc.num_properties = ARRAY_SIZE(pmu_bat_props); in pmu_bat_init() 172 pbat->bat_desc.get_property = pmu_bat_get_property; in pmu_bat_init() 173 pbat->pbi = &pmu_batteries[i]; in pmu_bat_init() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/battery/ |
| H A D | bat_trats2.c | 18 struct power_battery *p_bat = bat->pbat; in power_battery_charge() 31 bat_->pbat->fg = fg_; in power_battery_init_trats2() 32 bat_->pbat->chrg = chrg_; in power_battery_init_trats2() 33 bat_->pbat->muic = muic_; in power_battery_init_trats2() 63 p->pbat = &power_bat_trats2; in power_bat_init()
|
| H A D | bat_trats.c | 19 struct power_battery *p_bat = bat->pbat; in power_battery_charge() 56 bat_->pbat->fg = fg_; in power_battery_init_trats() 57 bat_->pbat->chrg = chrg_; in power_battery_init_trats() 58 bat_->pbat->muic = muic_; in power_battery_init_trats() 88 p->pbat = &power_bat_trats; in power_bat_init()
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | power_core.c | 190 if (!p->pbat) { in do_pmic() 196 p->fg->fg_battery_check(p->pbat->fg, p); in do_pmic() 203 if (p->pbat->battery_charge) in do_pmic() 204 p->pbat->battery_charge(p); in do_pmic()
|
| /OK3568_Linux_fs/u-boot/drivers/power/mfd/ |
| H A D | fg_max77693.c | 50 struct power_battery *pb = bat->pbat; in power_update_battery() 71 struct power_battery *pb = bat->pbat; in power_check_battery()
|
| /OK3568_Linux_fs/u-boot/board/samsung/trats2/ |
| H A D | trats2.c | 174 p_bat->pbat->battery_init(p_bat, p_fg, p_chrg, p_muic); in exynos_power_init() 176 pb = p_bat->pbat; in exynos_power_init()
|
| /OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/ |
| H A D | fg_max17042.c | 196 struct power_battery *pb = bat->pbat; in power_update_battery() 221 struct power_battery *pb = bat->pbat; in power_check_battery()
|
| /OK3568_Linux_fs/u-boot/board/samsung/trats/ |
| H A D | trats.c | 164 p_bat->pbat->battery_init(p_bat, p_fg, p_chrg, p_muic); in exynos_power_init() 166 pb = p_bat->pbat; in exynos_power_init()
|
| /OK3568_Linux_fs/u-boot/include/power/ |
| H A D | pmic.h | 79 struct power_battery *pbat; member
|