Searched refs:dxfer_direction (Results 1 – 3 of 3) sorted by relevance
428 switch (hdr->dxfer_direction) { in sg_io()623 .dxfer_direction = hdr->dxfer_direction, in put_sg_io_hdr()671 .dxfer_direction = hdr32.dxfer_direction, in get_sg_io_hdr()797 hdr.dxfer_direction = SG_DXFER_UNKNOWN; in scsi_cdrom_send_packet()800 hdr.dxfer_direction = SG_DXFER_TO_DEV; in scsi_cdrom_send_packet()803 hdr.dxfer_direction = SG_DXFER_FROM_DEV; in scsi_cdrom_send_packet()806 hdr.dxfer_direction = SG_DXFER_NONE; in scsi_cdrom_send_packet()
673 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write()676 hp->dxfer_direction = (mxsize > 0) ? SG_DXFER_FROM_DEV : SG_DXFER_NONE; in sg_write()678 if ((hp->dxfer_direction == SG_DXFER_TO_DEV) || in sg_write()679 (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV)) in sg_write()697 if (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV) { in sg_write()1734 int dxfer_dir = hp->dxfer_direction; in sg_start_req()1740 int rw = hp->dxfer_direction == SG_DXFER_TO_DEV ? ITER_SOURCE : ITER_DEST; in sg_start_req()1758 rq = scsi_alloc_request(q, hp->dxfer_direction == SG_DXFER_TO_DEV ? in sg_start_req()
43 int dxfer_direction; /* [i] data transfer direction */ member72 compat_int_t dxfer_direction; /* [i] data transfer direction */ member