Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/arch/powerpc/kernel/
Dmisc_32.S264 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
266 sraw r7,r3,r7 # t2 = MSW >> (count-32)
269 sraw r3,r3,r5 # MSW = MSW >> count
276 slw r3,r3,r5 # MSW = count > 31 ? 0 : MSW << count
280 or r3,r3,r6 # MSW |= t1
282 or r3,r3,r7 # MSW |= t2
290 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count)
291 srw r7,r3,r7 # t2 = count < 32 ? 0 : MSW >> (count-32)
293 srw r3,r3,r5 # MSW = MSW >> count
/linux-6.12.1/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()
912 mcp->mb[2] = MSW(phys_addr); in qla_set_exlogin_mem_cfg()
914 mcp->mb[6] = MSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
916 mcp->mb[8] = MSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg()
1022 mcp->mb[2] = MSW(ha->exchoffld_buf_dma); in qla_set_exchoffld_mem_cfg()
[all …]
Dqla_dbg.c127 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram()
129 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
131 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
134 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram()
214 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla24xx_dump_ram()
217 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla24xx_dump_ram()
219 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram()
222 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla24xx_dump_ram()
400 WRT_MAILBOX_REG(ha, reg, 8, MSW(addr)); in qla2xxx_dump_ram()
402 WRT_MAILBOX_REG(ha, reg, 2, MSW(dump_dma)); in qla2xxx_dump_ram()
[all …]
Dqla_isr.c519 qla2x00_mbx_completion(vha, MSW(stat)); in qla2300_intr_handler()
526 mb[0] = MSW(stat); in qla2300_intr_handler()
537 mb[1] = MSW(stat); in qla2300_intr_handler()
542 mb[1] = MSW(stat); in qla2300_intr_handler()
3324 que = MSW(sts->handle); in qla2x00_status_entry()
3750 uint16_t que = MSW(pkt->handle); in qla2x00_error_entry()
4279 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_intr_handler()
4284 mb[0] = MSW(stat); in qla24xx_intr_handler()
4409 qla24xx_mbx_completion(vha, MSW(stat)); in qla24xx_msix_default()
4414 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()
2275 que = MSW(hindex); in qlafx00_status_entry()
2632 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_init.c1178 mb[2] = MSW(vha->gnl.ldma); in qla24xx_async_gnl()
1180 mb[6] = MSW(MSD(vha->gnl.ldma)); in qla24xx_async_gnl()
1422 mb[2] = MSW(pd_dma); in qla24xx_async_gpdb()
1424 mb[6] = MSW(MSD(pd_dma)); in qla24xx_async_gpdb()
Dqla_iocb.c2532 mbx->mb2 = cpu_to_le16(MSW(ha->async_pd_dma)); in qla2x00_adisc_iocb()
2534 mbx->mb6 = cpu_to_le16(MSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
Dqla_def.h144 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
/linux-6.12.1/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.c2329 ahw->link_speed = MSW(data[2]); in qlcnic_83xx_handle_link_aen()
2330 duplex = LSB(MSW(data[3])); in qlcnic_83xx_handle_link_aen()
2340 ahw->link_autoneg = MSB(MSW(data[3])); in qlcnic_83xx_handle_link_aen()
2595 adapter->ahw->intr_tbl[i].id = MSW(val); in qlcnic_83xx_config_intrpt()
3675 val = LSB(MSW(data)); in qlcnic_83xx_interrupt_test()
3717 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()