Searched refs:LSW (Results 1 – 19 of 19) sorted by relevance
/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 636 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() 907 mcp->mb[3] = LSW(phys_addr); in qla_set_exlogin_mem_cfg() 909 mcp->mb[7] = LSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg() 911 mcp->mb[9] = LSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg() [all …]
|
D | qla_dbg.c | 127 wrt_reg_word(®->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram() 131 wrt_reg_word(®->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 133 wrt_reg_word(®->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 136 wrt_reg_word(®->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram() 214 wrt_reg_word(®->mailbox1, LSW(addr)); in qla24xx_dump_ram() 219 wrt_reg_word(®->mailbox3, LSW(LSD(dump_dma))); in qla24xx_dump_ram() 221 wrt_reg_word(®->mailbox7, LSW(MSD(dump_dma))); in qla24xx_dump_ram() 224 wrt_reg_word(®->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_dma)); in qla2xxx_dump_ram() [all …]
|
D | qla_mr.c | 895 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()
|
D | qla_isr.c | 1878 index = LSW(pkt->handle); in qla2x00_get_sp_from_handle() 2411 data[1] = LSW(iop[1]); in qla24xx_logio_entry() 3156 handle = (uint32_t) LSW(sts->handle); in qla2x00_status_entry()
|
D | qla_iocb.c | 2534 mbx->mb3 = cpu_to_le16(LSW(ha->async_pd_dma)); in qla2x00_adisc_iocb() 2536 mbx->mb7 = cpu_to_le16(LSW(MSD(ha->async_pd_dma))); in qla2x00_adisc_iocb()
|
D | qla_init.c | 1174 mb[3] = LSW(vha->gnl.ldma); in qla24xx_async_gnl() 1176 mb[7] = LSW(MSD(vha->gnl.ldma)); in qla24xx_async_gnl() 1414 mb[3] = LSW(pd_dma); in qla24xx_async_gpdb() 1416 mb[7] = LSW(MSD(pd_dma)); in qla24xx_async_gpdb()
|
D | qla_edif.c | 3375 handle = (uint32_t)LSW(sts24->handle); in qla_chk_edif_rx_sa_delete_pending()
|
D | qla_def.h | 139 #define LSW(x) ((uint16_t)(x)) macro
|
/drivers/staging/qlge/ |
D | qlge_mpi.c | 758 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()
|
D | qlge.h | 78 #define LSW(x) ((u16)(x)) macro
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic.h | 1168 #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))); \
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 383 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()
|
D | qlcnic_sriov_pf.c | 194 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()
|
D | qlcnic_minidump.c | 579 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()
|
D | qlcnic_83xx_hw.h | 347 #define QLCNIC_MBX_RSP(reg) LSW(reg)
|
D | qlcnic_83xx_hw.c | 828 int opcode = LSW(cmd->req.arg[0]); in qlcnic_83xx_poll_for_mbx_completion() 859 opcode = LSW(cmd->req.arg[0]); in qlcnic_83xx_issue_cmd() 1540 mbx_in = (LSW(QLC_83XX_LED_CONFIG) << 16) | in qlcnic_83xx_config_led() 1541 LSW(QLC_83XX_LED_CONFIG); in qlcnic_83xx_config_led() 2340 ahw->module_type = MSB(LSW(data[3])); in qlcnic_83xx_handle_link_aen() 3673 id = LSW(data); in qlcnic_83xx_interrupt_test()
|
D | qlcnic_hw.c | 291 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()
|
D | qlcnic_hdr.h | 732 #define LSW(x) ((uint16_t)((uint32_t)(x))) macro
|
D | qlcnic_ctx.c | 1430 esw_cfg->vlan_id = LSW(arg1 >> 16); in qlcnic_get_eswitch_port_config()
|