Lines Matching refs:cidr
156 static int __init at91_get_cidr_exid_from_dbgu(u32 *cidr, u32 *exid) in at91_get_cidr_exid_from_dbgu() argument
176 *cidr = readl(regs + AT91_DBGU_CIDR); in at91_get_cidr_exid_from_dbgu()
184 static int __init at91_get_cidr_exid_from_chipid(u32 *cidr, u32 *exid) in at91_get_cidr_exid_from_chipid() argument
201 *cidr = readl(regs + AT91_CHIPID_CIDR); in at91_get_cidr_exid_from_chipid()
214 u32 cidr, exid; in at91_soc_init() local
222 ret = at91_get_cidr_exid_from_dbgu(&cidr, &exid); in at91_soc_init()
224 ret = at91_get_cidr_exid_from_chipid(&cidr, &exid); in at91_soc_init()
232 if (soc->cidr_match != (cidr & AT91_CIDR_MATCH_MASK)) in at91_soc_init()
235 if (!(cidr & AT91_CIDR_EXT) || soc->exid_match == exid) in at91_soc_init()
251 AT91_CIDR_VERSION(cidr)); in at91_soc_init()
263 AT91_CIDR_VERSION(cidr)); in at91_soc_init()