Home
last modified time | relevance | path

Searched refs:LSW (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c30 #define LSW(value, index) \ macro
395 if (LSW(ctx->family, 0) != (v4 ? AF_INET : AF_INET6)) in ctx_narrow_access()
402 if (LSW(ctx->protocol, 0) != IPPROTO_TCP) in ctx_narrow_access()
410 if (LSW(ctx->remote_port, 0) != SRC_PORT) in ctx_narrow_access()
418 if (LSW(ctx->local_port, 0) != DST_PORT) in ctx_narrow_access()
429 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
430 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
439 if (LSW(ctx->local_ip4, 0) != ((DST_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
440 LSW(ctx->local_ip4, 1) != ((DST_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
447 if (LSW(ct in ctx_narrow_access()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c30 #define LSW(value, index) \ macro
403 if (LSW(ctx->family, 0) != (v4 ? AF_INET : AF_INET6)) in ctx_narrow_access()
410 if (LSW(ctx->protocol, 0) != IPPROTO_TCP) in ctx_narrow_access()
417 if (LSW(ctx->remote_port, 0) != SRC_PORT) in ctx_narrow_access()
436 if (LSW(ctx->local_port, 0) != DST_PORT) in ctx_narrow_access()
447 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
448 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
457 if (LSW(ctx->local_ip4, 0) != ((DST_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
458 LSW(ctx->local_ip4, 1) != ((DST_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
465 if (LSW(ct in ctx_narrow_access()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Ddiv64.S74 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
79 or r4,r4,r6 # LSW |= t1
82 or r4,r4,r7 # LSW |= t2
90 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
91 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
93 slw r4,r4,r5 # LSW = LSW << count
100 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> coun
[all...]
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Ddiv64.S74 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
79 or r4,r4,r6 # LSW |= t1
82 or r4,r4,r7 # LSW |= t2
90 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
91 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
93 slw r4,r4,r5 # LSW = LSW << count
100 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> coun
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dmisc_32.S341 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
346 or r4,r4,r6 # LSW |= t1
349 or r4,r4,r7 # LSW |= t2
357 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
358 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
360 slw r4,r4,r5 # LSW = LSW << count
367 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> coun
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dmisc_32.S302 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
307 or r4,r4,r6 # LSW |= t1
310 or r4,r4,r7 # LSW |= t2
318 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
319 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
321 slw r4,r4,r5 # LSW = LSW << count
328 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> coun
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_mbx.c636 mcp->mb[1] = LSW(risc_addr); in qla2x00_load_ram()
638 mcp->mb[3] = LSW(req_dma); in qla2x00_load_ram()
640 mcp->mb[7] = LSW(MSD(req_dma)); in qla2x00_load_ram()
644 mcp->mb[5] = LSW(risc_code_size); in qla2x00_load_ram()
647 mcp->mb[4] = LSW(risc_code_size); in qla2x00_load_ram()
707 mcp->mb[2] = LSW(risc_addr); in qla2x00_execute_fw()
752 mcp->mb[1] = LSW(risc_addr); in qla2x00_execute_fw()
913 mcp->mb[3] = LSW(phys_addr); in qla_set_exlogin_mem_cfg()
915 mcp->mb[7] = LSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
917 mcp->mb[9] = LSW(h in qla_set_exlogin_mem_cfg()
[all...]
H A Dqla_dbg.c126 wrt_reg_word(&reg->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram()
130 wrt_reg_word(&reg->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
132 wrt_reg_word(&reg->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
135 wrt_reg_word(&reg->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram()
213 wrt_reg_word(&reg->mailbox1, LSW(addr)); in qla24xx_dump_ram()
218 wrt_reg_word(&reg->mailbox3, LSW(LSD(dump_dma))); in qla24xx_dump_ram()
220 wrt_reg_word(&reg->mailbox7, LSW(MSD(dump_dma))); in qla24xx_dump_ram()
223 wrt_reg_word(&reg->mailbox5, LSW(dwords)); in qla24xx_dump_ram()
399 WRT_MAILBOX_REG(ha, reg, 1, LSW(addr)); in qla2xxx_dump_ram()
403 WRT_MAILBOX_REG(ha, reg, 3, LSW(dump_dm in qla2xxx_dump_ram()
[all...]
H A Dqla_mr.c895 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_init_fw_ready()
925 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_init_fw_ready()
963 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_init_fw_ready()
1425 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_rescan_isp()
2275 handle = LSW(hindex); in qlafx00_status_entry()
2633 handle = LSW(hindex); in qlafx00_multistatus_entry()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_mbx.c609 mcp->mb[1] = LSW(risc_addr); in qla2x00_load_ram()
611 mcp->mb[3] = LSW(req_dma); in qla2x00_load_ram()
613 mcp->mb[7] = LSW(MSD(req_dma)); in qla2x00_load_ram()
617 mcp->mb[5] = LSW(risc_code_size); in qla2x00_load_ram()
620 mcp->mb[4] = LSW(risc_code_size); in qla2x00_load_ram()
678 mcp->mb[2] = LSW(risc_addr); in qla2x00_execute_fw()
723 mcp->mb[1] = LSW(risc_addr); in qla2x00_execute_fw()
871 mcp->mb[3] = LSW(phys_addr); in qla_set_exlogin_mem_cfg()
873 mcp->mb[7] = LSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
875 mcp->mb[9] = LSW(h in qla_set_exlogin_mem_cfg()
[all...]
H A Dqla_dbg.c127 wrt_reg_word(&reg->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram()
131 wrt_reg_word(&reg->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
133 wrt_reg_word(&reg->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
136 wrt_reg_word(&reg->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram()
214 wrt_reg_word(&reg->mailbox1, LSW(addr)); in qla24xx_dump_ram()
219 wrt_reg_word(&reg->mailbox3, LSW(LSD(dump_dma))); in qla24xx_dump_ram()
221 wrt_reg_word(&reg->mailbox7, LSW(MSD(dump_dma))); in qla24xx_dump_ram()
224 wrt_reg_word(&reg->mailbox5, LSW(dwords)); in qla24xx_dump_ram()
400 WRT_MAILBOX_REG(ha, reg, 1, LSW(addr)); in qla2xxx_dump_ram()
404 WRT_MAILBOX_REG(ha, reg, 3, LSW(dump_dm in qla2xxx_dump_ram()
[all...]
H A Dqla_mr.c895 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_init_fw_ready()
925 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_init_fw_ready()
963 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_init_fw_ready()
1425 ha->rqstq_intr_code = LSW(aenmbx7); in qlafx00_rescan_isp()
2274 handle = LSW(hindex); in qlafx00_status_entry()
2632 handle = LSW(hindex); in qlafx00_multistatus_entry()
/kernel/linux/linux-5.10/drivers/staging/qlge/
H A Dqlge_mpi.c758 mbcp->mbox_in[1] = LSW(addr); in ql_mb_dump_ram()
760 mbcp->mbox_in[3] = LSW(req_dma); in ql_mb_dump_ram()
762 mbcp->mbox_in[5] = LSW(size); in ql_mb_dump_ram()
764 mbcp->mbox_in[7] = LSW(MSD(req_dma)); in ql_mb_dump_ram()
/kernel/linux/linux-6.6/drivers/staging/qlge/
H A Dqlge_mpi.c758 mbcp->mbox_in[1] = LSW(addr); in qlge_mb_dump_ram()
760 mbcp->mbox_in[3] = LSW(req_dma); in qlge_mb_dump_ram()
762 mbcp->mbox_in[5] = LSW(size); in qlge_mb_dump_ram()
764 mbcp->mbox_in[7] = LSW(MSD(req_dma)); in qlge_mb_dump_ram()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_common.c383 npar_info->max_tx_bw = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
387 npar_info->max_tx_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
391 npar_info->max_rx_ucast_mac_filters = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
395 npar_info->max_rx_lro_flow = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
399 npar_info->max_rx_buf_rings = LSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_vf_vport_info()
402 npar_info->max_tx_vlan_keys = LSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_vf_vport_info()
404 npar_info->max_remote_ipv6_addrs = LSW(cmd.rsp.arg[9]); in qlcnic_sriov_get_vf_vport_info()
H A Dqlcnic_minidump.c579 addr = LSW(fl_addr) + FLASH_ROM_DATA; in qlcnic_read_rom()
599 qlcnic_ind_wr(adapter, l1->ctrl_addr, LSW(l1->ctrl_val)); in qlcnic_dump_l1_cache()
627 if (LSW(l2->ctrl_val)) in qlcnic_dump_l2_cache()
629 LSW(l2->ctrl_val)); in qlcnic_dump_l2_cache()
H A Dqlcnic_sriov_pf.c194 npar_info->max_tx_ques = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_pf_info()
196 npar_info->max_rx_mcast_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_pf_info()
198 npar_info->max_rx_ip_addr = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_pf_info()
200 npar_info->max_rx_status_rings = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_pf_info()
202 npar_info->max_rx_ques = LSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_pf_info()
204 npar_info->max_local_ipv6_addrs = LSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_pf_info()
H A Dqlcnic_hdr.h732 #define LSW(x) ((uint16_t)((uint32_t)(x))) macro
H A Dqlcnic_83xx_hw.h347 #define QLCNIC_MBX_RSP(reg) LSW(reg)
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_common.c383 npar_info->max_tx_bw = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
387 npar_info->max_tx_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
391 npar_info->max_rx_ucast_mac_filters = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
395 npar_info->max_rx_lro_flow = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
399 npar_info->max_rx_buf_rings = LSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_vf_vport_info()
402 npar_info->max_tx_vlan_keys = LSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_vf_vport_info()
404 npar_info->max_remote_ipv6_addrs = LSW(cmd.rsp.arg[9]); in qlcnic_sriov_get_vf_vport_info()
H A Dqlcnic_minidump.c579 addr = LSW(fl_addr) + FLASH_ROM_DATA; in qlcnic_read_rom()
599 qlcnic_ind_wr(adapter, l1->ctrl_addr, LSW(l1->ctrl_val)); in qlcnic_dump_l1_cache()
627 if (LSW(l2->ctrl_val)) in qlcnic_dump_l2_cache()
629 LSW(l2->ctrl_val)); in qlcnic_dump_l2_cache()
H A Dqlcnic_sriov_pf.c194 npar_info->max_tx_ques = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_pf_info()
196 npar_info->max_rx_mcast_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_pf_info()
198 npar_info->max_rx_ip_addr = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_pf_info()
200 npar_info->max_rx_status_rings = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_pf_info()
202 npar_info->max_rx_ques = LSW(cmd.rsp.arg[7]); in qlcnic_sriov_get_pf_info()
204 npar_info->max_local_ipv6_addrs = LSW(cmd.rsp.arg[8]); in qlcnic_sriov_get_pf_info()
H A Dqlcnic_83xx_hw.h347 #define QLCNIC_MBX_RSP(reg) LSW(reg)
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic.h1168 #define LSW(x) ((uint16_t)(x)) macro
1207 LSW(addr))); \
1214 writel(data, (void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr)));\
1215 readl((void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr))); \
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic.h1168 #define LSW(x) ((uint16_t)(x)) macro
1207 LSW(addr))); \
1214 writel(data, (void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr)));\
1215 readl((void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr))); \

Completed in 50 milliseconds

12