Lines Matching refs:if_port
132 INT_MODULE_PARM(if_port, 0);
427 if ((if_port >= 0) && (if_port <= 3)) in tc589_config()
428 dev->if_port = if_port; in tc589_config()
440 if_names[dev->if_port]); in tc589_config()
571 static void tc589_set_xcvr(struct net_device *dev, int if_port) in tc589_set_xcvr() argument
577 switch (if_port) { in tc589_set_xcvr()
583 outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD); in tc589_set_xcvr()
586 outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA); in tc589_set_xcvr()
588 if (if_port == 2) in tc589_set_xcvr()
589 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000); in tc589_set_xcvr()
591 lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800); in tc589_set_xcvr()
624 tc589_set_xcvr(dev, dev->if_port); in tc589_reset()
681 if ((map->port != (u_char)(-1)) && (map->port != dev->if_port)) { in el3_config()
683 dev->if_port = map->port; in el3_config()
685 dev->name, if_names[dev->if_port]); in el3_config()
686 tc589_set_xcvr(dev, dev->if_port); in el3_config()
921 if (dev->if_port == 0) { in media_check()
1080 if (dev->if_port == 2) in el3_close()
1083 else if (dev->if_port == 1) { in el3_close()