Searched refs:MSW (Results 1 – 17 of 17) sorted by relevance
/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 412 if (MSW(risc_addr) || IS_FWI2_CAPABLE(ha)) { in qla2x00_load_ram() 414 mcp->mb[8] = MSW(risc_addr); in qla2x00_load_ram() 421 mcp->mb[2] = MSW(req_dma); in qla2x00_load_ram() 423 mcp->mb[6] = MSW(MSD(req_dma)); in qla2x00_load_ram() 427 mcp->mb[4] = MSW(risc_code_size); in qla2x00_load_ram() 482 mcp->mb[1] = MSW(risc_addr); in qla2x00_execute_fw() 816 mcp->mb[1] = MSW(risc_addr); in qla2x00_verify_checksum() 873 mcp->mb[2] = MSW(phys_addr); in qla2x00_issue_iocb_timeout() 875 mcp->mb[6] = MSW(MSD(phys_addr)); in qla2x00_issue_iocb_timeout() 1264 mcp->mb[2] = MSW(ha->init_cb_dma); in qla2x00_init_firmware() [all …]
|
D | qla_dbg.c | 138 WRT_REG_WORD(®->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram() 140 WRT_REG_WORD(®->mailbox2, MSW(dump_dma)); in qla27xx_dump_mpi_ram() 142 WRT_REG_WORD(®->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 145 WRT_REG_WORD(®->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram() 218 WRT_REG_WORD(®->mailbox8, MSW(addr)); in qla24xx_dump_ram() 220 WRT_REG_WORD(®->mailbox2, MSW(dump_dma)); in qla24xx_dump_ram() 222 WRT_REG_WORD(®->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram() 225 WRT_REG_WORD(®->mailbox4, MSW(dwords)); in qla24xx_dump_ram() 398 WRT_MAILBOX_REG(ha, reg, 8, MSW(addr)); in qla2xxx_dump_ram() 400 WRT_MAILBOX_REG(ha, reg, 2, MSW(dump_dma)); in qla2xxx_dump_ram() [all …]
|
D | qla_isr.c | 215 qla2x00_mbx_completion(vha, MSW(stat)); in qla2300_intr_handler() 222 mb[0] = MSW(stat); in qla2300_intr_handler() 233 mb[1] = MSW(stat); in qla2300_intr_handler() 238 mb[1] = MSW(stat); in qla2300_intr_handler() 2060 que = MSW(sts->handle); in qla2x00_status_entry() 2451 uint16_t que = MSW(pkt->handle); in qla2x00_error_entry() 2745 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_intr_handler() 2750 mb[0] = MSW(stat); in qla24xx_intr_handler() 2910 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_msix_default() 2915 mb[0] = MSW(stat); in qla24xx_msix_default()
|
D | qla_mr.c | 893 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_init_fw_ready() 923 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_init_fw_ready() 961 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_init_fw_ready() 1422 ha->mbx_intr_code = MSW(aenmbx7); in qlafx00_rescan_isp() 2278 que = MSW(hindex); in qlafx00_status_entry() 2629 que = MSW(hindex); in qlafx00_multistatus_entry()
|
D | qla_nx.c | 2069 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_intr_handler() 2073 mb[0] = MSW(stat); in qla82xx_intr_handler() 2138 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_msix_default() 2142 mb[0] = MSW(stat); in qla82xx_msix_default() 2233 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_poll() 2237 mb[0] = MSW(stat); in qla82xx_poll()
|
D | qla_iocb.c | 1973 mbx->mb2 = cpu_to_le16(MSW(ha->async_pd_dma)); in qla2x00_adisc_iocb() 1975 mbx->mb6 = cpu_to_le16(MSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
|
D | qla_nx2.c | 3946 qla82xx_mbx_completion(vha, MSW(stat)); in qla8044_intr_handler() 3950 mb[0] = MSW(stat); in qla8044_intr_handler()
|
D | qla_def.h | 98 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_mpi.c | 763 mbcp->mbox_in[2] = MSW(req_dma); in ql_mb_dump_ram() 765 mbcp->mbox_in[4] = MSW(size); in ql_mb_dump_ram() 767 mbcp->mbox_in[6] = MSW(MSD(req_dma)); in ql_mb_dump_ram() 769 mbcp->mbox_in[8] = MSW(addr); in ql_mb_dump_ram()
|
D | qlge.h | 76 #define MSW(x) ((u16)((u32)(x) >> 16)) macro
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 374 npar_info->min_tx_bw = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_vf_vport_info() 378 npar_info->max_tx_ques = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info() 382 npar_info->max_rx_mcast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info() 386 npar_info->max_rx_ip_addr = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info() 390 npar_info->max_rx_status_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info() 394 npar_info->max_rx_ques = MSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_vf_vport_info() 396 npar_info->max_local_ipv6_addrs = MSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_vf_vport_info() 421 adapter->rx_pvid = MSW(cmd->rsp.arg[1]) & 0xffff; in qlcnic_sriov_set_pvid_mode()
|
D | qlcnic_sriov_pf.c | 194 npar_info->max_vports = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_pf_info() 196 npar_info->max_tx_mac_filters = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_pf_info() 198 npar_info->max_rx_ucast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_pf_info() 200 npar_info->max_rx_lro_flow = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_pf_info() 202 npar_info->max_rx_buf_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_pf_info() 204 npar_info->max_tx_vlan_keys = MSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_pf_info() 206 npar_info->max_remote_ipv6_addrs = MSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_pf_info()
|
D | qlcnic_83xx_hw.h | 349 #define QLCNIC_MBX_NUM_REGS(reg) (MSW(reg) & 0x1FF)
|
D | qlcnic_83xx_hw.c | 2328 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() 3634 val = LSB(MSW(data)); in qlcnic_83xx_interrupt_test() 3676 switch (MSW(config)) { in qlcnic_83xx_get_pauseparam()
|
D | qlcnic_hdr.h | 734 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
|
D | qlcnic_minidump.c | 623 poll_mask = LSB(MSW(l2->ctrl_val)); in qlcnic_dump_l2_cache() 624 poll_to = MSB(MSW(l2->ctrl_val)); in qlcnic_dump_l2_cache()
|
D | qlcnic_ctx.c | 800 ahw->intr_tbl[i].id = MSW(val); in qlcnic_82xx_config_intrpt()
|