Searched refs:NXWR32 (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 347 NXWR32(adapter, NETXEN_ROMUSB_ROM_ADDRESS, addr); in do_rom_fast_read() 348 NXWR32(adapter, NETXEN_ROMUSB_ROM_DUMMY_BYTE_CNT, 0); in do_rom_fast_read() 349 NXWR32(adapter, NETXEN_ROMUSB_ROM_ABYTE_CNT, 3); in do_rom_fast_read() 350 NXWR32(adapter, NETXEN_ROMUSB_ROM_INSTR_OPCODE, 0xb); in do_rom_fast_read() 356 NXWR32(adapter, NETXEN_ROMUSB_ROM_ABYTE_CNT, 0); in do_rom_fast_read() 358 NXWR32(adapter, NETXEN_ROMUSB_ROM_DUMMY_BYTE_CNT, 0); in do_rom_fast_read() 424 NXWR32(adapter, NETXEN_ROMUSB_GLB_SW_RESET, 0xfeffffff); in netxen_pinit_from_rom() 527 NXWR32(adapter, off, buf[i].data); in netxen_pinit_from_rom() 538 NXWR32(adapter, NETXEN_ROMUSB_GLB_SW_RESET, (val & 0xffffff0f)); in netxen_pinit_from_rom() 542 NXWR32(adapter, NETXEN_CRB_PEG_NET_D + 0xec, 0x1e); in netxen_pinit_from_rom() [all …]
|
D | netxen_nic_hw.c | 307 NXWR32(adapter, id_reg, adapter->portnum); in netxen_pcie_sem_lock() 321 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_1+(0x10000*port), 0x1447); in netxen_niu_xg_init_port() 322 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0+(0x10000*port), 0x5); in netxen_niu_xg_init_port() 341 if (NXWR32(adapter, in netxen_niu_disable_xg_port() 369 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); in netxen_p2_nic_set_promisc() 375 NXWR32(adapter, NETXEN_NIU_FRAME_COUNT_SELECT, reg); in netxen_p2_nic_set_promisc() 397 NXWR32(adapter, in netxen_p2_nic_set_promisc() 402 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); in netxen_p2_nic_set_promisc() 425 if (NXWR32(adapter, reg_lo, mac_lo) || NXWR32(adapter, reg_hi, mac_hi)) in netxen_p2_nic_set_mac_addr() 427 if (NXWR32(adapter, reg_lo, mac_lo) || NXWR32(adapter, reg_hi, mac_hi)) in netxen_p2_nic_set_mac_addr() [all …]
|
D | netxen_nic_main.c | 307 NXWR32(adapter, NETXEN_CAM_RAM(0x1fc), NETXEN_BDINFO_MAGIC); in netxen_check_hw_init() 316 NXWR32(adapter, NETXEN_PCIE_REG(0x4), first_boot); in netxen_check_hw_init() 324 NXWR32(adapter, NETXEN_CAM_RAM(0x1fc), 0); in netxen_check_hw_init() 330 NXWR32(adapter, NETXEN_ROMUSB_GLB_PEGTUNE_DONE, val | 0x1); in netxen_check_hw_init() 353 NXWR32(adapter, NETXEN_PORT_MODE_ADDR, data); in netxen_set_port_mode() 356 NXWR32(adapter, NETXEN_PORT_MODE_ADDR, data); in netxen_set_port_mode() 359 NXWR32(adapter, NETXEN_PORT_MODE_ADDR, data); in netxen_set_port_mode() 362 NXWR32(adapter, NETXEN_PORT_MODE_ADDR, data); in netxen_set_port_mode() 365 NXWR32(adapter, NETXEN_PORT_MODE_ADDR, data); in netxen_set_port_mode() 374 NXWR32(adapter, NETXEN_WOL_PORT_MODE, wol_port_mode); in netxen_set_port_mode() [all …]
|
D | netxen_nic_ctx.c | 45 NXWR32(adapter, NX_SIGN_CRB_OFFSET, signature); in netxen_issue_cmd() 47 NXWR32(adapter, NX_ARG1_CRB_OFFSET, cmd->req.arg1); in netxen_issue_cmd() 49 NXWR32(adapter, NX_ARG2_CRB_OFFSET, cmd->req.arg2); in netxen_issue_cmd() 51 NXWR32(adapter, NX_ARG3_CRB_OFFSET, cmd->req.arg3); in netxen_issue_cmd() 53 NXWR32(adapter, NX_CDRP_CRB_OFFSET, NX_CDRP_FORM_CMD(cmd->req.cmd)); in netxen_issue_cmd() 725 NXWR32(adapter, CRB_CTX_ADDR_REG_LO(port), in netxen_init_old_ctx() 727 NXWR32(adapter, CRB_CTX_ADDR_REG_HI(port), in netxen_init_old_ctx() 729 NXWR32(adapter, CRB_CTX_SIGNATURE_REG(port), in netxen_init_old_ctx() 868 NXWR32(adapter, CRB_CTX_SIGNATURE_REG(port), in netxen_free_hw_resources()
|
D | netxen_nic_ethtool.c | 546 NXWR32(adapter, NETXEN_NIU_GB_MAC_CONFIG_0(port), in netxen_nic_set_pauseparam() 577 NXWR32(adapter, NETXEN_NIU_GB_PAUSE_CTL, val); in netxen_nic_set_pauseparam() 593 NXWR32(adapter, NETXEN_NIU_XG_PAUSE_CTL, val); in netxen_nic_set_pauseparam() 616 NXWR32(adapter, CRB_SCRATCHPAD_TEST, data_written); in netxen_nic_reg_test() 727 NXWR32(adapter, NETXEN_WOL_CONFIG, wol_cfg); in netxen_nic_set_wol()
|
D | netxen_nic.h | 1689 #define NXWR32(adapter, off, val) \ macro
|