Lines Matching refs:ahw
105 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_settings()
124 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
145 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_get_settings()
146 u16 pcifn = adapter->ahw.pci_func; in netxen_nic_get_settings()
163 switch (adapter->ahw.board_type) { in netxen_nic_get_settings()
179 ecmd->autoneg = (adapter->ahw.board_type == in netxen_nic_get_settings()
208 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
225 adapter->ahw.board_type); in netxen_nic_get_settings()
247 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_settings()
262 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_settings()
303 regs->version = (1 << 24) | (adapter->ahw.revision_id << 16) | in netxen_nic_get_regs()
324 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_get_regs()
367 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { in netxen_nic_test_link()
369 val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val); in netxen_nic_test_link()
412 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam()
448 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_set_ringparam()
454 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam()
489 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam()
511 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam()
522 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam()
539 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_pauseparam()
582 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_set_pauseparam()
601 adapter->ahw.port_type); in netxen_nic_set_pauseparam()
615 if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_nic_reg_test()
698 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_get_wol()
716 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) in netxen_nic_set_wol()
746 if (!NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_set_intr_coalesce()
807 if (!NX_IS_REVISION_P3(adapter->ahw.revision_id)) in netxen_get_intr_coalesce()