Lines Matching refs:phys_dev
85 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev);
87 *phys_dev);
767 struct net_device *dev = hba->phys_dev; in bnx2fc_link_ok()
788 if (test_bit(__LINK_STATE_NOCARRIER, &hba->phys_dev->state)) in bnx2fc_get_link_state()
808 if (!hba->phys_dev->ethtool_ops || in bnx2fc_net_config()
809 !hba->phys_dev->ethtool_ops->get_pauseparam) in bnx2fc_net_config()
1238 struct net_device *physdev = interface->hba->phys_dev; in bnx2fc_interface_setup()
1387 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
2308 struct net_device *phys_dev = netdev; in _bnx2fc_create() local
2331 phys_dev = vlan_dev_real_dev(netdev); in _bnx2fc_create()
2334 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in _bnx2fc_create()
2336 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in _bnx2fc_create()
2349 hba = bnx2fc_hba_lookup(phys_dev); in _bnx2fc_create()
2507 *phys_dev) in bnx2fc_hba_lookup() argument
2513 if (hba->phys_dev == phys_dev) in bnx2fc_hba_lookup()
2588 struct net_device *phys_dev = netdev; in bnx2fc_match() local
2592 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_match()
2594 if (bnx2fc_hba_lookup(phys_dev)) { in bnx2fc_match()