Home
last modified time | relevance | path

Searched refs:hdr_big (Results 1 – 5 of 5) sorted by relevance

/openbsd/sys/scsi/
H A Dst.c1386 dev_spec = data->hdr_big.dev_spec; in st_mode_sense()
1479 page0_size = _2btol(inbuf->hdr_big.data_length) + in st_mode_select()
1480 sizeof(inbuf->hdr_big.data_length) - in st_mode_select()
1481 sizeof(inbuf->hdr_big) - in st_mode_select()
1482 _2btol(inbuf->hdr_big.blk_desc_len); in st_mode_select()
1483 memcpy(&outbuf->buf[sizeof(outbuf->hdr_big) + sizeof(general)], in st_mode_select()
1506 sizeof(outbuf->hdr_big.data_length)), outbuf->hdr_big.data_length); in st_mode_select()
1508 outbuf->hdr_big.dev_spec = SMH_DSP_BUFF_MODE_ON; in st_mode_select()
1509 _lto2b(sizeof(general), outbuf->hdr_big.blk_desc_len); in st_mode_select()
1510 memcpy(&outbuf->buf[sizeof(outbuf->hdr_big)], &general, in st_mode_select()
[all …]
H A Dscsi_base.c1176 if (error == 0 && !VALID_MODE_HDR_BIG(&data->hdr_big)) in scsi_mode_sense_big()
1182 bytes = sizeof(data->hdr_big.data_length) + in scsi_mode_sense_big()
1183 _2btol(data->hdr_big.data_length); in scsi_mode_sense_big()
1249 blk_desc_len = _2btol(buf->hdr_big.blk_desc_len); in scsi_parse_blkdesc()
1333 *page_data = scsi_mode_sense_big_page(&buf->hdr_big, pg_code, in scsi_do_mode_sense()
H A Dscsi_all.h524 struct scsi_mode_header_big hdr_big; member
H A Dcd.c1185 &data->hdr_big, flags, 20000); in cd_setchan()
1265 &data->hdr_big, flags, 20000); in cd_setvol()
1325 SMS_PF, &data->hdr_big, flags, 20000); in cd_set_pa_immed()
H A Dsd.c1077 &buf->hdr_big, scsi_autoconf | SCSI_SILENT, 20000); in sd_ioctl_cache()
1679 if (big && buf->hdr_big.dev_spec & SMH_DSP_WRITE_PROT) in sd_get_parms()