Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
Dtosa_battery.c50 static unsigned long tosa_read_bat(struct tosa_bat *bat) in tosa_read_bat()
70 static unsigned long tosa_read_temp(struct tosa_bat *bat) in tosa_read_temp()
95 struct tosa_bat *bat = power_supply_get_drvdata(psy); in tosa_bat_get_property() local
137 static bool tosa_jacket_bat_is_present(struct tosa_bat *bat) in tosa_jacket_bat_is_present()
154 static void tosa_bat_update(struct tosa_bat *bat) in tosa_bat_update()
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()
Ds3c_adc_battery.c72 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_backup_bat_get_property() local
129 static int charge_finished(struct s3c_adc_bat *bat) in charge_finished()
138 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_bat_get_property() local
243 struct s3c_adc_bat *bat = &main_bat; in s3c_adc_bat_work() local
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
255 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
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/arm64/boot/dts/sprd/
Dsp9860g-1h10.dts43 bat: battery { label
/linux-6.1.9/arch/arm/boot/dts/
Drk3188-bqedison2qc.dts297 bat: battery@55 { label
/linux-6.1.9/arch/arm64/boot/dts/rockchip/
Drk3399-pinebook-pro.dts38 bat: battery { label
/linux-6.1.9/drivers/acpi/
Dsbs.c55 struct power_supply *bat; member
597 struct acpi_battery *bat; in acpi_sbs_callback() local
/linux-6.1.9/include/linux/power/
Dbq27xxx_battery.h73 struct power_supply *bat; member
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5.dtsi1109 bat: fuel-gauge@36 { label

12