Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dlaw.c21 #define LAWAR_ADDR(x) (&((ccsr_local_t *)LAW_BASE)->law[x].lawar) macro
27 #define LAWAR_ADDR(x) ((u32 *)LAW_BASE + 8 * x + 2) macro
58 out_be32(LAWAR_ADDR(idx), 0); in set_law()
60 out_be32(LAWAR_ADDR(idx), LAW_EN | ((u32)id << 20) | (u32)sz); in set_law()
63 in_be32(LAWAR_ADDR(idx)); in set_law()
70 out_be32(LAWAR_ADDR(idx), 0); in disable_law()
74 in_be32(LAWAR_ADDR(idx)); in disable_law()
85 lawar = in_be32(LAWAR_ADDR(i)); in get_law_entry()
164 lawar = in_be32(LAWAR_ADDR(i)); in print_laws()
229 u32 lawar = in_be32(LAWAR_ADDR(i)); in disable_non_ddr_laws()
[all …]