Lines Matching refs:ccw
52 MODULE_DEVICE_TABLE(ccw, dasd_fba_ids);
82 define_extent(struct ccw1 * ccw, struct DE_fba_data *data, int rw,
85 ccw->cmd_code = DASD_FBA_CCW_DEFINE_EXTENT;
86 ccw->flags = 0;
87 ccw->count = 16;
88 ccw->cda = (__u32) __pa(data);
102 locate_record(struct ccw1 * ccw, struct LO_fba_data *data, int rw,
105 ccw->cmd_code = DASD_FBA_CCW_LOCATE;
106 ccw->flags = 0;
107 ccw->count = 8;
108 ccw->cda = (__u32) __pa(data);
262 struct ccw1 *ccw;
312 /* Allocate the ccw request. */
316 ccw = cqr->cpaddr;
317 /* First ccw is define extent. */
318 define_extent(ccw++, cqr->data, rq_data_dir(req),
325 ccw[-1].flags |= CCW_FLAG_CC;
326 locate_record(ccw++, LO_data++, rq_data_dir(req), 0, count);
342 ccw[-1].flags |= CCW_FLAG_CC;
343 locate_record(ccw, LO_data++,
346 ccw->flags = CCW_FLAG_CC;
347 ccw++;
350 ccw[-1].flags |= CCW_FLAG_DC;
352 ccw[-1].flags |= CCW_FLAG_CC;
354 ccw->cmd_code = cmd;
355 ccw->count = block->bp_block;
357 ccw->cda = (__u32)(addr_t) idaws;
358 ccw->flags = CCW_FLAG_IDA;
361 ccw->cda = (__u32)(addr_t) dst;
362 ccw->flags = 0;
364 ccw++;
386 struct ccw1 *ccw;
397 ccw = cqr->cpaddr;
399 ccw++;
401 ccw++;
407 ccw++;
409 if (ccw->flags & CCW_FLAG_IDA)
410 cda = *((char **)((addr_t) ccw->cda));
412 cda = (char *)((addr_t) ccw->cda);
421 ccw++;
583 * up to 16 bytes (8 for the ccw and 8 for the idal pointer). In
584 * addition we have one define extent ccw + 16 bytes of data and a
585 * locate record ccw for each block (stupid devices!) + 16 bytes of data.