Lines Matching refs:phys_dev
77 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev);
689 struct net_device *dev = hba->phys_dev; in bnx2fc_link_ok()
726 if (!hba->phys_dev->ethtool_ops || in bnx2fc_net_config()
727 !hba->phys_dev->ethtool_ops->get_pauseparam) in bnx2fc_net_config()
1059 struct net_device *physdev = hba->phys_dev; in bnx2fc_netdev_setup()
1130 struct net_device *phys_dev; in bnx2fc_interface_release() local
1136 phys_dev = hba->phys_dev; in bnx2fc_interface_release()
1191 hba->phys_dev = cnic->netdev; in bnx2fc_interface_create()
1193 hba->netdev = hba->phys_dev; in bnx2fc_interface_create()
1390 struct net_device *phys_dev; in bnx2fc_destroy() local
1398 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_destroy()
1405 hba = bnx2fc_hba_lookup(phys_dev); in bnx2fc_destroy()
1755 struct net_device *phys_dev; in bnx2fc_disable() local
1765 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_disable()
1773 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in bnx2fc_disable()
1775 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in bnx2fc_disable()
1790 hba = bnx2fc_hba_lookup(phys_dev); in bnx2fc_disable()
1809 struct net_device *phys_dev; in bnx2fc_enable() local
1820 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_enable()
1827 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in bnx2fc_enable()
1829 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in bnx2fc_enable()
1842 hba = bnx2fc_hba_lookup(phys_dev); in bnx2fc_enable()
1868 struct net_device *phys_dev; in bnx2fc_create() local
1891 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_create()
1899 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in bnx2fc_create()
1901 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in bnx2fc_create()
1914 hba = bnx2fc_hba_lookup(phys_dev); in bnx2fc_create()
2011 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev) in bnx2fc_hba_lookup() argument
2020 if (hba->phys_dev == phys_dev) in bnx2fc_hba_lookup()
2089 struct net_device *phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_match() local
2091 if (bnx2fc_hba_lookup(phys_dev)) { in bnx2fc_match()