Searched refs:ibat (Results 1 - 9 of 9) sorted by relevance
/linux-master/drivers/power/supply/ |
H A D | 88pm860x_battery.c | 716 int ibat; local 745 ret = measure_current(info, &ibat); 748 /* Calculate the capacity when discharging(ibat < 0) */ 749 if (ibat < 0) { 783 (ibat < 0) ? "discharging" : "charging",
|
H A D | ltc4162-l-charger.c | 578 static DEVICE_ATTR_RO(ibat);
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_pr.c | 1482 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; 1519 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, 1520 (u32)sregs->u.s.ppc32.ibat[i]); 1521 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, 1522 (u32)(sregs->u.s.ppc32.ibat[i] >> 32));
|
H A D | book3s_32_mmu.c | 139 bat = &vcpu_book3s->ibat[i];
|
H A D | book3s_emulate.c | 660 bat = &vcpu_book3s->ibat[(sprn - SPRN_IBAT0U) / 2]; 663 bat = &vcpu_book3s->ibat[4 + ((sprn - SPRN_IBAT4U) / 2)];
|
/linux-master/drivers/iio/adc/ |
H A D | ab8500-gpadc.c | 100 * Virtual channel used only for ibat conversion to ampere. 101 * Battery current conversion (ibat) cannot be requested as a 163 #define AB8500_ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */ 165 #define AB8500_ADC_CH_IBAT_MIN_V (-60) /* mV range measured by ADC for ibat */ 174 * when dividing to get ibat gain. 388 int *ibat) 591 if (ibat != NULL) { 592 *ibat = (high_data2 << 8) | low_data2; 595 "gpadc_conversion: ibat not stored\n"); 386 ab8500_gpadc_read(struct ab8500_gpadc *gpadc, const struct ab8500_gpadc_chan_info *ch, int *ibat) argument
|
/linux-master/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 188 __u64 ibat[8]; member in struct:kvm_sregs::__anon29::__anon30::__anon33
|
/linux-master/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 188 __u64 ibat[8]; member in struct:kvm_sregs::__anon109::__anon110::__anon113
|
/linux-master/arch/powerpc/include/asm/ |
H A D | kvm_book3s.h | 107 struct kvmppc_bat ibat[8]; member in struct:kvmppc_vcpu_book3s
|
Completed in 168 milliseconds