/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 460 mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress)); in ql_initialize_ip() 462 mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress)); in ql_initialize_ip() 606 mcp->mb[6] = LSW(h_rcv); in ql_loop_back() 608 mcp->mb[10] = LSW(lb->transfer_count); in ql_loop_back() 612 mcp->mb[14] = LSW(lb->transfer_data_address); in ql_loop_back() 614 mcp->mb[16] = LSW(lb->receive_data_address); in ql_loop_back() 616 mcp->mb[18] = LSW(lb->iteration_count); in ql_loop_back() 618 mcp->mb[20] = LSW(h_xmit); in ql_loop_back() 653 mcp->mb[6] = LSW(h_rcv); in ql_loop_back() 655 mcp->mb[6] = LSW(MSD(lb->receive_data_address)); in ql_loop_back() [all …]
|
H A D | ql_init.c | 723 icb->request_q_address[0] = LSB(LSW(LSD(ha->request_dvma))); in ql_nvram_config() 724 icb->request_q_address[1] = MSB(LSW(LSD(ha->request_dvma))); in ql_nvram_config() 727 icb->request_q_address[4] = LSB(LSW(MSD(ha->request_dvma))); in ql_nvram_config() 728 icb->request_q_address[5] = MSB(LSW(MSD(ha->request_dvma))); in ql_nvram_config() 732 icb->response_q_address[0] = LSB(LSW(LSD(ha->response_dvma))); in ql_nvram_config() 733 icb->response_q_address[1] = MSB(LSW(LSD(ha->response_dvma))); in ql_nvram_config() 736 icb->response_q_address[4] = LSB(LSW(MSD(ha->response_dvma))); in ql_nvram_config() 737 icb->response_q_address[5] = MSB(LSW(MSD(ha->response_dvma))); in ql_nvram_config() 758 ip_icb->queue_address[0] = LSB(LSW(LSD(ha->rcvbuf_dvma))); in ql_nvram_config() 759 ip_icb->queue_address[1] = MSB(LSW(LSD(ha->rcvbuf_dvma))); in ql_nvram_config() [all …]
|
H A D | ql_iocb.c | 1376 LSW(sp->handle)); in ql_isp_rcvbuf() 1479 LSW(sp->handle)); in ql_isp24xx_rcvbuf()
|
H A D | ql_xioctl.c | 4075 MSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun() 4077 LSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun() 4120 MSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun() 4122 LSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun() 4149 MSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun() 4151 LSB(LSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun() 5250 bp[0] = LSB(LSW(data)); in ql_dump_fcode() 5251 bp[1] = MSB(LSW(data)); in ql_dump_fcode() 5318 bp[0] = LSB(LSW(data)); in ql_dump_fcode() 5319 bp[1] = MSB(LSW(data)); in ql_dump_fcode()
|
H A D | ql_api.c | 8218 LSW(ha->parity_stat_err)); in ql_task_thread() 11126 LSW(addr)); in ql_write_flash_byte() 11190 LSW(addr)); in ql_read_flash_byte() 11266 xp->fdesc.flash_manuf = LSB(LSW(fdata)); in ql_24xx_flash_id() 11267 xp->fdesc.flash_id = MSB(LSW(fdata)); in ql_24xx_flash_id() 15065 WRT16_IO_REG(ha, mailbox_in[1], LSW(risc_address)); in ql_read_risc_ram()
|
H A D | ql_isr.c | 755 mb[0] = LSW(mbx); in ql_async_event()
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.c | 1249 REG_WR16(qlt, REG_MBOX(3), LSW(LSD(da))); in qlt_port_online() 1251 REG_WR16(qlt, REG_MBOX(7), LSW(MSD(da))); in qlt_port_online() 1393 mcp->to_fw[11] = LSW(LSD(da)); in qlt_port_online() 1395 mcp->to_fw[13] = LSW(MSD(da)); in qlt_port_online() 2328 REG_WR16(qlt, REG_MBOX(2), LSW(start_addr)); in qlt_download_fw() 2339 REG_WR16(qlt, REG_MBOX(2), LSW(start_addr)); in qlt_download_fw() 2393 REG_WR16(qlt, REG_MBOX(1), LSW(risc_addr)); in qlt_load_risc_ram() 2395 REG_WR16(qlt, REG_MBOX(3), LSW(LSD(da))); in qlt_load_risc_ram() 2397 REG_WR16(qlt, REG_MBOX(7), LSW(MSD(da))); in qlt_load_risc_ram() 2399 REG_WR16(qlt, REG_MBOX(5), LSW(words_being_sent)); in qlt_load_risc_ram() [all …]
|
H A D | qlt.h | 533 #define LSW(x) (uint16_t)(x) macro
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | emul64var.h | 54 #define LSW(x) (int16_t)((int32_t)x & 0xFFFF) macro
|
/titanic_50/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) | \
|
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 1809 #define LSW(x) (uint16_t)(x) macro
|