Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/boot/
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
/linux-6.1.9/arch/powerpc/kernel/
Dmisc_32.S304 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
306 sraw r7,r3,r7 # t2 = MSW >> (count-32)
309 sraw r3,r3,r5 # MSW = MSW >> count
316 slw r3,r3,r5 # MSW = count > 31 ? 0 : MSW << count
320 or r3,r3,r6 # MSW |= t1
322 or r3,r3,r7 # MSW |= t2
330 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
331 srw r7,r3,r7 # t2 = count < 32 ? 0 : MSW >> (count-32)
333 srw r3,r3,r5 # MSW = MSW >> count
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_mbx.c632 if (MSW(risc_addr) || IS_FWI2_CAPABLE(ha)) { in qla2x00_load_ram()
634 mcp->mb[8] = MSW(risc_addr); in qla2x00_load_ram()
641 mcp->mb[2] = MSW(req_dma); in qla2x00_load_ram()
643 mcp->mb[6] = MSW(MSD(req_dma)); in qla2x00_load_ram()
647 mcp->mb[4] = MSW(risc_code_size); in qla2x00_load_ram()
710 mcp->mb[1] = MSW(risc_addr); in qla2x00_execute_fw()
916 mcp->mb[2] = MSW(phys_addr); in qla_set_exlogin_mem_cfg()
918 mcp->mb[6] = MSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
920 mcp->mb[8] = MSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg()
1026 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()
3165 que = MSW(sts->handle); in qla2x00_status_entry()
3590 uint16_t que = MSW(pkt->handle); in qla2x00_error_entry()
4077 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_intr_handler()
4082 mb[0] = MSW(stat); in qla24xx_intr_handler()
4207 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_msix_default()
4212 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.c3947 qla82xx_mbx_completion(vha, MSW(stat)); in qla8044_intr_handler()
3951 mb[0] = MSW(stat); in qla8044_intr_handler()
Dqla_iocb.c2524 mbx->mb2 = cpu_to_le16(MSW(ha->async_pd_dma)); in qla2x00_adisc_iocb()
2526 mbx->mb6 = cpu_to_le16(MSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
Dqla_init.c1163 mb[2] = MSW(vha->gnl.ldma); in qla24xx_async_gnl()
1165 mb[6] = MSW(MSD(vha->gnl.ldma)); in qla24xx_async_gnl()
1402 mb[2] = MSW(pd_dma); in qla24xx_async_gpdb()
1404 mb[6] = MSW(MSD(pd_dma)); in qla24xx_async_gpdb()
Dqla_def.h145 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
/linux-6.1.9/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
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
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_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_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.c801 ahw->intr_tbl[i].id = MSW(val); in qlcnic_82xx_config_intrpt()