Lines Matching refs:phys_dev
84 static struct bnx2fc_hba *bnx2fc_hba_lookup(struct net_device *phys_dev);
86 *phys_dev);
720 struct net_device *dev = hba->phys_dev; in bnx2fc_link_ok()
741 if (test_bit(__LINK_STATE_NOCARRIER, &hba->phys_dev->state)) in bnx2fc_get_link_state()
761 if (!hba->phys_dev->ethtool_ops || in bnx2fc_net_config()
762 !hba->phys_dev->ethtool_ops->get_pauseparam) in bnx2fc_net_config()
1172 struct net_device *physdev = interface->hba->phys_dev; in bnx2fc_interface_setup()
1321 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create()
2218 struct net_device *phys_dev = netdev; in _bnx2fc_create() local
2241 phys_dev = vlan_dev_real_dev(netdev); in _bnx2fc_create()
2244 if (phys_dev->ethtool_ops && phys_dev->ethtool_ops->get_drvinfo) { in _bnx2fc_create()
2246 phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); in _bnx2fc_create()
2259 hba = bnx2fc_hba_lookup(phys_dev); in _bnx2fc_create()
2416 *phys_dev) in bnx2fc_hba_lookup() argument
2422 if (hba->phys_dev == phys_dev) in bnx2fc_hba_lookup()
2489 struct net_device *phys_dev = netdev; in bnx2fc_match() local
2493 phys_dev = vlan_dev_real_dev(netdev); in bnx2fc_match()
2495 if (bnx2fc_hba_lookup(phys_dev)) { in bnx2fc_match()