Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c72 fw_major = NXRD32(adapter, NETXEN_FW_VERSION_MAJOR); in netxen_nic_get_drvinfo()
73 fw_minor = NXRD32(adapter, NETXEN_FW_VERSION_MINOR); 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()
301 regs_buff[i++] = NXRD32(adapter, CRB_CMDPEG_STATE); in netxen_nic_get_regs()
302 regs_buff[i++] = NXRD32(adapter, CRB_RCVPEG_STATE); in netxen_nic_get_regs()
303 regs_buff[i++] = NXRD32(adapter, CRB_FW_CAPABILITIES_1); in netxen_nic_get_regs()
305 regs_buff[i++] = NXRD32(adapter, NX_CRB_DEV_REF_COUNT); in netxen_nic_get_regs()
306 regs_buff[i++] = NXRD32(adapter, NX_CRB_DEV_STATE); in netxen_nic_get_regs()
[all …]
Dnetxen_nic_main.c263 shift = NXRD32(adapter, CRB_DMA_SHIFT); in nx_update_dma_mask()
312 first_boot = NXRD32(adapter, NETXEN_PCIE_REG(0x4)); in netxen_check_hw_init()
316 NXRD32(adapter, NETXEN_PCIE_REG(0x4)); in netxen_check_hw_init()
320 first_boot = NXRD32(adapter, NETXEN_ROMUSB_GLB_SW_RESET); in netxen_check_hw_init()
328 val = NXRD32(adapter, NETXEN_ROMUSB_GLB_PEGTUNE_DONE); in netxen_check_hw_init()
333 val = NXRD32(adapter, NETXEN_CAM_RAM(0x1fc)); in netxen_check_hw_init()
390 chicken = NXRD32(adapter, NETXEN_PCIE_REG(PCIE_CHICKEN3)); in netxen_pcie_strap_init()
575 return NXRD32(adapter, NETXEN_INTR_MODE_REG); in netxen_get_interrupt_mode()
838 fw_major = NXRD32(adapter, NETXEN_FW_VERSION_MAJOR); in netxen_check_options()
839 fw_minor = NXRD32(adapter, NETXEN_FW_VERSION_MINOR); in netxen_check_options()
[all …]
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()
885 if (NXRD32(adapter, CRB_CMDPEG_STATE) == PHAN_INITIALIZE_FAILED) in netxen_need_fw_reset()
888 old_count = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); in netxen_need_fw_reset()
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()
[all …]
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()
367 mac_cfg = NXRD32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port)); in netxen_p2_nic_set_promisc()
379 while (NXRD32(adapter, NETXEN_NIU_FRAME_COUNT) && ++cnt < 20) in netxen_p2_nic_set_promisc()
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()
[all …]
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()
Dnetxen_nic.h1687 #define NXRD32(adapter, off) \ macro