/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | div64.S | 76 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 >> (coun [all...] |
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | div64.S | 76 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 >> (coun [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | misc_32.S | 343 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 >> (coun [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | misc_32.S | 304 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 >> (coun [all...] |
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 628 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(h in qla_set_exchoffld_mem_cfg() [all...] |
H A D | qla_dbg.c | 127 wrt_reg_word(®->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram() 129 wrt_reg_word(®->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 131 wrt_reg_word(®->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 134 wrt_reg_word(®->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram() 214 wrt_reg_word(®->mailbox8, MSW(addr)); in qla24xx_dump_ram() 217 wrt_reg_word(®->mailbox2, MSW(LSD(dump_dma))); in qla24xx_dump_ram() 219 wrt_reg_word(®->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram() 222 wrt_reg_word(®->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_dm in qla2xxx_dump_ram() [all...] |
H A D | qla_isr.c | 519 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() 691 * mb[6] = MSW of Peg-Halt Status-1 Register in qla83xx_handle_8200_aen() 693 * mb[7] = MSW of Peg-Halt Status-2 register in qla83xx_handle_8200_aen() 716 * (LSW = mb[2], MSW = mb[6]) in qla83xx_handle_8200_aen() 724 * (LSW = mb[3], MSW = mb[7]) in qla83xx_handle_8200_aen() 764 * (LSW = mb[2], MSW = mb[6]) in qla83xx_handle_8200_aen() 3330 que = MSW(st in qla2x00_status_entry() [all...] |
H A D | qla_mr.c | 894 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()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 601 if (MSW(risc_addr) || IS_FWI2_CAPABLE(ha)) { in qla2x00_load_ram() 603 mcp->mb[8] = MSW(risc_addr); in qla2x00_load_ram() 610 mcp->mb[2] = MSW(req_dma); in qla2x00_load_ram() 612 mcp->mb[6] = MSW(MSD(req_dma)); in qla2x00_load_ram() 616 mcp->mb[4] = MSW(risc_code_size); in qla2x00_load_ram() 677 mcp->mb[1] = MSW(risc_addr); in qla2x00_execute_fw() 870 mcp->mb[2] = MSW(phys_addr); in qla_set_exlogin_mem_cfg() 872 mcp->mb[6] = MSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg() 874 mcp->mb[8] = MSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg() 980 mcp->mb[2] = MSW(h in qla_set_exchoffld_mem_cfg() [all...] |
H A D | qla_dbg.c | 128 wrt_reg_word(®->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram() 130 wrt_reg_word(®->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 132 wrt_reg_word(®->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 135 wrt_reg_word(®->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram() 215 wrt_reg_word(®->mailbox8, MSW(addr)); in qla24xx_dump_ram() 218 wrt_reg_word(®->mailbox2, MSW(LSD(dump_dma))); in qla24xx_dump_ram() 220 wrt_reg_word(®->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram() 223 wrt_reg_word(®->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_dm in qla2xxx_dump_ram() [all...] |
H A D | qla_isr.c | 359 qla2x00_mbx_completion(vha, MSW(stat)); in qla2300_intr_handler() 366 mb[0] = MSW(stat); in qla2300_intr_handler() 377 mb[1] = MSW(stat); in qla2300_intr_handler() 382 mb[1] = MSW(stat); in qla2300_intr_handler() 531 * mb[6] = MSW of Peg-Halt Status-1 Register in qla83xx_handle_8200_aen() 533 * mb[7] = MSW of Peg-Halt Status-2 register in qla83xx_handle_8200_aen() 556 * (LSW = mb[2], MSW = mb[6]) in qla83xx_handle_8200_aen() 564 * (LSW = mb[3], MSW = mb[7]) in qla83xx_handle_8200_aen() 604 * (LSW = mb[2], MSW = mb[6]) in qla83xx_handle_8200_aen() 2877 que = MSW(st in qla2x00_status_entry() [all...] |
H A D | qla_mr.c | 894 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()
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
H A D | qlge_mpi.c | 759 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()
|
/kernel/linux/linux-6.6/drivers/staging/qlge/ |
H A D | qlge_mpi.c | 759 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov_common.c | 381 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()
|
H A D | qlcnic_sriov_pf.c | 193 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 D | qlcnic_minidump.c | 622 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 D | qlcnic_hdr.h | 733 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
|
H A D | qlcnic_83xx_hw.h | 348 #define QLCNIC_MBX_NUM_REGS(reg) (MSW(reg) & 0x1FF)
|
H A 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() 3674 val = LSB(MSW(data)); in qlcnic_83xx_interrupt_test() 3716 switch (MSW(config)) { in qlcnic_83xx_get_pauseparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov_common.c | 381 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()
|
H A D | qlcnic_sriov_pf.c | 193 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 D | qlcnic_minidump.c | 622 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 D | qlcnic_83xx_hw.h | 348 #define QLCNIC_MBX_NUM_REGS(reg) (MSW(reg) & 0x1FF)
|
H A D | qlcnic_hdr.h | 733 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) macro
|