Lines Matching refs:hw_info
137 static hw_info_t hw_info[] = { variable
199 #define NR_INFO ARRAY_SIZE(hw_info)
298 hw_info[i].offset & ~(resource_size(link->resource[2])-1)); in get_hwinfo()
299 base = &virt[hw_info[i].offset & (resource_size(link->resource[2])-1)]; in get_hwinfo()
300 if ((readb(base+0) == hw_info[i].a0) && in get_hwinfo()
301 (readb(base+2) == hw_info[i].a1) && in get_hwinfo()
302 (readb(base+4) == hw_info[i].a2)) { in get_hwinfo()
311 return (i < NR_INFO) ? hw_info+i : NULL; in get_hwinfo()
357 if ((prom[0] == hw_info[i].a0) && in get_prom()
358 (prom[2] == hw_info[i].a1) && in get_prom()
359 (prom[4] == hw_info[i].a2)) in get_prom()
365 return (i < NR_INFO) ? hw_info+i : &default_info; in get_prom()