/openbmc/qemu/target/ppc/ |
H A D | machine.c | 170 env->spr[SPR_IBAT0U + 2 * i] = env->IBAT[0][i]; in cpu_pre_save() 171 env->spr[SPR_IBAT0U + 2 * i + 1] = env->IBAT[1][i]; in cpu_pre_save() 176 env->spr[SPR_IBAT4U + 2 * i] = env->IBAT[0][i + 4]; in cpu_pre_save() 177 env->spr[SPR_IBAT4U + 2 * i + 1] = env->IBAT[1][i + 4]; in cpu_pre_save() 308 env->IBAT[0][i] = env->spr[SPR_IBAT0U + 2 * i]; in cpu_post_load() 309 env->IBAT[1][i] = env->spr[SPR_IBAT0U + 2 * i + 1]; in cpu_post_load() 314 env->IBAT[0][i + 4] = env->spr[SPR_IBAT4U + 2 * i]; in cpu_post_load() 315 env->IBAT[1][i + 4] = env->spr[SPR_IBAT4U + 2 * i + 1]; in cpu_post_load()
|
H A D | mmu_helper.c | 186 if (env->IBAT[0][nr] != value) { in helper_store_ibatu() 189 do_invalidate_BAT(env, env->IBAT[0][nr], mask); in helper_store_ibatu() 196 env->IBAT[0][nr] = (value & 0x00001FFFUL) | in helper_store_ibatu() 198 env->IBAT[1][nr] = (env->IBAT[1][nr] & 0x0000007B) | in helper_store_ibatu() 199 (env->IBAT[1][nr] & ~0x0001FFFF & ~mask); in helper_store_ibatu() 201 do_invalidate_BAT(env, env->IBAT[0][nr], mask); in helper_store_ibatu() 211 env->IBAT[1][nr] = value; in helper_store_ibatl()
|
H A D | mmu_common.c | 202 BATlt = env->IBAT[1]; in get_bat_6xx_tlb() 203 BATut = env->IBAT[0]; in get_bat_6xx_tlb() 477 BATlt = env->IBAT[1]; in mmu6xx_dump_BATs() 478 BATut = env->IBAT[0]; in mmu6xx_dump_BATs()
|
H A D | mmu-hash32.c | 63 BATlt = env->IBAT[1]; in ppc_hash32_bat_lookup() 64 BATut = env->IBAT[0]; in ppc_hash32_bat_lookup()
|
H A D | kvm.c | 896 sregs.u.s.ppc32.ibat[i] = ((uint64_t)env->IBAT[0][i] << 32) in kvmppc_put_books_sregs() 897 | env->IBAT[1][i]; in kvmppc_put_books_sregs() 1201 env->IBAT[0][i] = sregs.u.s.ppc32.ibat[i] & 0xffffffff; in kvmppc_get_books_sregs() 1202 env->IBAT[1][i] = sregs.u.s.ppc32.ibat[i] >> 32; in kvmppc_get_books_sregs()
|
H A D | cpu.h | 1265 target_ulong IBAT[2][8]; member
|
H A D | translate.c | 807 IBAT[sprn & 1][(sprn - SPR_IBAT0U) / 2])); in spr_read_ibat() 814 IBAT[sprn & 1][((sprn - SPR_IBAT4U) / 2) + 4])); in spr_read_ibat_h()
|
/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A 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);
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-adc-mt6360 | 49 Indicated MT6360 IBAT ADC
|
H A 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
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | mediatek,mt6370-charger.yaml | 46 Use ADC channel to read VBUS, IBUS, IBAT, etc., info.
|
/openbmc/linux/drivers/iio/adc/ |
H A D | mt6370-adc.c | 280 MT6370_ADC_CHAN(IBAT, IIO_CURRENT, 9, 0),
|
H A D | mt6360-adc.c | 251 MT6360_ADC_CHAN(IBAT, IIO_CURRENT),
|
H A D | qcom-pm8xxx-xoadc.c | 318 XOADC_CHAN(IBAT, 0x00, 0x05, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1),
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mediatek,mt6370.yaml | 42 measure range), VBAT, VSYS, CHG_VDDP, TS_BAT, IBUS, IBAT, and TEMP_JC.
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | start.S | 314 mtspr IBAT##n##L, r4; \ 315 mtspr IBAT##n##U, r3; \
|