Lines Matching refs:phys_dev
87 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev);
89 *phys_dev);
766 struct net_device *dev = hba->phys_dev; in bnx2fc_link_ok()
787 if (test_bit(__LINK_STATE_NOCARRIER, &hba->phys_dev->state)) in bnx2fc_get_link_state()
807 if (!hba->phys_dev->ethtool_ops || in bnx2fc_net_config()
808 !hba->phys_dev->ethtool_ops->get_pauseparam) in bnx2fc_net_config()
1231 struct net_device *physdev = interface->hba->phys_dev; in bnx2fc_interface_setup()
1380 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
2296 struct net_device *phys_dev = netdev; in _bnx2fc_create() local
2319 phys_dev = vlan_dev_real_dev(netdev); in _bnx2fc_create()
2322 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in _bnx2fc_create()
2324 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in _bnx2fc_create()
2337 hba = bnx2fc_hba_lookup(phys_dev); in _bnx2fc_create()
2495 *phys_dev) in bnx2fc_hba_lookup() argument
2501 if (hba->phys_dev == phys_dev) in bnx2fc_hba_lookup()
2573 struct net_device *phys_dev = netdev; in bnx2fc_match() local
2577 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_match()
2579 if (bnx2fc_hba_lookup(phys_dev)) { in bnx2fc_match()