Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A Dtest_sk_lookup.c30 #define LSW(value, index) \ macro
465 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access()
471 if (LSW(ctx->local_ip4, 0) != 0 || LSW(ctx->local_ip4, 1) != 0) in ctx_narrow_access()
542 if (LSW(ctx->remote_ip6[0], 0) != 0 || LSW(ctx->remote_ip6[0], 1) != 0 || in ctx_narrow_access()
543 LSW(ctx->remote_ip6[1], 0) != 0 || LSW(ctx->remote_ip6[1], 1) != 0 || in ctx_narrow_access()
544 LSW(ctx->remote_ip6[2], 0) != 0 || LSW(ctx->remote_ip6[2], 1) != 0 || in ctx_narrow_access()
545 LSW(ctx->remote_ip6[3], 0) != 0 || LSW(ctx->remote_ip6[3], 1) != 0) in ctx_narrow_access()
557 if (LSW(ctx->remote_ip6[0], 0) != 0 || LSW(ctx->remote_ip6[0], 1) != 0 || in ctx_narrow_access()
558 LSW(ctx->remote_ip6[1], 0) != 0 || LSW(ctx->remote_ip6[1], 1) != 0 || in ctx_narrow_access()
559 LSW(ctx->remote_ip6[2], 0) != 0 || LSW(ctx->remote_ip6[2], 1) != 0 || in ctx_narrow_access()
[all …]
/linux/arch/powerpc/boot/
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 >> count
104 or r4,r4,r6 # LSW |= t1
106 or r4,r4,r7 # LSW |= t2
/linux/arch/powerpc/kernel/
A Dmisc_32.S262 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
267 or r4,r4,r6 # LSW |= t1
270 or r4,r4,r7 # LSW |= t2
278 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
279 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
281 slw r4,r4,r5 # LSW = LSW << count
288 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
292 or r4,r4,r6 # LSW |= t1
294 or r4,r4,r7 # LSW |= t2
/linux/drivers/scsi/qla2xxx/
A Dqla_mbx.c2560 mb[1] = LSW(iop[1]); in qla24xx_login_fabric()
3580 mcp->mb[3] = LSW(addr); in qla8044_write_serdes_word()
3582 mcp->mb[5] = LSW(data); in qla8044_write_serdes_word()
3616 mcp->mb[3] = LSW(addr); in qla8044_read_serdes_word()
4366 mcp->mb[1] = LSW(addr); in qla2x00_dump_ram()
5481 mcp->mb[2] = LSW(data); in qla2x00_write_ram_word()
6184 mcp->mb[1] = LSW(reg); in qla83xx_wr_reg()
6186 mcp->mb[3] = LSW(data); in qla83xx_wr_reg()
6259 mcp->mb[1] = LSW(reg); in qla83xx_rd_reg()
6395 mcp->mb[1] = LSW(addr); in qla2x00_dump_mctp_data()
[all …]
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_dma)); in qla2xxx_dump_ram()
[all …]
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()
2273 handle = LSW(hindex); in qlafx00_status_entry()
2631 handle = LSW(hindex); in qlafx00_multistatus_entry()
A Dqla_isr.c2028 index = LSW(pkt->handle); in qla_get_sp_from_handle()
2584 data[1] = LSW(iop[1]); in qla24xx_logio_entry()
3323 handle = (uint32_t) LSW(sts->handle); in qla2x00_status_entry()
A Dqla_init.c1179 mb[3] = LSW(vha->gnl.ldma); in qla24xx_async_gnl()
1181 mb[7] = LSW(MSD(vha->gnl.ldma)); in qla24xx_async_gnl()
1423 mb[3] = LSW(pd_dma); in qla24xx_async_gpdb()
1425 mb[7] = LSW(MSD(pd_dma)); in qla24xx_async_gpdb()
A Dqla_iocb.c2533 mbx->mb3 = cpu_to_le16(LSW(ha->async_pd_dma)); in qla2x00_adisc_iocb()
2535 mbx->mb7 = cpu_to_le16(LSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
A Dqla_edif.c3494 handle = (uint32_t)LSW(sts24->handle); in qla_chk_edif_rx_sa_delete_pending()
A Dqla_def.h143 #define LSW(x) ((uint16_t)(x)) macro
/linux/drivers/net/ethernet/qlogic/netxen/
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))); \
/linux/drivers/net/ethernet/qlogic/qlcnic/
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()
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()
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()
A Dqlcnic_83xx_hw.h347 #define QLCNIC_MBX_RSP(reg) LSW(reg)
A Dqlcnic_83xx_hw.c827 int opcode = LSW(cmd->req.arg[0]); in qlcnic_83xx_poll_for_mbx_completion()
858 opcode = LSW(cmd->req.arg[0]); in qlcnic_83xx_issue_cmd()
1539 mbx_in = (LSW(QLC_83XX_LED_CONFIG) << 16) | in qlcnic_83xx_config_led()
1540 LSW(QLC_83XX_LED_CONFIG); in qlcnic_83xx_config_led()
2341 ahw->module_type = MSB(LSW(data[3])); in qlcnic_83xx_handle_link_aen()
3674 id = LSW(data); in qlcnic_83xx_interrupt_test()
A Dqlcnic_hdr.h732 #define LSW(x) ((uint16_t)((uint32_t)(x))) macro
A Dqlcnic_hw.c291 val = bar0 + QLCNIC_FW_DUMP_REG2 + LSW(addr); in qlcnic_read_window_reg()
304 val = bar0 + QLCNIC_FW_DUMP_REG2 + LSW(addr); in qlcnic_write_window_reg()
A Dqlcnic_ctx.c1430 esw_cfg->vlan_id = LSW(arg1 >> 16); in qlcnic_get_eswitch_port_config()

Completed in 125 milliseconds