Home
last modified time | relevance | path

Searched refs:ibat (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/power/supply/
D88pm860x_battery.c716 int ibat; in calc_capacity() local
745 ret = measure_current(info, &ibat); in calc_capacity()
749 if (ibat < 0) { in calc_capacity()
783 (ibat < 0) ? "discharging" : "charging", in calc_capacity()
Dltc4162-l-charger.c578 static DEVICE_ATTR_RO(ibat);
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-power-ltc4162l18 What: /sys/class/power_supply/ltc4162-l/ibat
/linux-6.1.9/Documentation/devicetree/bindings/power/supply/
Dmediatek,mt6370-charger.yaml74 - const: ibat
/linux-6.1.9/drivers/iio/adc/
Dab8500-gpadc.c388 int *ibat) in ab8500_gpadc_read() argument
591 if (ibat != NULL) { in ab8500_gpadc_read()
592 *ibat = (high_data2 << 8) | low_data2; in ab8500_gpadc_read()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_pr.c1479 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr()
1516 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr()
1517 (u32)sregs->u.s.ppc32.ibat[i]); in kvm_arch_vcpu_ioctl_set_sregs_pr()
1518 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr()
1519 (u32)(sregs->u.s.ppc32.ibat[i] >> 32)); in kvm_arch_vcpu_ioctl_set_sregs_pr()
Dbook3s_32_mmu.c139 bat = &vcpu_book3s->ibat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
Dbook3s_emulate.c660 bat = &vcpu_book3s->ibat[(sprn - SPRN_IBAT0U) / 2]; in kvmppc_find_bat()
663 bat = &vcpu_book3s->ibat[4 + ((sprn - SPRN_IBAT4U) / 2)]; in kvmppc_find_bat()
/linux-6.1.9/tools/arch/powerpc/include/uapi/asm/
Dkvm.h189 __u64 ibat[8]; member
/linux-6.1.9/arch/powerpc/include/uapi/asm/
Dkvm.h189 __u64 ibat[8]; member
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s.h106 struct kvmppc_bat ibat[8]; member