Lines Matching refs:adm
1333 u32 ssb_admatch_base(u32 adm) in ssb_admatch_base() argument
1337 switch (adm & SSB_ADM_TYPE) { in ssb_admatch_base()
1339 base = (adm & SSB_ADM_BASE0); in ssb_admatch_base()
1342 SSB_WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_base()
1343 base = (adm & SSB_ADM_BASE1); in ssb_admatch_base()
1346 SSB_WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_base()
1347 base = (adm & SSB_ADM_BASE2); in ssb_admatch_base()
1357 u32 ssb_admatch_size(u32 adm) in ssb_admatch_size() argument
1361 switch (adm & SSB_ADM_TYPE) { in ssb_admatch_size()
1363 size = ((adm & SSB_ADM_SZ0) >> SSB_ADM_SZ0_SHIFT); in ssb_admatch_size()
1366 SSB_WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_size()
1367 size = ((adm & SSB_ADM_SZ1) >> SSB_ADM_SZ1_SHIFT); in ssb_admatch_size()
1370 SSB_WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_size()
1371 size = ((adm & SSB_ADM_SZ2) >> SSB_ADM_SZ2_SHIFT); in ssb_admatch_size()