Home
last modified time | relevance | path

Searched refs:MSW (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c459 mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress)); in ql_initialize_ip()
461 mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress)); in ql_initialize_ip()
607 mcp->mb[7] = MSW(h_rcv); in ql_loop_back()
609 mcp->mb[11] = MSW(lb->transfer_count); in ql_loop_back()
613 mcp->mb[15] = MSW(lb->transfer_data_address); in ql_loop_back()
615 mcp->mb[17] = MSW(lb->receive_data_address); in ql_loop_back()
617 mcp->mb[19] = MSW(lb->iteration_count); in ql_loop_back()
619 mcp->mb[21] = MSW(h_xmit); in ql_loop_back()
654 mcp->mb[7] = MSW(h_rcv); in ql_loop_back()
656 mcp->mb[7] = MSW(MSD(lb->receive_data_address)); in ql_loop_back()
[all …]
H A Dql_init.c725 icb->request_q_address[2] = LSB(MSW(LSD(ha->request_dvma))); in ql_nvram_config()
726 icb->request_q_address[3] = MSB(MSW(LSD(ha->request_dvma))); in ql_nvram_config()
729 icb->request_q_address[6] = LSB(MSW(MSD(ha->request_dvma))); in ql_nvram_config()
730 icb->request_q_address[7] = MSB(MSW(MSD(ha->request_dvma))); in ql_nvram_config()
734 icb->response_q_address[2] = LSB(MSW(LSD(ha->response_dvma))); in ql_nvram_config()
735 icb->response_q_address[3] = MSB(MSW(LSD(ha->response_dvma))); in ql_nvram_config()
738 icb->response_q_address[6] = LSB(MSW(MSD(ha->response_dvma))); in ql_nvram_config()
739 icb->response_q_address[7] = MSB(MSW(MSD(ha->response_dvma))); in ql_nvram_config()
760 ip_icb->queue_address[2] = LSB(MSW(LSD(ha->rcvbuf_dvma))); in ql_nvram_config()
761 ip_icb->queue_address[3] = MSB(MSW(LSD(ha->rcvbuf_dvma))); in ql_nvram_config()
[all …]
H A Dql_isr.c350 mbx = MSW(stat); in ql_isr_aif()
763 handle = MSW(mbx); in ql_async_event()
768 handle = SHORT_TO_LONG(MSW(mbx), in ql_async_event()
778 SHORT_TO_LONG(MSW(mbx), RD16_IO_REG(ha, mailbox_out[2])); in ql_async_event()
H A Dql_xioctl.c4071 MSB(MSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4073 LSB(MSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4116 MSB(MSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4118 LSB(MSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4145 MSB(MSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
4147 LSB(MSW(sizeof (ql_rpt_lun_lst_t))); in ql_report_lun()
5252 bp[2] = LSB(MSW(data)); in ql_dump_fcode()
5253 bp[3] = MSB(MSW(data)); in ql_dump_fcode()
5320 bp[2] = LSB(MSW(data)); in ql_dump_fcode()
5321 bp[3] = MSB(MSW(data)); in ql_dump_fcode()
H A Dql_api.c8217 MSW(ha->parity_stat_err), in ql_task_thread()
11129 MSW(addr)); in ql_write_flash_byte()
11193 MSW(addr)); in ql_read_flash_byte()
11268 xp->fdesc.flash_len = LSB(MSW(fdata)); in ql_24xx_flash_id()
15066 WRT16_IO_REG(ha, mailbox_in[8], MSW(risc_address)); in ql_read_risc_ram()
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Dchecksum.c46 #define MSW(l) (((l) >> 16) & 0x0000ffffL) macro
70 _sum = LSW(sum) + MSW(sum); in sumepi()
71 return ((ushort_t)(LSW(_sum) + MSW(_sum))); in sumepi()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c618 LSB(MSW(mbx_cmds->mb[1])); in ql_async_event_parser()
624 LSB(MSW(mbx_cmds->mb[2])); in ql_async_event_parser()
1107 LSB(MSW(mbx_cmds.mb[1])); in ql_get_firmware_version()
1113 LSB(MSW(mbx_cmds.mb[2])); in ql_get_firmware_version()
1200 mcp->mb[2] = MSW(LSD(bp)); in ql_read_risc_ram()
1202 mcp->mb[4] = MSW(word_count); in ql_read_risc_ram()
1204 mcp->mb[6] = MSW(MSD(bp)); in ql_read_risc_ram()
1206 mcp->mb[8] = MSW(risc_address); in ql_read_risc_ram()
H A Dqlge_dbg.c1409 iltds_ptr->img_entry[i].offset_hi = MSW(offset); in ql_chip_ioctl()
1411 iltds_ptr->img_entry[i].size_hi = MSW(size); in ql_chip_ioctl()
1417 " \n", offset, LSW(offset), MSW(offset))); in ql_chip_ioctl()
1698 ql_dump_header_ptr->time_stamp_hi = MSW(timestamp); in ql_binary_core_dump()
1742 ql_dump_footer_ptr->time_stamp_hi = MSW(timestamp); in ql_binary_core_dump()
2650 mpi_coredump->mpi_global_header.time_hi = MSW(timestamp); in ql_8xxx_binary_core_dump()
H A Dqlge_flash.c66 qlge->flash_info.flash_cap = LSB(MSW(fdata)); in ql_flash_id()
121 *dp++ = LSB(MSW(data)); in qlge_dump_fcode()
122 *dp++ = MSB(MSW(data)); in qlge_dump_fcode()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h108 #define MSW(x) (uint16_t)((uint32_t)(x) >> 16) macro
114 #define MSW_LSB(x) (uint8_t)(LSB(MSW(x)))
115 #define MSW_MSB(x) (uint8_t)(MSB(MSW(x)))
126 SWAP_ENDIAN_16(MSW(x)))
/titanic_41/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c1250 REG_WR16(qlt, REG_MBOX(2), MSW(LSD(da))); in qlt_port_online()
1252 REG_WR16(qlt, REG_MBOX(6), MSW(MSD(da))); in qlt_port_online()
1394 mcp->to_fw[10] = MSW(LSD(da)); in qlt_port_online()
1396 mcp->to_fw[12] = MSW(MSD(da)); in qlt_port_online()
2327 REG_WR16(qlt, REG_MBOX(1), MSW(start_addr)); in qlt_download_fw()
2338 REG_WR16(qlt, REG_MBOX(1), MSW(start_addr)); in qlt_download_fw()
2394 REG_WR16(qlt, REG_MBOX(8), MSW(cur_risc_addr)); in qlt_load_risc_ram()
2396 REG_WR16(qlt, REG_MBOX(2), MSW(LSD(da))); in qlt_load_risc_ram()
2398 REG_WR16(qlt, REG_MBOX(6), MSW(MSD(da))); in qlt_load_risc_ram()
2400 REG_WR16(qlt, REG_MBOX(4), MSW(words_being_sent)); in qlt_load_risc_ram()
[all …]
H A Dqlt.h532 #define MSW(x) (uint16_t)((uint32_t)(x) >> 16) macro
/titanic_41/usr/src/uts/common/sys/
H A Demul64var.h53 #define MSW(x) (int16_t)(((int32_t)x >> 16) & 0xFFFF) macro
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h1808 #define MSW(x) (uint16_t)((uint32_t)(x) >> 16) macro