Home
last modified time | relevance | path

Searched refs:MSW (Results 1 – 18 of 18) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_mbx.c628 if (MSW(risc_addr) || IS_FWI2_CAPABLE(ha)) { in qla2x00_load_ram()
630 mcp->mb[8] = MSW(risc_addr); in qla2x00_load_ram()
637 mcp->mb[2] = MSW(req_dma); in qla2x00_load_ram()
639 mcp->mb[6] = MSW(MSD(req_dma)); in qla2x00_load_ram()
643 mcp->mb[4] = MSW(risc_code_size); in qla2x00_load_ram()
706 mcp->mb[1] = MSW(risc_addr); in qla2x00_execute_fw()
906 mcp->mb[2] = MSW(phys_addr); in qla_set_exlogin_mem_cfg()
908 mcp->mb[6] = MSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
910 mcp->mb[8] = MSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg()
1016 mcp->mb[2] = MSW(ha->exchoffld_buf_dma); in qla_set_exchoffld_mem_cfg()
[all …]
Dqla_dbg.c128 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram()
130 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
132 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
135 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram()
215 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla24xx_dump_ram()
218 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla24xx_dump_ram()
220 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram()
223 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla24xx_dump_ram()
401 WRT_MAILBOX_REG(ha, reg, 8, MSW(addr)); in qla2xxx_dump_ram()
403 WRT_MAILBOX_REG(ha, reg, 2, MSW(dump_dma)); in qla2xxx_dump_ram()
[all …]
Dqla_isr.c503 qla2x00_mbx_completion(vha, MSW(stat)); in qla2300_intr_handler()
510 mb[0] = MSW(stat); in qla2300_intr_handler()
521 mb[1] = MSW(stat); in qla2300_intr_handler()
526 mb[1] = MSW(stat); in qla2300_intr_handler()
3157 que = MSW(sts->handle); in qla2x00_status_entry()
3580 uint16_t que = MSW(pkt->handle); in qla2x00_error_entry()
4096 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_intr_handler()
4101 mb[0] = MSW(stat); in qla24xx_intr_handler()
4226 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_msix_default()
4231 mb[0] = MSW(stat); in qla24xx_msix_default()
Dqla_mr.c894 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_init_fw_ready()
924 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_init_fw_ready()
962 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_init_fw_ready()
1424 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_rescan_isp()
2277 que = MSW(hindex); in qlafx00_status_entry()
2634 que = MSW(hindex); in qlafx00_multistatus_entry()
Dqla_nx.c2033 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_intr_handler()
2037 mb[0] = MSW(stat); in qla82xx_intr_handler()
2102 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_msix_default()
2106 mb[0] = MSW(stat); in qla82xx_msix_default()
2196 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_poll()
2199 mb[0] = MSW(stat); in qla82xx_poll()
Dqla_nx2.c3950 qla82xx_mbx_completion(vha, MSW(stat)); in qla8044_intr_handler()
3954 mb[0] = MSW(stat); in qla8044_intr_handler()
Dqla_iocb.c2533 mbx->mb2 = cpu_to_le16(MSW(ha->async_pd_dma)); in qla2x00_adisc_iocb()
2535 mbx->mb6 = cpu_to_le16(MSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
Dqla_init.c1173 mb[2] = MSW(vha->gnl.ldma); in qla24xx_async_gnl()
1175 mb[6] = MSW(MSD(vha->gnl.ldma)); in qla24xx_async_gnl()
1413 mb[2] = MSW(pd_dma); in qla24xx_async_gpdb()
1415 mb[6] = MSW(MSD(pd_dma)); in qla24xx_async_gpdb()
Dqla_def.h140 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
/drivers/staging/qlge/
Dqlge_mpi.c759 mbcp->mbox_in[2] = MSW(req_dma); in qlge_mb_dump_ram()
761 mbcp->mbox_in[4] = MSW(size); in qlge_mb_dump_ram()
763 mbcp->mbox_in[6] = MSW(MSD(req_dma)); in qlge_mb_dump_ram()
765 mbcp->mbox_in[8] = MSW(addr); in qlge_mb_dump_ram()
Dqlge.h79 #define MSW(x) ((u16)((u32)(x) >> 16)) macro
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c381 npar_info->min_tx_bw = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_vf_vport_info()
385 npar_info->max_tx_ques = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
389 npar_info->max_rx_mcast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
393 npar_info->max_rx_ip_addr = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
397 npar_info->max_rx_status_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
401 npar_info->max_rx_ques = MSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_vf_vport_info()
403 npar_info->max_local_ipv6_addrs = MSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_vf_vport_info()
428 adapter->rx_pvid = MSW(cmd->rsp.arg[1]) & 0xffff; in qlcnic_sriov_set_pvid_mode()
Dqlcnic_sriov_pf.c193 npar_info->max_vports = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_pf_info()
195 npar_info->max_tx_mac_filters = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_pf_info()
197 npar_info->max_rx_ucast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_pf_info()
199 npar_info->max_rx_lro_flow = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_pf_info()
201 npar_info->max_rx_buf_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_pf_info()
203 npar_info->max_tx_vlan_keys = MSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_pf_info()
205 npar_info->max_remote_ipv6_addrs = MSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_pf_info()
Dqlcnic_83xx_hw.h348 #define QLCNIC_MBX_NUM_REGS(reg) (MSW(reg) & 0x1FF)
Dqlcnic_83xx_hw.c2328 ahw->link_speed = MSW(data[2]); in qlcnic_83xx_handle_link_aen()
2329 duplex = LSB(MSW(data[3])); in qlcnic_83xx_handle_link_aen()
2339 ahw->link_autoneg = MSB(MSW(data[3])); in qlcnic_83xx_handle_link_aen()
2594 adapter->ahw->intr_tbl[i].id = MSW(val); in qlcnic_83xx_config_intrpt()
3674 val = LSB(MSW(data)); in qlcnic_83xx_interrupt_test()
3716 switch (MSW(config)) { in qlcnic_83xx_get_pauseparam()
Dqlcnic_hdr.h733 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
Dqlcnic_minidump.c622 poll_mask = LSB(MSW(l2->ctrl_val)); in qlcnic_dump_l2_cache()
623 poll_to = MSB(MSW(l2->ctrl_val)); in qlcnic_dump_l2_cache()
Dqlcnic_ctx.c807 ahw->intr_tbl[i].id = MSW(val); in qlcnic_82xx_config_intrpt()