/Linux-v6.6/Documentation/devicetree/bindings/power/supply/ |
D | mediatek,mt6370-charger.yaml | 46 Use ADC channel to read VBUS, IBUS, IBAT, etc., info. 74 - const: ibat
|
/Linux-v6.6/arch/powerpc/platforms/52xx/ |
D | lite5200_sleep.S | 265 SAVE_SPRN(IBAT##n##L, addr+2); \ 266 SAVE_SPRN(IBAT##n##U, addr+3); 331 LOAD_SPRN(IBAT##n##L, addr+2); \ 332 LOAD_SPRN(IBAT##n##U, addr+3);
|
/Linux-v6.6/drivers/iio/adc/ |
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) in ab8500_gpadc_read() argument 591 if (ibat != NULL) { in ab8500_gpadc_read() 592 *ibat = (high_data2 << 8) | low_data2; in ab8500_gpadc_read() 595 "gpadc_conversion: ibat not stored\n"); in ab8500_gpadc_read() 782 /* Read IBAT calibration Data */ in ab8500_gpadc_read_calibration_data() [all …]
|
D | mt6370-adc.c | 246 [MT6370_CHAN_IBAT] = "ibat", 280 MT6370_ADC_CHAN(IBAT, IIO_CURRENT, 9, 0),
|
D | mt6360-adc.c | 212 "usbid", "vbusdiv5", "vbusdiv2", "vsys", "vbat", "ibus", "ibat", "chg_vddp", 251 MT6360_ADC_CHAN(IBAT, IIO_CURRENT),
|
D | qcom-pm8xxx-xoadc.c | 318 XOADC_CHAN(IBAT, 0x00, 0x05, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1),
|
/Linux-v6.6/drivers/power/supply/ |
D | 88pm860x_battery.c | 446 /* measure enable on IBAT, BAT_DET, CC. IBAT is depend on CC. */ in pm860x_init_battery() 716 int ibat; in calc_capacity() local 745 ret = measure_current(info, &ibat); in calc_capacity() 748 /* Calculate the capacity when discharging(ibat < 0) */ in calc_capacity() 749 if (ibat < 0) { in calc_capacity() 783 (ibat < 0) ? "discharging" : "charging", in calc_capacity()
|
D | 88pm860x_charger.c | 200 /* set precharge current, termination voltage, IBAT & TBAT monitor */ in start_precharge() 243 /* set IBAT & TBAT monitor */ in start_fastcharge()
|
D | bq25890_charger.c | 92 u8 rbatcomp; /* IBAT sense resistor value */ 93 u8 vclamp; /* IBAT compensation voltage limit */ 1370 init->rbatcomp = init->vclamp = 0; /* IBAT compensation disabled */ in bq25890_fw_read_u32_props()
|
D | ltc4162-l-charger.c | 578 static DEVICE_ATTR_RO(ibat);
|
D | ab8500_chargalg.c | 800 dev_dbg(di->dev, " Maximization Ibat (%duA) too high" in ab8500_chargalg_chg_curr_maxim()
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | sysfs-class-power-ltc4162l | 18 What: /sys/class/power_supply/ltc4162-l/ibat
|
D | sysfs-bus-iio-adc-mt6360 | 49 Indicated MT6360 IBAT ADC
|
D | sysfs-class-power | 47 Reports an average IBAT current reading for the battery, over 70 Reports the maximum IBAT current allowed into the battery. 86 Reports an instant, single IBAT current reading for the
|
/Linux-v6.6/include/linux/mfd/pcf50633/ |
D | mbc.h | 109 PCF50633_MBCS3_ILIM = 0x10, /* 1: Ibat > Icutoff */
|
/Linux-v6.6/arch/powerpc/mm/book3s32/ |
D | mmu.c | 40 struct ppc_bat BATS[8][2]; /* 8 pairs of IBAT, DBAT */ 112 * Set up one of the IBAT (block address translation) register pairs.
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | mediatek,mt6370.yaml | 42 measure range), VBAT, VSYS, CHG_VDDP, TS_BAT, IBUS, IBAT, and TEMP_JC.
|
/Linux-v6.6/arch/powerpc/kvm/ |
D | book3s_pr.c | 1481 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1518 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1519 (u32)sregs->u.s.ppc32.ibat[i]); in kvm_arch_vcpu_ioctl_set_sregs_pr() 1520 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1521 (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-v6.6/include/linux/ |
D | power_supply.h | 680 * +-------> IBAT >----------------+ 701 * the load, so instead we often try to measure the instantaneous IBAT (the 705 * OCV = VBAT - (IBAT * Ri)
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 106 struct kvmppc_bat ibat[8]; member
|
/Linux-v6.6/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 189 __u64 ibat[8]; member
|
/Linux-v6.6/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 189 __u64 ibat[8]; member
|
/Linux-v6.6/arch/powerpc/xmon/ |
D | ppc-opc.c | 664 /* The BAT index number in an XFX form m[ft]ibat[lu] instruction. */
|