Home
last modified time | relevance | path

Searched refs:scsi_ulto2b (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/cam/ctl/
H A Dctl_tpc.c317 scsi_ulto2b(data_len - 4, tpc_ptr->page_length); in ctl_inquiry_evpd_tpc()
322 scsi_ulto2b(SVPD_TPC_BDRL, bdrl_ptr->desc_type); in ctl_inquiry_evpd_tpc()
323 scsi_ulto2b(sizeof(*bdrl_ptr) - 4, bdrl_ptr->desc_length); in ctl_inquiry_evpd_tpc()
324 scsi_ulto2b(TPC_MAX_SEGS, bdrl_ptr->maximum_ranges); in ctl_inquiry_evpd_tpc()
336 scsi_ulto2b(SVPD_TPC_SC, sc_ptr->desc_type); in ctl_inquiry_evpd_tpc()
338 scsi_ulto2b(roundup2(1 + sc_ptr->list_length, 4), sc_ptr->desc_length); in ctl_inquiry_evpd_tpc()
362 scsi_ulto2b(SVPD_TPC_PD, pd_ptr->desc_type); in ctl_inquiry_evpd_tpc()
363 scsi_ulto2b(sizeof(*pd_ptr) - 4, pd_ptr->desc_length); in ctl_inquiry_evpd_tpc()
364 scsi_ulto2b(TPC_MAX_CSCDS, pd_ptr->maximum_cscd_descriptor_count); in ctl_inquiry_evpd_tpc()
365 scsi_ulto2b(TPC_MAX_SEGS, pd_ptr->maximum_segment_descriptor_count); in ctl_inquiry_evpd_tpc()
[all …]
H A Dctl.c2281 scsi_ulto2b(len, id->additional_length); in ctl_create_iid()
2301 scsi_ulto2b(iid, id->scsi_addr); in ctl_create_iid()
2302 scsi_ulto2b(port->targ_port, id->rel_trgt_port_id); in ctl_create_iid()
6560 scsi_ulto2b(datalen, header->datalen); in ctl_mode_sense()
6569 scsi_ulto2b(bd_len, header->block_descr_len); in ctl_mode_sense()
6713 scsi_ulto2b(SLP_TEMPERATURE, data->hdr.param_code); in ctl_temp_log_sense_handler()
6724 scsi_ulto2b(SLP_REFTEMPERATURE, data->hdr.param_code); in ctl_temp_log_sense_handler()
6752 scsi_ulto2b(0x0001, phdr->param_code); in ctl_lbp_log_sense_handler()
6765 scsi_ulto2b(0x0002, phdr->param_code); in ctl_lbp_log_sense_handler()
6778 scsi_ulto2b(0x00f1, phdr->param_code); in ctl_lbp_log_sense_handler()
[all …]
H A Dctl_tpc_local.c110 scsi_ulto2b(0, tid->scsi_addr); in tpcl_init()
111 scsi_ulto2b(port->targ_port, tid->rel_trgt_port_id); in tpcl_init()
H A Dctl_util.c140 scsi_ulto2b(data_len, cdb->length); in ctl_scsi_inquiry()
303 scsi_ulto2b(num_blocks, cdb->length); in ctl_scsi_read_write()
476 scsi_ulto2b(data_len, cdb->length); in ctl_scsi_mode_sense()
542 scsi_ulto2b(block_count, cdb->lb_count); in ctl_scsi_sync_cache()
583 scsi_ulto2b(data_len, cdb->length); in ctl_scsi_persistent_res_in()
H A Dctl_error.c633 scsi_ulto2b(field, &sks[1]); in ctl_set_invalid_field()
668 scsi_ulto2b(0, &sks[1]); in ctl_set_invalid_opcode()
H A Dscsi_ctl.c1046 scsi_ulto2b(num_blocks, cdb->length); in ctlfe_adjust_cdb()
/freebsd/sys/cam/scsi/
H A Dscsi_ch.c1500 scsi_ulto2b(csvr->csvr_voltag.cv_serial, ssvtp.minvsn); in chsetvoltag()
1740 scsi_ulto2b(tea, scsi_cmd->tea); in scsi_move_medium()
1741 scsi_ulto2b(src, scsi_cmd->src); in scsi_move_medium()
1742 scsi_ulto2b(dst, scsi_cmd->dst); in scsi_move_medium()
1773 scsi_ulto2b(tea, scsi_cmd->tea); in scsi_exchange_medium()
1774 scsi_ulto2b(src, scsi_cmd->src); in scsi_exchange_medium()
1775 scsi_ulto2b(dst1, scsi_cmd->fdst); in scsi_exchange_medium()
1776 scsi_ulto2b(dst2, scsi_cmd->sdst); in scsi_exchange_medium()
1809 scsi_ulto2b(tea, scsi_cmd->tea); in scsi_position_to_element()
1810 scsi_ulto2b(dst, scsi_cmd->dst); in scsi_position_to_element()
[all …]
H A Dscsi_cd.c2793 scsi_ulto2b(len, ms10.length); in cd6byteworkaround()
2842 scsi_ulto2b(0, header10->data_length); in cd6byteworkaround()
2844 scsi_ulto2b(blk_desc_len, header10->blk_desc_len); in cd6byteworkaround()
2848 scsi_ulto2b(len, ms10.length); in cd6byteworkaround()
3011 scsi_ulto2b(len, (uint8_t *)scsi_cmd->data_len); in cdreadsubchannel()
3161 scsi_ulto2b(0, mode_header->data_length); in cdsetmode()
3243 scsi_ulto2b(len, (uint8_t *)scsi_cmd->xfer_len); in cdplay()
3490 scsi_ulto2b(rdspeed, scsi_cmd->readspeed); in cdsetspeed()
3491 scsi_ulto2b(wrspeed, scsi_cmd->writespeed); in cdsetspeed()
3681 scsi_ulto2b(length - sizeof(challenge_data->data_len), in cdsendkey()
[all …]
H A Dscsi_all.c6253 scsi_ulto2b(scsi_addr, spi->scsi_addr); in scsi_parse_transportid_spi()
6254 scsi_ulto2b(target_port, spi->rel_trgt_port_id); in scsi_parse_transportid_spi()
6514 scsi_ulto2b(name_len, iscsi->additional_length); in scsi_parse_transportid_iscsi()
7704 scsi_ulto2b(inq_len, scsi_cmd->length); in scsi_inquiry()
7771 scsi_ulto2b(param_len, scsi_cmd->length); in scsi_mode_sense_subpage()
7841 scsi_ulto2b(param_len, scsi_cmd->length); in scsi_mode_select_len()
7875 scsi_ulto2b(paramptr, scsi_cmd->paramptr); in scsi_log_sense()
7876 scsi_ulto2b(param_len, scsi_cmd->length); in scsi_log_sense()
7909 scsi_ulto2b(param_len, scsi_cmd->length); in scsi_log_select()
8180 scsi_ulto2b(lb_count, scsi_cmd->lb_count); in scsi_synchronize_cache()
[all …]
H A Dsmp_all.c603 scsi_ulto2b(expected_exp_change_count, request->expected_exp_chg_cnt); in smp_phy_control()
H A Dscsi_da.c4128 scsi_ulto2b(ranges * 16 + 6, &buf[0]); in da_delete_unmap()
4129 scsi_ulto2b(ranges * 16, &buf[2]); in da_delete_unmap()
4384 scsi_ulto2b(cmd6.length, cmd10->length); in cmd6workaround()
6359 scsi_ulto2b(ileave, scsi_cmd->interleave); in scsi_format_unit()
6399 scsi_ulto2b(dxfer_len, cdb10->alloc_length); in scsi_read_defects()
6439 scsi_ulto2b(dxfer_len, scsi_cmd->length); in scsi_sanitize()
H A Dscsi_sa.c4289 scsi_ulto2b(0, mode10_hdr->data_length); in sasetprot()
4292 scsi_ulto2b(0, mode10_hdr->blk_desc_len); in sasetprot()
6169 scsi_ulto2b(length, scmd->length); in scsi_read_position_10()
6281 scsi_ulto2b(length, scsi_cmd->length); in scsi_report_density_support()
6309 scsi_ulto2b(proportion, scsi_cmd->cap_proportion); in scsi_set_capacity()
6340 scsi_ulto2b(dxfer_len, scsi_cmd->length); in scsi_format_medium()
H A Dscsi_all.h4406 scsi_ulto2b(uint32_t val, uint8_t *bytes) in scsi_ulto2b() function
/freebsd/sys/dev/mps/
H A Dmps_sas.h125 scsi_ulto2b(ccblun, lun); in mpssas_set_lun()
/freebsd/sys/dev/mpr/
H A Dmpr_sas.h131 scsi_ulto2b(ccblun, lun); in mprsas_set_lun()
/freebsd/usr.sbin/mlxcontrol/
H A Dinterface.c256 scsi_ulto2b(SHORT_INQUIRY_LENGTH, inq_cmd->length); in mlx_scsi_inquiry()
/freebsd/sbin/camcontrol/
H A Dmodeedit.c752 scsi_ulto2b(0, mh->blk_desc_len); in editlist_save()
754 scsi_ulto2b(0, mh->data_length); /* Reserved for MODE SELECT. */ in editlist_save()
817 scsi_ulto2b(0, mh->data_length); /* Reserved for MODE SELECT. */ in editlist_save_desc()
H A Dpersist.c815 scsi_ulto2b(rel_tgt_port, reg_move->rel_trgt_port_id); in scsipersist()
H A Dcamcontrol.c7053 scsi_ulto2b(sz, pl->length); in sanitize()
/freebsd/sys/cam/nvme/
H A Dnvme_xpt.c441 scsi_ulto2b(len, did->length); in nvme_probe_done()
/freebsd/share/examples/scsi_target/
H A Dscsi_cmds.c360 scsi_ulto2b(req_flags, &inq->spc2_flags); in init_inquiry()
/freebsd/sys/dev/mfi/
H A Dmfi.c2081 scsi_ulto2b(block_count, scsi_cmd->length); in mfi_build_cdb()
/freebsd/sys/dev/ciss/
H A Dciss.c1732 scsi_ulto2b(sizeof(ld->cl_geometry), inq->length); in ciss_inquiry_logical()