Searched refs:dxfer_direction (Results 1 – 3 of 3) sorted by relevance
424 switch (hdr->dxfer_direction) { in sg_io()620 .dxfer_direction = hdr->dxfer_direction, in put_sg_io_hdr()668 .dxfer_direction = hdr32.dxfer_direction, in get_sg_io_hdr()794 hdr.dxfer_direction = SG_DXFER_UNKNOWN; in scsi_cdrom_send_packet()797 hdr.dxfer_direction = SG_DXFER_TO_DEV; in scsi_cdrom_send_packet()800 hdr.dxfer_direction = SG_DXFER_FROM_DEV; in scsi_cdrom_send_packet()803 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()1723 int dxfer_dir = hp->dxfer_direction; in sg_start_req()1729 int rw = hp->dxfer_direction == SG_DXFER_TO_DEV ? WRITE : READ; in sg_start_req()1747 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