Lines Matching full:adm
1237 u32 ssb_admatch_base(u32 adm) in ssb_admatch_base() argument
1241 switch (adm & SSB_ADM_TYPE) { in ssb_admatch_base()
1243 base = (adm & SSB_ADM_BASE0); in ssb_admatch_base()
1246 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_base()
1247 base = (adm & SSB_ADM_BASE1); in ssb_admatch_base()
1250 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_base()
1251 base = (adm & SSB_ADM_BASE2); in ssb_admatch_base()
1261 u32 ssb_admatch_size(u32 adm) in ssb_admatch_size() argument
1265 switch (adm & SSB_ADM_TYPE) { in ssb_admatch_size()
1267 size = ((adm & SSB_ADM_SZ0) >> SSB_ADM_SZ0_SHIFT); in ssb_admatch_size()
1270 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_size()
1271 size = ((adm & SSB_ADM_SZ1) >> SSB_ADM_SZ1_SHIFT); in ssb_admatch_size()
1274 WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ in ssb_admatch_size()
1275 size = ((adm & SSB_ADM_SZ2) >> SSB_ADM_SZ2_SHIFT); in ssb_admatch_size()