Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Ddiv64.S76 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
78 sraw r7,r3,r7 # t2 = MSW >> (count-32)
81 sraw r3,r3,r5 # MSW = MSW >> count
88 slw r3,r3,r5 # MSW = count > 31 ? 0 : MSW << count
92 or r3,r3,r6 # MSW |= t1
94 or r3,r3,r7 # MSW |= t2
102 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
103 srw r7,r3,r7 # t2 = count < 32 ? 0 : MSW >> (count-32)
105 srw r3,r3,r5 # MSW = MSW >> count
/OK3568_Linux_fs/u-boot/arch/powerpc/lib/
H A D_lshrdi3.S37 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
38 srw r7,r3,r7 # t2 = count < 32 ? 0 : MSW >> (count-32)
40 srw r3,r3,r5 # MSW = MSW >> count
H A D_ashldi3.S35 slw r3,r3,r5 # MSW = count > 31 ? 0 : MSW << count
39 or r3,r3,r6 # MSW |= t1
41 or r3,r3,r7 # MSW |= t2
H A D_ashrdi3.S37 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
39 sraw r7,r3,r7 # t2 = MSW >> (count-32)
42 sraw r3,r3,r5 # MSW = MSW >> count
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dmisc_32.S343 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
345 sraw r7,r3,r7 # t2 = MSW >> (count-32)
348 sraw r3,r3,r5 # MSW = MSW >> count
355 slw r3,r3,r5 # MSW = count > 31 ? 0 : MSW << count
359 or r3,r3,r6 # MSW |= t1
361 or r3,r3,r7 # MSW |= t2
369 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
370 srw r7,r3,r7 # t2 = count < 32 ? 0 : MSW >> (count-32)
372 srw r3,r3,r5 # MSW = MSW >> count
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_mbx.c604 if (MSW(risc_addr) || IS_FWI2_CAPABLE(ha)) { in qla2x00_load_ram()
606 mcp->mb[8] = MSW(risc_addr); in qla2x00_load_ram()
613 mcp->mb[2] = MSW(req_dma); in qla2x00_load_ram()
615 mcp->mb[6] = MSW(MSD(req_dma)); in qla2x00_load_ram()
619 mcp->mb[4] = MSW(risc_code_size); in qla2x00_load_ram()
680 mcp->mb[1] = MSW(risc_addr); in qla2x00_execute_fw()
873 mcp->mb[2] = MSW(phys_addr); in qla_set_exlogin_mem_cfg()
875 mcp->mb[6] = MSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
877 mcp->mb[8] = MSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg()
983 mcp->mb[2] = MSW(ha->exchoffld_buf_dma); in qla_set_exchoffld_mem_cfg()
[all …]
H A Dqla_dbg.c123 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram()
125 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
127 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
130 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram()
203 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla24xx_dump_ram()
206 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla24xx_dump_ram()
208 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram()
211 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla24xx_dump_ram()
387 WRT_MAILBOX_REG(ha, reg, 8, MSW(addr)); in qla2xxx_dump_ram()
389 WRT_MAILBOX_REG(ha, reg, 2, MSW(dump_dma)); in qla2xxx_dump_ram()
[all …]
H A Dqla_isr.c364 qla2x00_mbx_completion(vha, MSW(stat)); in qla2300_intr_handler()
371 mb[0] = MSW(stat); in qla2300_intr_handler()
382 mb[1] = MSW(stat); in qla2300_intr_handler()
387 mb[1] = MSW(stat); in qla2300_intr_handler()
2880 que = MSW(sts->handle); in qla2x00_status_entry()
3297 uint16_t que = MSW(pkt->handle); in qla2x00_error_entry()
3698 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_intr_handler()
3703 mb[0] = MSW(stat); in qla24xx_intr_handler()
3827 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_msix_default()
3832 mb[0] = MSW(stat); in qla24xx_msix_default()
H A 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()
2276 que = MSW(hindex); in qlafx00_status_entry()
2633 que = MSW(hindex); in qlafx00_multistatus_entry()
H A Dqla_nx.c2036 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_intr_handler()
2040 mb[0] = MSW(stat); in qla82xx_intr_handler()
2105 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_msix_default()
2109 mb[0] = MSW(stat); in qla82xx_msix_default()
2200 qla82xx_mbx_completion(vha, MSW(stat)); in qla82xx_poll()
2204 mb[0] = MSW(stat); in qla82xx_poll()
H A Dqla_nx2.c3958 qla82xx_mbx_completion(vha, MSW(stat)); in qla8044_intr_handler()
3962 mb[0] = MSW(stat); in qla8044_intr_handler()
H A Dqla_iocb.c2509 mbx->mb2 = cpu_to_le16(MSW(ha->async_pd_dma)); in qla2x00_adisc_iocb()
2511 mbx->mb6 = cpu_to_le16(MSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
H A Dqla_init.c1129 mb[2] = MSW(vha->gnl.ldma); in qla24xx_async_gnl()
1131 mb[6] = MSW(MSD(vha->gnl.ldma)); in qla24xx_async_gnl()
1368 mb[2] = MSW(pd_dma); in qla24xx_async_gpdb()
1370 mb[6] = MSW(MSD(pd_dma)); in qla24xx_async_gpdb()
H A Dqla_def.h118 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
/OK3568_Linux_fs/kernel/drivers/staging/qlge/
H A Dqlge_mpi.c759 mbcp->mbox_in[2] = MSW(req_dma); in ql_mb_dump_ram()
761 mbcp->mbox_in[4] = MSW(size); in ql_mb_dump_ram()
763 mbcp->mbox_in[6] = MSW(MSD(req_dma)); in ql_mb_dump_ram()
765 mbcp->mbox_in[8] = MSW(addr); in ql_mb_dump_ram()
H A Dqlge.h79 #define MSW(x) ((u16)((u32)(x) >> 16)) macro
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_common.c379 npar_info->min_tx_bw = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_vf_vport_info()
383 npar_info->max_tx_ques = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
387 npar_info->max_rx_mcast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
391 npar_info->max_rx_ip_addr = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
395 npar_info->max_rx_status_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
399 npar_info->max_rx_ques = MSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_vf_vport_info()
401 npar_info->max_local_ipv6_addrs = MSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_vf_vport_info()
426 adapter->rx_pvid = MSW(cmd->rsp.arg[1]) & 0xffff; in qlcnic_sriov_set_pvid_mode()
H A 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()
H A Dqlcnic_83xx_hw.h348 #define QLCNIC_MBX_NUM_REGS(reg) (MSW(reg) & 0x1FF)
H A 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()
H A Dqlcnic_hdr.h733 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
H A 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()
H A Dqlcnic_ctx.c801 ahw->intr_tbl[i].id = MSW(val); in qlcnic_82xx_config_intrpt()