/linux-6.1.9/drivers/power/supply/ |
D | surface_battery.c | 155 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 …]
|
D | acer_a500_battery.c | 63 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
|
D | da9052-battery.c | 185 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 …]
|
D | tosa_battery.c | 50 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()
|
D | ingenic-battery.c | 28 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
|
D | collie_battery.c | 54 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()
|
D | s3c_adc_battery.c | 72 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
|
D | twl4030_madc_battery.c | 75 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
|
D | pmu_battery.c | 17 struct power_supply *bat; member
|
D | rx51_battery.c | 18 struct power_supply *bat; member
|
D | apm_power.c | 37 struct power_supply *bat; member
|
D | max1721x_battery.c | 60 struct power_supply *bat; member
|
D | axp288_fuel_gauge.c | 120 struct power_supply *bat; member
|
D | ds2760_battery.c | 111 struct power_supply *bat; member
|
D | ds2780_battery.c | 36 struct power_supply *bat; member
|
D | ds2781_battery.c | 34 struct power_supply *bat; member
|
/linux-6.1.9/arch/powerpc/mm/book3s32/ |
D | mmu.c | 84 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/ |
D | book3s_emulate.c | 633 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
|
D | book3s_32_mmu.c | 132 struct kvmppc_bat *bat; in kvmppc_mmu_book3s_32_xlate_bat() local
|
/linux-6.1.9/arch/arm64/boot/dts/sprd/ |
D | sp9860g-1h10.dts | 43 bat: battery { label
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | rk3188-bqedison2qc.dts | 297 bat: battery@55 { label
|
/linux-6.1.9/arch/arm64/boot/dts/rockchip/ |
D | rk3399-pinebook-pro.dts | 38 bat: battery { label
|
/linux-6.1.9/drivers/acpi/ |
D | sbs.c | 55 struct power_supply *bat; member 597 struct acpi_battery *bat; in acpi_sbs_callback() local
|
/linux-6.1.9/include/linux/power/ |
D | bq27xxx_battery.h | 73 struct power_supply *bat; member
|
/linux-6.1.9/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5.dtsi | 1109 bat: fuel-gauge@36 { label
|