Lines Matching defs:if_port
79 INT_MODULE_PARM(if_port, 0);
281 static void smc_set_xcvr(struct net_device *dev, int if_port);
846 if ((if_port >= 0) && (if_port <= 2))
847 dev->if_port = if_port;
849 dev_notice(&link->dev, "invalid if_port requested\n");
933 (smc->cfg & CFG_MII_SELECT) ? "MII" : if_names[dev->if_port]);
1594 if ((map->port != (u_char)(-1)) && (map->port != dev->if_port)) {
1599 dev->if_port = map->port;
1600 netdev_info(dev, "switched to %s port\n", if_names[dev->if_port]);
1614 specified in dev->if_port.
1616 static void smc_set_xcvr(struct net_device *dev, int if_port)
1624 if (if_port == 2) {
1629 smc->media_status = ((dev->if_port == 0) ? 0x0001 : 0x0002);
1635 smc->media_status = ((dev->if_port == 0) ? 0x0012 : 0x4001);
1666 smc_set_xcvr(dev, dev->if_port);
1669 outw((dev->if_port == 2 ? OSI_AUI_PWR : 0) |
1814 if (dev->if_port == 0) {