Lines Matching refs:if_port
78 INT_MODULE_PARM(if_port, 0);
281 static void smc_set_xcvr(struct net_device *dev, int if_port);
848 if ((if_port >= 0) && (if_port <= 2)) in smc91c92_config()
849 dev->if_port = if_port; in smc91c92_config()
935 (smc->cfg & CFG_MII_SELECT) ? "MII" : if_names[dev->if_port]); in smc91c92_config()
1593 if ((map->port != (u_char)(-1)) && (map->port != dev->if_port)) { in s9k_config()
1598 WRITE_ONCE(dev->if_port, map->port); in s9k_config()
1599 netdev_info(dev, "switched to %s port\n", if_names[dev->if_port]); in s9k_config()
1615 static void smc_set_xcvr(struct net_device *dev, int if_port) in smc_set_xcvr() argument
1623 if (if_port == 2) { in smc_set_xcvr()
1628 smc->media_status = ((dev->if_port == 0) ? 0x0001 : 0x0002); in smc_set_xcvr()
1634 smc->media_status = ((dev->if_port == 0) ? 0x0012 : 0x4001); in smc_set_xcvr()
1665 smc_set_xcvr(dev, dev->if_port); in smc_reset()
1668 outw((dev->if_port == 2 ? OSI_AUI_PWR : 0) | in smc_reset()
1813 if (dev->if_port == 0) { in media_check()