Home
last modified time | relevance | path

Searched refs:mode_hdr (Results 1 – 2 of 2) sorted by relevance

/dragonfly/sys/bus/cam/scsi/
H A Dscsi_sa.c2550 struct scsi_mode_header_6 *mode_hdr; in sagetparams() local
2622 if ((mode_hdr->blk_desc_len == 0) && in sagetparams()
2638 bcopy(&mode_hdr[0], &mode_hdr[1], sizeof (sa_comp_t)); in sagetparams()
2639 bzero(&mode_hdr[0], sizeof (mode_hdr[0])); in sagetparams()
2748 struct scsi_mode_header_6 *mode_hdr; in sasetparams() local
2794 cpage = (sa_comp_t *)&mode_hdr[1]; in sasetparams()
2829 mode_hdr->data_length = 0; in sasetparams()
2830 mode_hdr->medium_type = 0; in sasetparams()
2833 mode_hdr->dev_spec = current_speed; in sasetparams()
2837 mode_hdr->dev_spec |= SMH_SA_BUF_MODE_SIBUF; in sasetparams()
[all …]
/dragonfly/sys/bus/cam/
H A Dcam_xpt.c6231 struct scsi_mode_header_6 *mode_hdr; in probedone() local
6234 mode_hdr = (struct scsi_mode_header_6 *)csio->data_ptr; in probedone()
6239 offset = ((u_int8_t *)&mode_hdr[1]) in probedone()
6240 + mode_hdr->blk_desc_len; in probedone()
6253 kfree(mode_hdr, M_CAMXPT); in probedone()