Home
last modified time | relevance | path

Searched refs:NXRD32 (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ethtool.c72 fw_major = NXRD32(adapter, NETXEN_FW_VERSION_MAJOR); in netxen_nic_get_drvinfo()
74 fw_build = NXRD32(adapter, NETXEN_FW_VERSION_SUB); in netxen_nic_get_drvinfo()
113 val = NXRD32(adapter, NETXEN_PORT_MODE_ADDR); in netxen_nic_get_link_ksettings()
134 val = NXRD32(adapter, P3_LINK_SPEED_REG(pcifn)); in netxen_nic_get_link_ksettings()
327 regs_buff[i++] = NXRD32(adapter, in netxen_nic_get_regs()
329 regs_buff[i++] = NXRD32(adapter, in netxen_nic_get_regs()
332 regs_buff[i++] = NXRD32(adapter, CRB_XG_STATE); in netxen_nic_get_regs()
360 val = NXRD32(adapter, CRB_XG_STATE_P3); in netxen_nic_test_link()
364 val = NXRD32(adapter, CRB_XG_STATE); in netxen_nic_test_link()
701 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_get_wol()
[all …]
H A Dnetxen_nic_main.c263 shift = NXRD32(adapter, CRB_DMA_SHIFT); in nx_update_dma_mask()
316 NXRD32(adapter, NETXEN_PCIE_REG(0x4)); in netxen_check_hw_init()
875 i = NXRD32(adapter, NETXEN_SRE_MISC); in netxen_check_options()
1398 temp = NXRD32(adapter, NETXEN_ULA_KEY); in netxen_read_ula_info()
2136 temp = NXRD32(adapter, CRB_TEMP_STATE); in netxen_nic_check_temp()
2199 val = NXRD32(adapter, CRB_XG_STATE_P3); in netxen_nic_handle_phy_intr()
2203 val = NXRD32(adapter, CRB_XG_STATE); in netxen_nic_handle_phy_intr()
2390 state = NXRD32(adapter, NX_CRB_DEV_STATE); in nx_decr_dev_ref_cnt()
2408 state = NXRD32(adapter, NX_CRB_DEV_STATE); in nx_dev_request_aer()
2430 state = NXRD32(adapter, NX_CRB_DEV_STATE); in nx_dev_request_reset()
[all …]
H A Dnetxen_nic_init.c332 done = NXRD32(adapter, NETXEN_ROMUSB_GLB_STATUS); in netxen_wait_rom_done()
360 *valp = NXRD32(adapter, NETXEN_ROMUSB_ROM_RDATA); in do_rom_fast_read()
537 val = NXRD32(adapter, NETXEN_ROMUSB_GLB_SW_RESET); in netxen_pinit_from_rom()
899 count = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); in netxen_need_fw_reset()
915 major = NXRD32(adapter, NETXEN_FW_VERSION_MAJOR); in netxen_need_fw_reset()
916 minor = NXRD32(adapter, NETXEN_FW_VERSION_MINOR); in netxen_need_fw_reset()
917 build = NXRD32(adapter, NETXEN_FW_VERSION_SUB); in netxen_need_fw_reset()
925 val = NXRD32(adapter, NETXEN_MIU_MN_CONTROL); in netxen_need_fw_reset()
1290 ctrl = NXRD32(adapter, NETXEN_DMA_WATCHDOG_CTRL); in netxen_free_dummy_dma()
1324 val = NXRD32(adapter, CRB_CMDPEG_STATE); in netxen_phantom_init()
[all …]
H A Dnetxen_nic_hw.c298 done = NXRD32(adapter, NETXEN_PCIE_REG(PCIE_SEM_LOCK(sem))); in netxen_pcie_sem_lock()
315 NXRD32(adapter, NETXEN_PCIE_REG(PCIE_SEM_UNLOCK(sem))); in netxen_pcie_sem_unlock()
384 reg = NXRD32(adapter, in netxen_p2_nic_set_promisc()
443 val = NXRD32(adapter, NETXEN_MAC_ADDR_CNTL_REG); in netxen_nic_enable_mcast_filter()
472 val = NXRD32(adapter, NETXEN_MAC_ADDR_CNTL_REG); in netxen_nic_disable_mcast_filter()
1031 mac_lo = NXRD32(adapter, crbaddr); in netxen_p3_get_mac_addr()
1032 mac_hi = NXRD32(adapter, crbaddr+4); in netxen_p3_get_mac_addr()
1787 u32 gpio = NXRD32(adapter, NETXEN_ROMUSB_GLB_PAD_GPIO_I); in netxen_nic_get_board_info()
1861 port_mode = NXRD32(adapter, NETXEN_PORT_MODE_ADDR); in netxen_nic_set_link_parameters()
1922 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_wol_supported()
[all …]
H A Dnetxen_nic_ctx.c26 rsp = NXRD32(adapter, NX_CDRP_CRB_OFFSET); in netxen_poll_rsp()
63 rcode = NXRD32(adapter, NX_ARG1_CRB_OFFSET); in netxen_issue_cmd()
70 cmd->rsp.arg2 = NXRD32(adapter, NX_ARG2_CRB_OFFSET); in netxen_issue_cmd()
72 cmd->rsp.arg3 = NXRD32(adapter, NX_ARG3_CRB_OFFSET); in netxen_issue_cmd()
76 cmd->rsp.arg1 = NXRD32(adapter, NX_ARG1_CRB_OFFSET); in netxen_issue_cmd()
H A Dnetxen_nic.h1687 #define NXRD32(adapter, off) \ macro