| /kernel/linux/linux-6.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
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
| D | lite5200_sleep.S | 261 SAVE_SPRN(IBAT##n##L, addr+2); \ 262 SAVE_SPRN(IBAT##n##U, addr+3); 326 LOAD_SPRN(IBAT##n##L, addr+2); \ 327 LOAD_SPRN(IBAT##n##U, addr+3);
|
| /kernel/linux/linux-6.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);
|
| /kernel/linux/linux-6.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),
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.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()
|
| /kernel/linux/linux-5.10/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 | bd70528-charger.c | 49 *| | VRECHG_TH | | or IBAT > IFST/x | 50 *+----------------+ & IBAT < | | |
|
| D | bq25890_charger.c | 86 u8 rbatcomp; /* IBAT sense resistor value */ 87 u8 vclamp; /* IBAT compensation voltage limit */ 877 init->rbatcomp = init->vclamp = 0; /* IBAT compensation disabled */ in bq25890_fw_read_u32_props()
|
| D | 88pm860x_charger.c | 200 /* set precharge current, termination voltage, IBAT & TBAT monitor */ in start_precharge() 243 /* set IBAT & TBAT monitor */ in start_fastcharge()
|
| /kernel/linux/linux-6.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
|
| /kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/ |
| D | mmu.c | 41 struct ppc_bat BATS[8][2]; /* 8 pairs of IBAT, DBAT */ 109 * Set up one of the IBAT (block address translation) register pairs. 257 * On 603+, only set IBAT when _PAGE_EXEC is set
|
| /kernel/linux/linux-5.10/include/linux/mfd/pcf50633/ |
| D | mbc.h | 109 PCF50633_MBCS3_ILIM = 0x10, /* 1: Ibat > Icutoff */
|
| /kernel/linux/linux-6.6/include/linux/mfd/pcf50633/ |
| D | mbc.h | 109 PCF50633_MBCS3_ILIM = 0x10, /* 1: Ibat > Icutoff */
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-6.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.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | mediatek,mt6370.yaml | 42 measure range), VBAT, VSYS, CHG_VDDP, TS_BAT, IBUS, IBAT, and TEMP_JC.
|
| /kernel/linux/linux-6.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()
|
| /kernel/linux/linux-5.10/arch/powerpc/kvm/ |
| D | book3s_pr.c | 1493 sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1530 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), false, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1531 (u32)sregs->u.s.ppc32.ibat[i]); in kvm_arch_vcpu_ioctl_set_sregs_pr() 1532 kvmppc_set_bat(vcpu, &(vcpu3s->ibat[i]), true, in kvm_arch_vcpu_ioctl_set_sregs_pr() 1533 (u32)(sregs->u.s.ppc32.ibat[i] >> 32)); in kvm_arch_vcpu_ioctl_set_sregs_pr()
|
| /kernel/linux/linux-6.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)
|