Lines Matching refs:adm
1239 u32 ssb_admatch_base(u32 adm) in ssb_admatch_base() argument
1243 switch (adm & SSB_ADM_TYPE) { in ssb_admatch_base()
1245 base = (adm & SSB_ADM_BASE0); in ssb_admatch_base()
1248 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_base()
1249 base = (adm & SSB_ADM_BASE1); in ssb_admatch_base()
1252 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_base()
1253 base = (adm & SSB_ADM_BASE2); in ssb_admatch_base()
1263 u32 ssb_admatch_size(u32 adm) in ssb_admatch_size() argument
1267 switch (adm & SSB_ADM_TYPE) { in ssb_admatch_size()
1269 size = ((adm & SSB_ADM_SZ0) >> SSB_ADM_SZ0_SHIFT); in ssb_admatch_size()
1272 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_size()
1273 size = ((adm & SSB_ADM_SZ1) >> SSB_ADM_SZ1_SHIFT); in ssb_admatch_size()
1276 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_size()
1277 size = ((adm & SSB_ADM_SZ2) >> SSB_ADM_SZ2_SHIFT); in ssb_admatch_size()