Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dlaw.c16 int law_sz_enc; in set_ddr_laws() local
23 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
29 ecm->ar = (LAWAR_EN | (id << 20) | (LAWAR_SIZE & law_sz_enc)); in set_ddr_laws()
43 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
46 ecm->ar = (LAWAR_EN | (id << 20) | (LAWAR_SIZE & law_sz_enc)); in set_ddr_laws()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dlaw.c185 int law_sz_enc; in set_ddr_laws() local
192 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
194 if (set_last_law(start, law_sz_enc, id) < 0) in set_ddr_laws()
207 law_sz_enc = __ilog2_u64(law_sz) - 1; in set_ddr_laws()
209 if (set_last_law(start, law_sz_enc, id) < 0) in set_ddr_laws()