Home
last modified time | relevance | path

Searched refs:SET_FIELD (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/powernv/
Dvas-window.c280 val = SET_FIELD(VAS_XLATE_MSR_HV, val, 1); in init_xlate_regs()
281 val = SET_FIELD(VAS_XLATE_MSR_SF, val, 1); in init_xlate_regs()
283 val = SET_FIELD(VAS_XLATE_MSR_DR, val, 1); in init_xlate_regs()
284 val = SET_FIELD(VAS_XLATE_MSR_PR, val, 1); in init_xlate_regs()
297 val = SET_FIELD(VAS_XLATE_LPCR_PAGE_SIZE, val, 5); in init_xlate_regs()
298 val = SET_FIELD(VAS_XLATE_LPCR_ISL, val, lpcr & LPCR_ISL); in init_xlate_regs()
299 val = SET_FIELD(VAS_XLATE_LPCR_TC, val, lpcr & LPCR_TC); in init_xlate_regs()
300 val = SET_FIELD(VAS_XLATE_LPCR_SC, val, 0); in init_xlate_regs()
311 val = SET_FIELD(VAS_XLATE_MODE, val, radix_enabled() ? 3 : 2); in init_xlate_regs()
318 val = SET_FIELD(VAS_AMR, val, mfspr(SPRN_AMR)); in init_xlate_regs()
[all …]
/arch/powerpc/include/asm/
Dvas.h35 #define SET_FIELD(m, v, val) \ macro