Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/power/supply/
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
Ds3c_adc_battery.c76 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_backup_bat_get_property() local
133 static int charge_finished(struct s3c_adc_bat *bat) in charge_finished()
144 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_bat_get_property() local
249 struct s3c_adc_bat *bat = &main_bat; in s3c_adc_bat_work() local
Dcollie_battery.c52 static unsigned long collie_read_bat(struct collie_bat *bat) in collie_read_bat()
71 static unsigned long collie_read_temp(struct collie_bat *bat) in collie_read_temp()
96 struct collie_bat *bat = power_supply_get_drvdata(psy); in collie_bat_get_property() local
150 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
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.c116 struct power_supply *bat; member
Dds2760_battery.c111 struct power_supply *bat; member
Dcpcap-battery.c100 struct power_supply_battery_info bat; member
Dds2781_battery.c34 struct power_supply *bat; member
Dds2780_battery.c36 struct power_supply *bat; member
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/
Dmmu.c81 struct ppc_bat *bat = BATS[b]; in find_free_bat() local
118 struct ppc_bat *bat = BATS[index]; in setibat() local
133 struct ppc_bat *bat = BATS[index]; in clearibat() local
244 struct ppc_bat *bat = BATS[i]; in mmu_mark_rodata_ro() local
264 struct ppc_bat *bat; in setbat() local
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_emulate.c637 void kvmppc_set_bat(struct kvm_vcpu *vcpu, struct kvmppc_bat *bat, bool upper, in kvmppc_set_bat()
660 struct kvmppc_bat *bat; in kvmppc_find_bat() local
706 struct kvmppc_bat *bat = kvmppc_find_bat(vcpu, sprn); in kvmppc_core_emulate_mtspr_pr() local
875 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
/kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/
Dsp9860g-1h10.dts43 bat: battery { label
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3188-bqedison2qc.dts290 bat: battery@55 { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-pinebook-pro.dts31 bat: battery { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5.dtsi895 bat: fuel-gauge@36 { label
/kernel/linux/linux-5.10/include/linux/power/
Dbq27xxx_battery.h72 struct power_supply *bat; member
/kernel/linux/linux-5.10/drivers/acpi/
Dsbs.c55 struct power_supply *bat; member
597 struct acpi_battery *bat; in acpi_sbs_callback() local
Dbattery.c104 struct power_supply *bat; member

12