Lines Matching refs:pfxdata

494 static int prefix_LRE(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata,  in prefix_LRE()  argument
507 dedata = &pfxdata->define_extent; in prefix_LRE()
508 lredata = &pfxdata->locate_record; in prefix_LRE()
513 ccw->count = sizeof(*pfxdata) + 2; in prefix_LRE()
514 ccw->cda = (__u32) __pa(pfxdata); in prefix_LRE()
515 memset(pfxdata, 0, sizeof(*pfxdata) + 2); in prefix_LRE()
517 ccw->count = sizeof(*pfxdata); in prefix_LRE()
518 ccw->cda = (__u32) __pa(pfxdata); in prefix_LRE()
519 memset(pfxdata, 0, sizeof(*pfxdata)); in prefix_LRE()
529 pfxdata->format = format; in prefix_LRE()
530 pfxdata->base_address = basepriv->ned->unit_addr; in prefix_LRE()
531 pfxdata->base_lss = basepriv->ned->ID; in prefix_LRE()
532 pfxdata->validity.define_extent = 1; in prefix_LRE()
536 pfxdata->validity.verify_base = 1; in prefix_LRE()
539 pfxdata->validity.verify_base = 1; in prefix_LRE()
540 pfxdata->validity.hyper_pav = 1; in prefix_LRE()
551 pfxdata->validity.time_stamp = 1; /* 'Time Stamp Valid' */ in prefix_LRE()
561 static int prefix(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix() argument
565 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev, in prefix()
3387 struct PFX_eckd_data pfxdata; in prepare_itcw() local
3405 dedata = &pfxdata.define_extent; in prepare_itcw()
3406 lredata = &pfxdata.locate_record; in prepare_itcw()
3408 memset(&pfxdata, 0, sizeof(pfxdata)); in prepare_itcw()
3409 pfxdata.format = 1; /* PFX with LRE */ in prepare_itcw()
3410 pfxdata.base_address = basepriv->ned->unit_addr; in prepare_itcw()
3411 pfxdata.base_lss = basepriv->ned->ID; in prepare_itcw()
3412 pfxdata.validity.define_extent = 1; in prepare_itcw()
3416 pfxdata.validity.verify_base = 1; in prepare_itcw()
3419 pfxdata.validity.verify_base = 1; in prepare_itcw()
3420 pfxdata.validity.hyper_pav = 1; in prepare_itcw()
3450 pfxdata.validity.time_stamp = 1; /* 'Time Stamp Valid' */ in prepare_itcw()
3529 &pfxdata, sizeof(pfxdata), total_data_size); in prepare_itcw()
3993 struct PFX_eckd_data *pfxdata; in dasd_eckd_reset_ccw_to_base_io() local
4002 pfxdata = (struct PFX_eckd_data *)&dcw->cd[0]; in dasd_eckd_reset_ccw_to_base_io()
4003 pfxdata->validity.verify_base = 0; in dasd_eckd_reset_ccw_to_base_io()
4004 pfxdata->validity.hyper_pav = 0; in dasd_eckd_reset_ccw_to_base_io()
4007 pfxdata = cqr->data; in dasd_eckd_reset_ccw_to_base_io()
4009 pfxdata->validity.verify_base = 0; in dasd_eckd_reset_ccw_to_base_io()
4010 pfxdata->validity.hyper_pav = 0; in dasd_eckd_reset_ccw_to_base_io()