Searched refs:CHAR_TO_SHORT (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 608 ha->execution_throttle = CHAR_TO_SHORT(nv->execution_throttle[0], in ql_nvram_config() 612 ha->maximum_luns_per_target = CHAR_TO_SHORT( in ql_nvram_config() 617 ha->adapter_features = CHAR_TO_SHORT(nv->adapter_features[0], in ql_nvram_config() 721 els->common_service.rx_bufsize = CHAR_TO_SHORT( in ql_nvram_config() 984 nv->id[2], nv->id[3], CHAR_TO_SHORT(nv->nvram_version[0], in ql_nvram_24xx_config() 1104 ha->port_down_retry_count = CHAR_TO_SHORT(nv->port_down_retry_count[0], in ql_nvram_24xx_config() 1106 ha->maximum_luns_per_target = CHAR_TO_SHORT( in ql_nvram_24xx_config() 1193 w1 = CHAR_TO_SHORT(icb->login_timeout[0], icb->login_timeout[1]); in ql_nvram_24xx_config() 1214 ha->serdes_param[0] = CHAR_TO_SHORT(nv->fw.isp2400.swing_opt[0], in ql_nvram_24xx_config() 1216 ha->serdes_param[1] = CHAR_TO_SHORT(nv->fw.isp2400.swing_1g[0], in ql_nvram_24xx_config() [all …]
|
H A D | ql_nx.c | 2613 cntl_value_w = CHAR_TO_SHORT(cacheEntry->b.cv.write_value[0], in ql_8021_md_L2Cache() 2616 tag_value = CHAR_TO_SHORT(cacheEntry->a.sac.init_tag_value[0], in ql_8021_md_L2Cache() 2618 tag_value_stride = CHAR_TO_SHORT(cacheEntry->a.sac.tag_value_stride[0], in ql_8021_md_L2Cache() 2686 cntl_value_w = CHAR_TO_SHORT(cacheEntry->b.cv.write_value[0], in ql_8021_md_L1Cache() 2689 tag_value = CHAR_TO_SHORT(cacheEntry->a.sac.init_tag_value[0], in ql_8021_md_L1Cache() 2691 tag_value_stride = CHAR_TO_SHORT(cacheEntry->a.sac.tag_value_stride[0], in ql_8021_md_L1Cache() 2873 queue_id += CHAR_TO_SHORT(queueEntry->a.sac.queue_id_stride[0], in ql_8021_md_rdqueue() 2927 CHAR_TO_SHORT(crbEntry->a.ac.poll_timeout[0], in ql_8021_md_cntrl()
|
H A D | ql_xioctl.c | 7326 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_flash_layout_table() 7386 len = (uint32_t)(CHAR_TO_SHORT(fhdr->len[0], fhdr->len[1]) + in ql_process_flt() 7392 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_process_flt() 7396 w16 = CHAR_TO_SHORT(fhdr->version[0], fhdr->version[1]); in ql_process_flt() 7411 len = (uint32_t)(CHAR_TO_SHORT(cmp->hdr.len[0], in ql_process_flt() 7417 w16 = (uint16_t)CHAR_TO_SHORT(mbp[cnt], in ql_process_flt() 7422 w16 = CHAR_TO_SHORT(cmp->hdr.version[0], cmp->hdr.version[1]); in ql_process_flt() 7434 (CHAR_TO_SHORT(cmp->hdr.NumberEntries[0], in ql_process_flt() 10044 serdes_reg.val = CHAR_TO_SHORT(LSB(mr.mb[1]), LSB(mr.mb[2])); in ql_serdes_reg()
|
H A D | ql_isr.c | 1267 CHAR_TO_SHORT(ha->ip_init_ctrl_blk.cb24.buf_size[0], in ql_async_event() 1269 CHAR_TO_SHORT(ha->ip_init_ctrl_blk.cb.buf_size[0], in ql_async_event()
|
H A D | ql_api.c | 3681 cnt = CHAR_TO_SHORT( in ql_ub_alloc() 3701 cnt = CHAR_TO_SHORT( in ql_ub_alloc() 7334 lun_no_tmp = CHAR_TO_SHORT(lobyte(fcp_ent_addr->ent_addr_0), in ql_lun_queue() 19738 fcp_ent_addr->ent_addr_0 = CHAR_TO_SHORT(lobyte(lun), in ql_get_lun_addr() 19741 fcp_ent_addr->ent_addr_0 = CHAR_TO_SHORT(lobyte(lun), in ql_get_lun_addr() 22070 cnt = CHAR_TO_SHORT(entry->reg_count_l, entry->reg_count_h); in ql_2700_dt_riob1() 22143 cnt = CHAR_TO_SHORT(entry->reg_count_l, entry->reg_count_h); in ql_2700_dt_riob2() 22198 data = CHAR_TO_SHORT(entry->data_l, entry->data_h); in ql_2700_dt_wiob2()
|
H A D | ql_mbx.c | 1939 mcp->mb[4] = CHAR_TO_SHORT(tq->d_id.b.al_pa, tq->d_id.b.area); in ql_get_port_database()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.h | 752 #define CHAR_TO_SHORT(lsb, msb) (uint16_t)((uint8_t)msb << 8 | (uint8_t)lsb) macro 754 (uint32_t)(SHORT_TO_LONG(CHAR_TO_SHORT(lsb, b1), \ 755 CHAR_TO_SHORT(b2, msb)))
|
H A D | qlt.c | 9905 cnt = CHAR_TO_SHORT(entry->reg_count_l, entry->reg_count_h); in qlt_27xx_dt_riob1() 9964 cnt = CHAR_TO_SHORT(entry->reg_count_l, entry->reg_count_h); in qlt_27xx_dt_riob2() 10011 data = CHAR_TO_SHORT(entry->data_l, entry->data_h); in qlt_27xx_dt_wiob2()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 2122 #define CHAR_TO_SHORT(lsb, msb) (uint16_t)((uint16_t)msb << 8 | (uint8_t)lsb) macro 2124 (uint32_t)(SHORT_TO_LONG(CHAR_TO_SHORT(lsb, b1), \ 2125 CHAR_TO_SHORT(b2, msb)))
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 121 #define CHAR_TO_SHORT(a, b) (uint16_t)((uint8_t)b << 8 | (uint8_t)a) macro
|