Searched refs:law_sz_enc (Results 1 – 2 of 2) sorted by relevance
16 int law_sz_enc; in set_ddr_laws() local23 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()
185 int law_sz_enc; in set_ddr_laws() local192 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()