Searched refs:ibat (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/iio/adc/ |
| H A D | mt6359-auxadc.c | 168 const struct iio_chan_spec *chan, int *vbat, int *ibat); 487 const struct iio_chan_spec *chan, int *vbat, int *ibat) in mt6358_read_imp() argument 506 if (ibat) in mt6358_read_imp() 507 *ibat = 0; in mt6358_read_imp() 513 const struct iio_chan_spec *chan, int *vbat, int *ibat) in mt6359_read_imp() argument 545 if (ibat) in mt6359_read_imp() 546 *ibat = val_i; in mt6359_read_imp()
|
| H A 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/drivers/power/supply/ |
| H A D | bd71828-power.c | 49 unsigned int ibat; member 67 .ibat = BD71828_REG_IBAT_U, 86 .ibat = BD71815_REG_CC_CURCD_U, 106 .ibat = BD72720_REG_CC_CURCD_U, 189 int regs[] = { pwr->regs->ibat, pwr->regs->ibat_avg }; in bd71828_get_current_ds_adc()
|
| H A 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()
|
| H A D | ltc4162-l-charger.c | 845 static DEVICE_ATTR_RO(ibat);
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-power-ltc4162l | 18 What: /sys/class/power_supply/ltc4162-l/ibat
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_pr.c | 1474 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1511 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1512 (u32)sregs->u.s.ppc32.ibat[i]); in kvm_arch_vcpu_ioctl_set_sregs_pr() 1513 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1514 (u32)(sregs->u.s.ppc32.ibat[i] >> 32)); in kvm_arch_vcpu_ioctl_set_sregs_pr()
|
| H A D | book3s_32_mmu.c | 139 bat = &vcpu_book3s->ibat[i]; in kvmppc_mmu_book3s_32_xlate_bat()
|
| H A 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/arch/powerpc/include/uapi/asm/ |
| H A D | kvm.h | 175 __u64 ibat[8]; member
|
| /linux/tools/arch/powerpc/include/uapi/asm/ |
| H A D | kvm.h | 175 __u64 ibat[8]; member
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kvm_book3s.h | 107 struct kvmppc_bat ibat[8]; member
|