• Home
  • Raw
  • Download

Lines Matching refs:hw_info

113 struct hw_info {  struct
134 static struct hw_info hw_info[] = { argument
196 #define NR_INFO ARRAY_SIZE(hw_info)
198 static struct hw_info default_info = { 0, 0, 0, 0, 0 };
199 static struct hw_info dl10019_info = { 0, 0, 0, 0, IS_DL10019|HAS_MII };
200 static struct hw_info dl10022_info = { 0, 0, 0, 0, IS_DL10022|HAS_MII };
277 static struct hw_info *get_hwinfo(struct pcmcia_device *link) in get_hwinfo()
300 hw_info[i].offset & ~(resource_size(link->resource[2])-1)); in get_hwinfo()
301 base = &virt[hw_info[i].offset & (resource_size(link->resource[2])-1)]; in get_hwinfo()
302 if ((readb(base+0) == hw_info[i].a0) && in get_hwinfo()
303 (readb(base+2) == hw_info[i].a1) && in get_hwinfo()
304 (readb(base+4) == hw_info[i].a2)) { in get_hwinfo()
314 return (i < NR_INFO) ? hw_info+i : NULL; in get_hwinfo()
325 static struct hw_info *get_prom(struct pcmcia_device *link) in get_prom()
361 if ((prom[0] == hw_info[i].a0) && in get_prom()
362 (prom[2] == hw_info[i].a1) && in get_prom()
363 (prom[4] == hw_info[i].a2)) in get_prom()
370 return (i < NR_INFO) ? hw_info+i : &default_info; in get_prom()
381 static struct hw_info *get_dl10019(struct pcmcia_device *link) in get_dl10019()
405 static struct hw_info *get_ax88190(struct pcmcia_device *link) in get_ax88190()
438 static struct hw_info *get_hwired(struct pcmcia_device *link) in get_hwired()
505 static struct hw_info *pcnet_try_config(struct pcmcia_device *link, in pcnet_try_config()
509 struct hw_info *local_hw_info; in pcnet_try_config()
572 struct hw_info *local_hw_info; in pcnet_config()