Lines Matching refs:ahw
107 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_settings()
126 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
147 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_get_settings()
148 u16 pcifn = adapter->ahw.pci_func; in netxen_nic_get_settings()
165 switch (adapter->ahw.board_type) { in netxen_nic_get_settings()
181 ecmd->autoneg = (adapter->ahw.board_type == in netxen_nic_get_settings()
210 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
227 adapter->ahw.board_type); in netxen_nic_get_settings()
249 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_settings()
264 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_settings()
305 regs->version = (1 << 24) | (adapter->ahw.revision_id << 16) | in netxen_nic_get_regs()
326 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_get_regs()
369 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_test_link()
371 val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val); in netxen_nic_test_link()
414 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam()
450 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_set_ringparam()
456 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam()
491 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam()
513 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam()
524 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam()
541 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_pauseparam()
584 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_set_pauseparam()
603 adapter->ahw.port_type); in netxen_nic_set_pauseparam()
617 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_nic_reg_test()
700 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_get_wol()
718 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_set_wol()
748 if (!NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_set_intr_coalesce()
809 if (!NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_get_intr_coalesce()