Lines Matching refs:ccw
146 struct ccw1 *ccw; in raw3215_mk_read_req() local
158 ccw = req->ccws; in raw3215_mk_read_req()
159 ccw->cmd_code = 0x0A; /* read inquiry */ in raw3215_mk_read_req()
160 ccw->flags = 0x20; /* ignore incorrect length */ in raw3215_mk_read_req()
161 ccw->count = 160; in raw3215_mk_read_req()
162 ccw->cda = (__u32) __pa(raw->inbuf); in raw3215_mk_read_req()
174 struct ccw1 *ccw; in raw3215_mk_write_req() local
191 ccw = req->ccws; in raw3215_mk_write_req()
217 if (ccw > req->ccws) in raw3215_mk_write_req()
218 ccw[-1].flags |= 0x40; /* use command chaining */ in raw3215_mk_write_req()
219 ccw->cmd_code = 0x01; /* write, auto carrier return */ in raw3215_mk_write_req()
220 ccw->flags = 0x20; /* ignore incorrect length ind. */ in raw3215_mk_write_req()
221 ccw->cda = in raw3215_mk_write_req()
226 ccw->count = count; in raw3215_mk_write_req()
229 ccw++; in raw3215_mk_write_req()
236 if (ccw > req->ccws) in raw3215_mk_write_req()
237 ccw[-1].flags |= 0x40; /* use command chaining */ in raw3215_mk_write_req()
238 ccw->cmd_code = 0x03; /* NOP */ in raw3215_mk_write_req()
239 ccw->flags = 0; in raw3215_mk_write_req()
240 ccw->cda = 0; in raw3215_mk_write_req()
241 ccw->count = 1; in raw3215_mk_write_req()