Lines Matching refs:phys_dev
84 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev);
86 *phys_dev);
715 struct net_device *dev = hba->phys_dev; in bnx2fc_link_ok()
736 if (test_bit(__LINK_STATE_NOCARRIER, &hba->phys_dev->state)) in bnx2fc_get_link_state()
756 if (!hba->phys_dev->ethtool_ops || in bnx2fc_net_config()
757 !hba->phys_dev->ethtool_ops->get_pauseparam) in bnx2fc_net_config()
1170 struct net_device *physdev = interface->hba->phys_dev; in bnx2fc_interface_setup()
1318 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
2219 struct net_device *phys_dev = netdev; in _bnx2fc_create() local
2242 phys_dev = vlan_dev_real_dev(netdev); in _bnx2fc_create()
2245 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in _bnx2fc_create()
2247 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in _bnx2fc_create()
2260 hba = bnx2fc_hba_lookup(phys_dev); in _bnx2fc_create()
2417 *phys_dev) in bnx2fc_hba_lookup() argument
2423 if (hba->phys_dev == phys_dev) in bnx2fc_hba_lookup()
2493 struct net_device *phys_dev = netdev; in bnx2fc_match() local
2497 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_match()
2499 if (bnx2fc_hba_lookup(phys_dev)) { in bnx2fc_match()