Home
last modified time | relevance | path

Searched defs:bat (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.6/drivers/power/supply/
Dsurface_battery.c155 static bool spwr_battery_present(struct spwr_battery_device *bat) in spwr_battery_present()
162 static int spwr_battery_load_sta(struct spwr_battery_device *bat) in spwr_battery_load_sta()
169 static int spwr_battery_load_bix(struct spwr_battery_device *bat) in spwr_battery_load_bix()
189 static int spwr_battery_load_bst(struct spwr_battery_device *bat) in spwr_battery_load_bst()
199 static int spwr_battery_set_alarm_unlocked(struct spwr_battery_device *bat, u32 value) in spwr_battery_set_alarm_unlocked()
209 static int spwr_battery_update_bst_unlocked(struct spwr_battery_device *bat, bool cached) in spwr_battery_update_bst_unlocked()
231 static int spwr_battery_update_bst(struct spwr_battery_device *bat, bool cached) in spwr_battery_update_bst()
242 static int spwr_battery_update_bix_unlocked(struct spwr_battery_device *bat) in spwr_battery_update_bix_unlocked()
267 static u32 sprw_battery_get_full_cap_safe(struct spwr_battery_device *bat) in sprw_battery_get_full_cap_safe()
279 static bool spwr_battery_is_full(struct spwr_battery_device *bat) in spwr_battery_is_full()
[all …]
Dacer_a500_battery.c63 static bool a500_battery_update_capacity(struct a500_battery *bat) in a500_battery_update_capacity()
83 static int a500_battery_get_status(struct a500_battery *bat) in a500_battery_get_status()
149 struct a500_battery *bat = power_supply_get_drvdata(psy); in a500_battery_get_property() local
201 struct a500_battery *bat; in a500_battery_poll_work() local
226 struct a500_battery *bat; in a500_battery_probe() local
256 struct a500_battery *bat = dev_get_drvdata(&pdev->dev); in a500_battery_remove() local
265 struct a500_battery *bat = dev_get_drvdata(dev); in a500_battery_suspend() local
274 struct a500_battery *bat = dev_get_drvdata(dev); in a500_battery_resume() local
Dda9052-battery.c185 static int da9052_read_chgend_current(struct da9052_battery *bat, in da9052_read_chgend_current()
202 static int da9052_read_chg_current(struct da9052_battery *bat, int *current_mA) in da9052_read_chg_current()
218 static int da9052_bat_check_status(struct da9052_battery *bat, int *status) in da9052_bat_check_status()
285 static int da9052_bat_read_volt(struct da9052_battery *bat, int *volt_mV) in da9052_bat_read_volt()
298 static int da9052_bat_check_presence(struct da9052_battery *bat, int *illegal) in da9052_bat_check_presence()
353 static int da9052_bat_read_capacity(struct da9052_battery *bat, int *capacity) in da9052_bat_read_capacity()
406 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health()
438 struct da9052_battery *bat = data; in da9052_bat_irq() local
464 struct da9052_battery *bat = container_of(nb, struct da9052_battery, in da9052_USB_current_notifier() local
498 struct da9052_battery *bat = power_supply_get_drvdata(psy); in da9052_bat_get_property() local
[all …]
Dingenic-battery.c28 struct ingenic_battery *bat = power_supply_get_drvdata(psy); in ingenic_battery_get_property() local
61 static int ingenic_battery_set_scale(struct ingenic_battery *bat) in ingenic_battery_set_scale()
126 struct ingenic_battery *bat; in ingenic_battery_probe() local
Dcollie_battery.c54 static unsigned long collie_read_bat(struct collie_bat *bat) in collie_read_bat()
73 static unsigned long collie_read_temp(struct collie_bat *bat) in collie_read_temp()
98 struct collie_bat *bat = power_supply_get_drvdata(psy); in collie_bat_get_property() local
152 static void collie_bat_update(struct collie_bat *bat) in collie_bat_update()
Dtwl4030_madc_battery.c75 static int twl4030_madc_bat_voltscale(struct twl4030_madc_battery *bat, in twl4030_madc_bat_voltscale()
111 struct twl4030_madc_battery *bat = power_supply_get_drvdata(psy); in twl4030_madc_bat_get_property() local
249 struct twl4030_madc_battery *bat = platform_get_drvdata(pdev); in twl4030_madc_battery_remove() local
Dpmu_battery.c17 struct power_supply *bat; member
Drx51_battery.c18 struct power_supply *bat; member
Dapm_power.c37 struct power_supply *bat; member
Dmax1721x_battery.c60 struct power_supply *bat; member
Daxp288_fuel_gauge.c120 struct power_supply *bat; member
Dds2760_battery.c111 struct power_supply *bat; member
Dds2780_battery.c36 struct power_supply *bat; member
Dds2781_battery.c34 struct power_supply *bat; member
Dcpcap-battery.c97 struct power_supply_battery_info bat; member
/Linux-v6.6/arch/powerpc/mm/book3s32/
Dmmu.c84 struct ppc_bat *bat = BATS[b]; in find_free_bat() local
121 struct ppc_bat *bat = BATS[index]; in setibat() local
136 struct ppc_bat *bat = BATS[index]; in clearibat() local
241 struct ppc_bat *bat = BATS[i]; in mmu_mark_rodata_ro() local
260 struct ppc_bat *bat; in setbat() local
/Linux-v6.6/arch/powerpc/kvm/
Dbook3s_emulate.c633 void kvmppc_set_bat(struct kvm_vcpu *vcpu, struct kvmppc_bat *bat, bool upper, in kvmppc_set_bat()
656 struct kvmppc_bat *bat; in kvmppc_find_bat() local
702 struct kvmppc_bat *bat = kvmppc_find_bat(vcpu, sprn); in kvmppc_core_emulate_mtspr_pr() local
874 struct kvmppc_bat *bat = kvmppc_find_bat(vcpu, sprn); in kvmppc_core_emulate_mfspr_pr() local
Dbook3s_32_mmu.c132 struct kvmppc_bat *bat; in kvmppc_mmu_book3s_32_xlate_bat() local
/Linux-v6.6/arch/arm64/boot/dts/sprd/
Dsp9860g-1h10.dts43 bat: battery { label
/Linux-v6.6/arch/arm/boot/dts/rockchip/
Drk3188-bqedison2qc.dts297 bat: battery@55 { label
/Linux-v6.6/arch/arm64/boot/dts/rockchip/
Drk3399-pinebook-pro.dts38 bat: battery { label
/Linux-v6.6/drivers/acpi/
Dsbs.c55 struct power_supply *bat; member
606 struct acpi_battery *bat; in acpi_sbs_callback() local
/Linux-v6.6/include/linux/power/
Dbq27xxx_battery.h77 struct power_supply *bat; member
/Linux-v6.6/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5.dtsi1137 bat: fuel-gauge@36 { label
/Linux-v6.6/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c505 struct dpmaif_bat_request *bat; in t7xx_dpmaif_release_bat_entry() local

12