Home
last modified time | relevance | path

Searched refs:IBAT (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dmachine.c170 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 Dmmu_helper.c186 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 Dmmu_common.c202 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 Dmmu-hash32.c63 BATlt = env->IBAT[1]; in ppc_hash32_bat_lookup()
64 BATut = env->IBAT[0]; in ppc_hash32_bat_lookup()
H A Dkvm.c896 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 Dcpu.h1265 target_ulong IBAT[2][8]; member
H A Dtranslate.c807 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 Dlite5200_sleep.S265 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 Dsysfs-bus-iio-adc-mt636049 Indicated MT6360 IBAT ADC
H A Dsysfs-class-power47 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 Dmediatek,mt6370-charger.yaml46 Use ADC channel to read VBUS, IBUS, IBAT, etc., info.
/openbmc/linux/drivers/iio/adc/
H A Dmt6370-adc.c280 MT6370_ADC_CHAN(IBAT, IIO_CURRENT, 9, 0),
H A Dmt6360-adc.c251 MT6360_ADC_CHAN(IBAT, IIO_CURRENT),
H A Dqcom-pm8xxx-xoadc.c318 XOADC_CHAN(IBAT, 0x00, 0x05, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1),
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6370.yaml42 measure range), VBAT, VSYS, CHG_VDDP, TS_BAT, IBUS, IBAT, and TEMP_JC.
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dstart.S314 mtspr IBAT##n##L, r4; \
315 mtspr IBAT##n##U, r3; \