Home
last modified time | relevance | path

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 Dql_init.c612 ha->maximum_luns_per_target = CHAR_TO_SHORT( in ql_nvram_config()
721 els->common_service.rx_bufsize = CHAR_TO_SHORT( in ql_nvram_config()
1106 ha->maximum_luns_per_target = CHAR_TO_SHORT( in ql_nvram_24xx_config()
1224 els->common_service.rx_bufsize = CHAR_TO_SHORT( in ql_nvram_24xx_config()
1869 " using nvram default of %d\n", data, CHAR_TO_SHORT( in ql_24xx_properties()
1895 "using nvram value of %d\n", data, CHAR_TO_SHORT( in ql_24xx_properties()
1908 "%d; using nvram value of %d\n", data, CHAR_TO_SHORT( in ql_24xx_properties()
1934 " %d; using nvram value of %d\n", data, CHAR_TO_SHORT( in ql_24xx_properties()
2641 CHAR_TO_SHORT(icb->execution_throttle[0], in ql_start_firmware()
3641 *id = CHAR_TO_SHORT(list24[index].n_port_hdl_l, in ql_dev_list()
[all …]
H A Dql_nx.c2613 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 Dql_xioctl.c7326 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 Dql_isr.c1267 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 Dql_api.c3681 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 Dql_mbx.c1939 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 Dqlt.h752 #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 Dqlt.c9905 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 Dql_api.h2122 #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 Dqlge.h121 #define CHAR_TO_SHORT(a, b) (uint16_t)((uint8_t)b << 8 | (uint8_t)a) macro