Lines Matching refs:phys_dev
85 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev);
87 *phys_dev);
775 struct net_device *dev = hba->phys_dev; in bnx2fc_link_ok()
796 if (test_bit(__LINK_STATE_NOCARRIER, &hba->phys_dev->state)) in bnx2fc_get_link_state()
816 if (!hba->phys_dev->ethtool_ops || in bnx2fc_net_config()
817 !hba->phys_dev->ethtool_ops->get_pauseparam) in bnx2fc_net_config()
1242 struct net_device *physdev = interface->hba->phys_dev; in bnx2fc_interface_setup()
1391 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
2307 struct net_device *phys_dev = netdev; in _bnx2fc_create() local
2330 phys_dev = vlan_dev_real_dev(netdev); in _bnx2fc_create()
2333 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in _bnx2fc_create()
2335 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in _bnx2fc_create()
2348 hba = bnx2fc_hba_lookup(phys_dev); in _bnx2fc_create()
2506 *phys_dev) in bnx2fc_hba_lookup() argument
2512 if (hba->phys_dev == phys_dev) in bnx2fc_hba_lookup()
2584 struct net_device *phys_dev = netdev; in bnx2fc_match() local
2588 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_match()
2590 if (bnx2fc_hba_lookup(phys_dev)) { in bnx2fc_match()