Searched refs:SG_DXFER_TO_DEV (Results 1 – 4 of 4) sorted by relevance
101 #define SG_DXFER_TO_DEV (-2) /* e.g. a SCSI WRITE command */ macro
427 case SG_DXFER_TO_DEV: in sg_io()797 hdr.dxfer_direction = SG_DXFER_TO_DEV; in scsi_cdrom_send_packet()
674 SG_DXFER_TO_FROM_DEV : SG_DXFER_TO_DEV; in sg_write()678 if ((hp->dxfer_direction == SG_DXFER_TO_DEV) || in sg_write()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()
175 if (dir == SG_DXFER_TO_DEV) {