Searched refs:ibat (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/iio/adc/ |
D | mt6359-auxadc.c | 133 int (*read_imp)(struct mt6359_auxadc *adc_dev, int *vbat, int *ibat); 337 static int mt6358_read_imp(struct mt6359_auxadc *adc_dev, int *vbat, int *ibat) in mt6358_read_imp() argument 356 if (ibat) in mt6358_read_imp() 357 *ibat = 0; in mt6358_read_imp() 362 static int mt6359_read_imp(struct mt6359_auxadc *adc_dev, int *vbat, int *ibat) in mt6359_read_imp() argument 393 if (ibat) in mt6359_read_imp() 394 *ibat = val_i; in mt6359_read_imp()
|
D | ab8500-gpadc.c | 388 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.12.1/drivers/power/supply/ |
D | 88pm860x_battery.c | 716 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()
|
D | ltc4162-l-charger.c | 578 static DEVICE_ATTR_RO(ibat);
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-power-ltc4162l | 18 What: /sys/class/power_supply/ltc4162-l/ibat
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_pr.c | 1476 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1513 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1514 (u32)sregs->u.s.ppc32.ibat[i]); in kvm_arch_vcpu_ioctl_set_sregs_pr() 1515 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1516 (u32)(sregs->u.s.ppc32.ibat[i] >> 32)); in kvm_arch_vcpu_ioctl_set_sregs_pr()
|
D | book3s_32_mmu.c | 139 bat = &vcpu_book3s->ibat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
|
D | book3s_emulate.c | 660 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.12.1/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 188 __u64 ibat[8]; member
|
/linux-6.12.1/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 188 __u64 ibat[8]; member
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 107 struct kvmppc_bat ibat[8]; member
|