Lines Matching refs:ahw
107 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_link_ksettings()
126 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_link_ksettings()
147 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_get_link_ksettings()
148 u16 pcifn = adapter->ahw.pci_func; in netxen_nic_get_link_ksettings()
164 switch (adapter->ahw.board_type) { in netxen_nic_get_link_ksettings()
180 cmd->base.autoneg = (adapter->ahw.board_type == in netxen_nic_get_link_ksettings()
210 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_link_ksettings()
227 adapter->ahw.board_type); in netxen_nic_get_link_ksettings()
249 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
270 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_link_ksettings()
311 regs->version = (1 << 24) | (adapter->ahw.revision_id << 16) | in netxen_nic_get_regs()
332 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_get_regs()
375 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_test_link()
377 val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val); in netxen_nic_test_link()
420 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam()
456 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_set_ringparam()
462 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam()
497 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam()
519 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam()
530 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam()
547 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_pauseparam()
590 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_set_pauseparam()
609 adapter->ahw.port_type); in netxen_nic_set_pauseparam()
623 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_nic_reg_test()
706 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_get_wol()
724 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_set_wol()
754 if (!NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_set_intr_coalesce()
815 if (!NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_get_intr_coalesce()