/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 459 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 D | ql_init.c | 748 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 D | ql_xioctl.c | 4192 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 D | ql_iocb.c | 1491 LSW(sp->handle)); in ql_isp_rcvbuf() 1594 LSW(sp->handle)); in ql_isp24xx_rcvbuf()
|
H A D | ql_api.c | 11514 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 D | ql_isr.c | 713 mb[0] = LSW(mbx); in ql_async_event()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | checksum.c | 47 #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 D | qlge_mpi.c | 620 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 D | qlge_flash.c | 64 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 D | qlge_dbg.c | 1408 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 D | qlt.c | 2067 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 D | qlt.h | 747 #define LSW(x) (uint16_t)(x) macro
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | emul64var.h | 52 #define LSW(x) (int16_t)((int32_t)x & 0xFFFF) macro
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 109 #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 D | ql_api.h | 2115 #define LSW(x) (uint16_t)(x) macro
|