Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c459 mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress)); in ql_initialize_ip()
461 mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress)); in ql_initialize_ip()
605 mcp->mb[6] = LSW(h_rcv); in ql_loop_back()
607 mcp->mb[10] = LSW(lb->transfer_count); in ql_loop_back()
611 mcp->mb[14] = LSW(lb->transfer_data_address); in ql_loop_back()
613 mcp->mb[16] = LSW(lb->receive_data_address); in ql_loop_back()
615 mcp->mb[18] = LSW(lb->iteration_count); in ql_loop_back()
617 mcp->mb[20] = LSW(h_xmit); in ql_loop_back()
652 mcp->mb[6] = LSW(h_rcv); in ql_loop_back()
654 mcp->mb[6] = LSW(MSD(lb->receive_data_address)); in ql_loop_back()
[all …]
H A Dql_init.c748 icb->request_q_address[0] = LSB(LSW(start_addr)); in ql_nvram_config()
749 icb->request_q_address[1] = MSB(LSW(start_addr)); in ql_nvram_config()
754 icb->request_q_address[4] = LSB(LSW(start_addr)); in ql_nvram_config()
755 icb->request_q_address[5] = MSB(LSW(start_addr)); in ql_nvram_config()
760 icb->response_q_address[0] = LSB(LSW(start_addr)); in ql_nvram_config()
761 icb->response_q_address[1] = MSB(LSW(start_addr)); in ql_nvram_config()
766 icb->response_q_address[4] = LSB(LSW(start_addr)); in ql_nvram_config()
767 icb->response_q_address[5] = MSB(LSW(start_addr)); in ql_nvram_config()
789 ip_icb->queue_address[0] = LSB(LSW(start_addr)); in ql_nvram_config()
790 ip_icb->queue_address[1] = MSB(LSW(start_addr)); in ql_nvram_config()
[all …]
H A Dql_xioctl.c4192 MSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4194 LSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4237 MSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4239 LSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4266 MSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4268 LSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4542 pkt->cmd24.scsi_cdb[4] = LSB(LSW(inq_len)); in ql_inq()
4582 pkt->cmd3.scsi_cdb[4] = LSB(LSW(inq_len)); in ql_inq()
4606 pkt->cmd.scsi_cdb[4] = LSB(LSW(inq_len)); in ql_inq()
5424 bp[0] = LSB(LSW(data)); in ql_dump_fcode()
[all …]
H A Dql_iocb.c1491 LSW(sp->handle)); in ql_isp_rcvbuf()
1594 LSW(sp->handle)); in ql_isp24xx_rcvbuf()
H A Dql_api.c11514 LSW(addr)); in ql_write_flash_byte()
11578 LSW(addr)); in ql_read_flash_byte()
11659 xp->fdesc.flash_manuf = LSB(LSW(fdata)); in ql_24xx_flash_id()
11660 xp->fdesc.flash_id = MSB(LSW(fdata)); in ql_24xx_flash_id()
16186 WRT16_IO_REG(ha, mailbox_in[1], LSW(risc_address)); in ql_read_risc_ram()
22087 *bp++ = LSB(LSW(addr)); in ql_2700_dt_riob1()
22088 *bp++ = MSB(LSW(addr)); in ql_2700_dt_riob1()
22161 *bp++ = LSB(LSW(addr)); in ql_2700_dt_riob2()
22162 *bp++ = MSB(LSW(addr)); in ql_2700_dt_riob2()
22233 *bp++ = LSB(LSW(entry->addr)); in ql_2700_dt_rpci()
[all …]
H A Dql_isr.c713 mb[0] = LSW(mbx); in ql_async_event()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dchecksum.c47 #define LSW(l) ((l) & 0x0000ffffL) macro
70 _sum = LSW(sum) + MSW(sum); in sumepi()
71 return ((ushort_t)(LSW(_sum) + MSW(_sum))); in sumepi()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c620 MSB(LSW(mbx_cmds->mb[1])); in ql_async_event_parser()
622 LSB(LSW(mbx_cmds->mb[1])); in ql_async_event_parser()
626 MSB(LSW(mbx_cmds->mb[2])); in ql_async_event_parser()
628 LSB(LSW(mbx_cmds->mb[2])); in ql_async_event_parser()
1109 MSB(LSW(mbx_cmds.mb[1])); in ql_get_firmware_version()
1111 LSB(LSW(mbx_cmds.mb[1])); in ql_get_firmware_version()
1115 MSB(LSW(mbx_cmds.mb[2])); in ql_get_firmware_version()
1117 LSB(LSW(mbx_cmds.mb[2])); in ql_get_firmware_version()
1199 mcp->mb[1] = LSW(risc_address); in ql_read_risc_ram()
1201 mcp->mb[3] = LSW(LSD(bp)); in ql_read_risc_ram()
[all …]
H A Dqlge_flash.c64 qlge->flash_info.flash_manuf = LSB(LSW(fdata)); in ql_flash_id()
65 qlge->flash_info.flash_id = MSB(LSW(fdata)); in ql_flash_id()
119 *dp++ = LSB(LSW(data)); in qlge_dump_fcode()
120 *dp++ = MSB(LSW(data)); in qlge_dump_fcode()
H A Dqlge_dbg.c1408 iltds_ptr->img_entry[i].offset_lo = LSW(offset); in ql_chip_ioctl()
1410 iltds_ptr->img_entry[i].size_lo = LSW(size); in ql_chip_ioctl()
1417 " \n", offset, LSW(offset), MSW(offset))); in ql_chip_ioctl()
1697 ql_dump_header_ptr->time_stamp_lo = LSW(timestamp); in ql_binary_core_dump()
1741 ql_dump_footer_ptr->time_stamp_lo = LSW(timestamp); in ql_binary_core_dump()
2649 mpi_coredump->mpi_global_header.time_lo = LSW(timestamp); in ql_8xxx_binary_core_dump()
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c2067 REG_WR16(qlt, REG_MBOX(3), LSW(LSD(da))); in qlt_port_online()
2069 REG_WR16(qlt, REG_MBOX(7), LSW(MSD(da))); in qlt_port_online()
2313 mcp->to_fw[11] = LSW(LSD(da)); in qlt_port_online()
2315 mcp->to_fw[13] = LSW(MSD(da)); in qlt_port_online()
2383 mcp->to_fw[7] = LSW(MSD(da)); in qlt_port_online()
2387 mcp->to_fw[3] = LSW(LSD(da)); in qlt_port_online()
2419 mcp->to_fw[7] = LSW(MSD(da)); in qlt_port_online()
2423 mcp->to_fw[3] = LSW(LSD(da)); in qlt_port_online()
3467 REG_WR16(qlt, REG_MBOX(2), LSW(start_addr)); in qlt_download_fw()
3478 REG_WR16(qlt, REG_MBOX(2), LSW(start_addr)); in qlt_download_fw()
[all …]
H A Dqlt.h747 #define LSW(x) (uint16_t)(x) macro
/illumos-gate/usr/src/uts/common/sys/
H A Demul64var.h52 #define LSW(x) (int16_t)((int32_t)x & 0xFFFF) macro
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h109 #define LSW(x) (uint16_t)(x) macro
125 #define SWAP_ENDIAN_32(x) ((SWAP_ENDIAN_16(LSW(x)) << 16) | \
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h2115 #define LSW(x) (uint16_t)(x) macro