Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/mfd/abx500/
Dab8500-gpadc.h68 int *ibat);
/Linux-v5.4/drivers/power/supply/
D88pm860x_battery.c714 int ibat; in calc_capacity() local
743 ret = measure_current(info, &ibat); in calc_capacity()
747 if (ibat < 0) { in calc_capacity()
781 (ibat < 0) ? "discharging" : "charging", in calc_capacity()
/Linux-v5.4/drivers/mfd/
Dab8500-gpadc.c360 int *ibat) in ab8500_gpadc_double_read_raw() argument
555 if (ibat != NULL) { in ab8500_gpadc_double_read_raw()
556 *ibat = (high_data2 << 8) | low_data2; in ab8500_gpadc_double_read_raw()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_pr.c1458 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr()
1495 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr()
1496 (u32)sregs->u.s.ppc32.ibat[i]); in kvm_arch_vcpu_ioctl_set_sregs_pr()
1497 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr()
1498 (u32)(sregs->u.s.ppc32.ibat[i] >> 32)); in kvm_arch_vcpu_ioctl_set_sregs_pr()
Dbook3s_32_mmu.c144 bat = &vcpu_book3s->ibat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
Dbook3s_emulate.c664 bat = &vcpu_book3s->ibat[(sprn - SPRN_IBAT0U) / 2]; in kvmppc_find_bat()
667 bat = &vcpu_book3s->ibat[4 + ((sprn - SPRN_IBAT4U) / 2)]; in kvmppc_find_bat()
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dkvm.h189 __u64 ibat[8]; member
/Linux-v5.4/tools/arch/powerpc/include/uapi/asm/
Dkvm.h189 __u64 ibat[8]; member
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_book3s.h106 struct kvmppc_bat ibat[8]; member