• Home
  • Raw
  • Download

Lines Matching refs:ccw

86 MODULE_DEVICE_TABLE(ccw, dasd_eckd_ids);
99 struct ccw1 ccw; member
109 struct ccw1 ccw; member
237 define_extent(struct ccw1 *ccw, struct DE_eckd_data *data, unsigned int trk, in define_extent() argument
247 ccw->cmd_code = DASD_ECKD_CCW_DEFINE_EXTENT; in define_extent()
248 ccw->flags = 0; in define_extent()
249 ccw->count = 16; in define_extent()
250 ccw->cda = (__u32) __pa(data); in define_extent()
272 rc = check_XRC (ccw, data, device); in define_extent()
277 rc = check_XRC (ccw, data, device); in define_extent()
285 rc = check_XRC (ccw, data, device); in define_extent()
478 static int prefix_LRE(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix_LRE() argument
496 ccw->cmd_code = DASD_ECKD_CCW_PFX; in prefix_LRE()
497 ccw->flags = 0; in prefix_LRE()
499 ccw->count = sizeof(*pfxdata) + 2; in prefix_LRE()
500 ccw->cda = (__u32) __pa(pfxdata); in prefix_LRE()
503 ccw->count = sizeof(*pfxdata); in prefix_LRE()
504 ccw->cda = (__u32) __pa(pfxdata); in prefix_LRE()
621 static int prefix(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix() argument
625 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev, in prefix()
630 locate_record(struct ccw1 *ccw, struct LO_eckd_data *data, unsigned int trk, in locate_record() argument
644 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD; in locate_record()
645 ccw->flags = 0; in locate_record()
646 ccw->count = 16; in locate_record()
647 ccw->cda = (__u32) __pa(data); in locate_record()
852 struct ccw1 *ccw; in dasd_eckd_fill_rcd_cqr() local
862 ccw = cqr->cpaddr; in dasd_eckd_fill_rcd_cqr()
863 ccw->cmd_code = DASD_ECKD_CCW_RCD; in dasd_eckd_fill_rcd_cqr()
864 ccw->flags = 0; in dasd_eckd_fill_rcd_cqr()
865 ccw->cda = (__u32)(addr_t)rcd_buffer; in dasd_eckd_fill_rcd_cqr()
866 ccw->count = DASD_ECKD_RCD_DATA_SIZE; in dasd_eckd_fill_rcd_cqr()
888 struct ccw1 *ccw; in read_conf_cb() local
892 ccw = cqr->cpaddr; in read_conf_cb()
893 rcd_buffer = (__u8 *)((addr_t) ccw->cda); in read_conf_cb()
1215 data->cqr.cpaddr = &data->ccw; in rebuild_device_uid()
1275 data->cqr.cpaddr = &data->ccw; in do_path_verification_work()
1441 struct ccw1 *ccw; in dasd_eckd_read_features() local
1469 ccw = cqr->cpaddr; in dasd_eckd_read_features()
1470 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_features()
1471 ccw->count = sizeof(struct dasd_psf_prssd_data); in dasd_eckd_read_features()
1472 ccw->flags |= CCW_FLAG_CC; in dasd_eckd_read_features()
1473 ccw->cda = (__u32)(addr_t) prssdp; in dasd_eckd_read_features()
1479 ccw++; in dasd_eckd_read_features()
1480 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_read_features()
1481 ccw->count = sizeof(struct dasd_rssd_features); in dasd_eckd_read_features()
1482 ccw->cda = (__u32)(addr_t) features; in dasd_eckd_read_features()
1508 struct ccw1 *ccw; in dasd_eckd_build_psf_ssc() local
1526 ccw = cqr->cpaddr; in dasd_eckd_build_psf_ssc()
1527 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_build_psf_ssc()
1528 ccw->cda = (__u32)(addr_t)psf_ssc_data; in dasd_eckd_build_psf_ssc()
1529 ccw->count = 66; in dasd_eckd_build_psf_ssc()
1835 struct ccw1 *ccw; in dasd_eckd_analysis_ccw() local
1846 ccw = cqr->cpaddr; in dasd_eckd_analysis_ccw()
1848 define_extent(ccw++, cqr->data, 0, 2, in dasd_eckd_analysis_ccw()
1852 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_analysis_ccw()
1853 locate_record(ccw++, LO_data++, 0, 0, 4, in dasd_eckd_analysis_ccw()
1858 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_analysis_ccw()
1859 ccw->cmd_code = DASD_ECKD_CCW_READ_COUNT; in dasd_eckd_analysis_ccw()
1860 ccw->flags = 0; in dasd_eckd_analysis_ccw()
1861 ccw->count = 8; in dasd_eckd_analysis_ccw()
1862 ccw->cda = (__u32)(addr_t) count_data; in dasd_eckd_analysis_ccw()
1863 ccw++; in dasd_eckd_analysis_ccw()
1868 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_analysis_ccw()
1869 locate_record(ccw++, LO_data++, 2, 0, 1, in dasd_eckd_analysis_ccw()
1872 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_analysis_ccw()
1873 ccw->cmd_code = DASD_ECKD_CCW_READ_COUNT; in dasd_eckd_analysis_ccw()
1874 ccw->flags = 0; in dasd_eckd_analysis_ccw()
1875 ccw->count = 8; in dasd_eckd_analysis_ccw()
1876 ccw->cda = (__u32)(addr_t) count_data; in dasd_eckd_analysis_ccw()
2103 struct ccw1 *ccw; in dasd_eckd_build_format() local
2198 ccw = fcp->cpaddr; in dasd_eckd_build_format()
2203 prefix(ccw++, (struct PFX_eckd_data *) data, in dasd_eckd_build_format()
2212 define_extent(ccw++, (struct DE_eckd_data *) data, in dasd_eckd_build_format()
2221 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_format()
2222 locate_record(ccw++, (struct LO_eckd_data *) data, in dasd_eckd_build_format()
2230 prefix(ccw++, (struct PFX_eckd_data *) data, in dasd_eckd_build_format()
2236 define_extent(ccw++, (struct DE_eckd_data *) data, in dasd_eckd_build_format()
2241 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_format()
2242 locate_record(ccw++, (struct LO_eckd_data *) data, in dasd_eckd_build_format()
2250 prefix(ccw++, (struct PFX_eckd_data *) data, in dasd_eckd_build_format()
2255 define_extent(ccw++, (struct DE_eckd_data *) data, in dasd_eckd_build_format()
2260 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_format()
2261 locate_record(ccw++, (struct LO_eckd_data *) data, in dasd_eckd_build_format()
2283 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_format()
2284 ccw->cmd_code = DASD_ECKD_CCW_WRITE_RECORD_ZERO; in dasd_eckd_build_format()
2285 ccw->flags = CCW_FLAG_SLI; in dasd_eckd_build_format()
2286 ccw->count = 8; in dasd_eckd_build_format()
2287 ccw->cda = (__u32)(addr_t) ect; in dasd_eckd_build_format()
2288 ccw++; in dasd_eckd_build_format()
2298 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_format()
2299 ccw->cmd_code = DASD_ECKD_CCW_WRITE_CKD; in dasd_eckd_build_format()
2300 ccw->flags = CCW_FLAG_SLI; in dasd_eckd_build_format()
2301 ccw->count = 8; in dasd_eckd_build_format()
2302 ccw->cda = (__u32)(addr_t) ect; in dasd_eckd_build_format()
2328 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_format()
2330 ccw->cmd_code = in dasd_eckd_build_format()
2333 ccw->cmd_code = in dasd_eckd_build_format()
2335 ccw->flags = CCW_FLAG_SLI; in dasd_eckd_build_format()
2336 ccw->count = 8; in dasd_eckd_build_format()
2337 ccw->cda = (__u32)(addr_t) ect; in dasd_eckd_build_format()
2338 ccw++; in dasd_eckd_build_format()
2590 struct ccw1 *ccw; in dasd_eckd_build_cp_cmd_single() local
2656 ccw = cqr->cpaddr; in dasd_eckd_build_cp_cmd_single()
2659 if (prefix(ccw++, cqr->data, first_trk, in dasd_eckd_build_cp_cmd_single()
2670 if (define_extent(ccw++, cqr->data, first_trk, in dasd_eckd_build_cp_cmd_single()
2686 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_cp_cmd_single()
2687 locate_record(ccw++, LO_data++, first_trk, first_offs + 1, in dasd_eckd_build_cp_cmd_single()
2715 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_cp_cmd_single()
2716 locate_record(ccw++, LO_data++, in dasd_eckd_build_cp_cmd_single()
2722 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_cp_cmd_single()
2723 locate_record(ccw++, LO_data++, in dasd_eckd_build_cp_cmd_single()
2729 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_cp_cmd_single()
2730 ccw->cmd_code = rcmd; in dasd_eckd_build_cp_cmd_single()
2731 ccw->count = count; in dasd_eckd_build_cp_cmd_single()
2733 ccw->cda = (__u32)(addr_t) idaws; in dasd_eckd_build_cp_cmd_single()
2734 ccw->flags = CCW_FLAG_IDA; in dasd_eckd_build_cp_cmd_single()
2737 ccw->cda = (__u32)(addr_t) dst; in dasd_eckd_build_cp_cmd_single()
2738 ccw->flags = 0; in dasd_eckd_build_cp_cmd_single()
2740 ccw++; in dasd_eckd_build_cp_cmd_single()
2774 struct ccw1 *ccw; in dasd_eckd_build_cp_cmd_track() local
2819 ccw = cqr->cpaddr; in dasd_eckd_build_cp_cmd_track()
2827 if (prefix_LRE(ccw++, cqr->data, first_trk, in dasd_eckd_build_cp_cmd_track()
2864 ccw[-1].flags |= CCW_FLAG_CC; in dasd_eckd_build_cp_cmd_track()
2865 ccw->cmd_code = cmd; in dasd_eckd_build_cp_cmd_track()
2866 ccw->count = len_to_track_end; in dasd_eckd_build_cp_cmd_track()
2867 ccw->cda = (__u32)(addr_t)idaws; in dasd_eckd_build_cp_cmd_track()
2868 ccw->flags = CCW_FLAG_IDA; in dasd_eckd_build_cp_cmd_track()
2869 ccw++; in dasd_eckd_build_cp_cmd_track()
3317 struct ccw1 *ccw; in dasd_raw_build_cp() local
3389 ccw = cqr->cpaddr; in dasd_raw_build_cp()
3391 if (prefix_LRE(ccw++, cqr->data, first_trk, last_trk, cmd, in dasd_raw_build_cp()
3405 ccw[-1].flags |= CCW_FLAG_CC; in dasd_raw_build_cp()
3406 ccw->cmd_code = cmd; in dasd_raw_build_cp()
3408 ccw->count = 57326; in dasd_raw_build_cp()
3411 ccw->cda = (__u32)(addr_t)idaws; in dasd_raw_build_cp()
3412 ccw->flags |= CCW_FLAG_IDA; in dasd_raw_build_cp()
3413 ccw->flags |= CCW_FLAG_SLI; in dasd_raw_build_cp()
3414 ccw++; in dasd_raw_build_cp()
3424 ccw[-1].flags |= CCW_FLAG_CC; in dasd_raw_build_cp()
3425 ccw->cmd_code = cmd; in dasd_raw_build_cp()
3427 ccw->count = 57326; in dasd_raw_build_cp()
3430 ccw->cda = (__u32)(addr_t)idaws; in dasd_raw_build_cp()
3431 ccw->flags |= CCW_FLAG_IDA; in dasd_raw_build_cp()
3432 ccw->flags |= CCW_FLAG_SLI; in dasd_raw_build_cp()
3433 ccw++; in dasd_raw_build_cp()
3463 struct ccw1 *ccw; in dasd_eckd_free_cp() local
3477 ccw = cqr->cpaddr; in dasd_eckd_free_cp()
3479 ccw++; in dasd_eckd_free_cp()
3481 ccw++; in dasd_eckd_free_cp()
3487 ccw++; in dasd_eckd_free_cp()
3489 if (ccw->flags & CCW_FLAG_IDA) in dasd_eckd_free_cp()
3490 cda = *((char **)((addr_t) ccw->cda)); in dasd_eckd_free_cp()
3492 cda = (char *)((addr_t) ccw->cda); in dasd_eckd_free_cp()
3501 ccw++; in dasd_eckd_free_cp()
3520 struct ccw1 *ccw; in dasd_eckd_reset_ccw_to_base_io() local
3534 ccw = cqr->cpaddr; in dasd_eckd_reset_ccw_to_base_io()
3536 if (ccw->cmd_code == DASD_ECKD_CCW_PFX) { in dasd_eckd_reset_ccw_to_base_io()
3620 struct ccw1 *ccw; in dasd_eckd_release() local
3633 memset(&dasd_reserve_req->ccw, 0, in dasd_eckd_release()
3634 sizeof(dasd_reserve_req->ccw)); in dasd_eckd_release()
3635 cqr->cpaddr = &dasd_reserve_req->ccw; in dasd_eckd_release()
3639 ccw = cqr->cpaddr; in dasd_eckd_release()
3640 ccw->cmd_code = DASD_ECKD_CCW_RELEASE; in dasd_eckd_release()
3641 ccw->flags |= CCW_FLAG_SLI; in dasd_eckd_release()
3642 ccw->count = 32; in dasd_eckd_release()
3643 ccw->cda = (__u32)(addr_t) cqr->data; in dasd_eckd_release()
3675 struct ccw1 *ccw; in dasd_eckd_reserve() local
3688 memset(&dasd_reserve_req->ccw, 0, in dasd_eckd_reserve()
3689 sizeof(dasd_reserve_req->ccw)); in dasd_eckd_reserve()
3690 cqr->cpaddr = &dasd_reserve_req->ccw; in dasd_eckd_reserve()
3694 ccw = cqr->cpaddr; in dasd_eckd_reserve()
3695 ccw->cmd_code = DASD_ECKD_CCW_RESERVE; in dasd_eckd_reserve()
3696 ccw->flags |= CCW_FLAG_SLI; in dasd_eckd_reserve()
3697 ccw->count = 32; in dasd_eckd_reserve()
3698 ccw->cda = (__u32)(addr_t) cqr->data; in dasd_eckd_reserve()
3729 struct ccw1 *ccw; in dasd_eckd_steal_lock() local
3742 memset(&dasd_reserve_req->ccw, 0, in dasd_eckd_steal_lock()
3743 sizeof(dasd_reserve_req->ccw)); in dasd_eckd_steal_lock()
3744 cqr->cpaddr = &dasd_reserve_req->ccw; in dasd_eckd_steal_lock()
3748 ccw = cqr->cpaddr; in dasd_eckd_steal_lock()
3749 ccw->cmd_code = DASD_ECKD_CCW_SLCK; in dasd_eckd_steal_lock()
3750 ccw->flags |= CCW_FLAG_SLI; in dasd_eckd_steal_lock()
3751 ccw->count = 32; in dasd_eckd_steal_lock()
3752 ccw->cda = (__u32)(addr_t) cqr->data; in dasd_eckd_steal_lock()
3784 struct ccw1 *ccw; in dasd_eckd_snid() local
3802 memset(&dasd_reserve_req->ccw, 0, in dasd_eckd_snid()
3803 sizeof(dasd_reserve_req->ccw)); in dasd_eckd_snid()
3804 cqr->cpaddr = &dasd_reserve_req->ccw; in dasd_eckd_snid()
3808 ccw = cqr->cpaddr; in dasd_eckd_snid()
3809 ccw->cmd_code = DASD_ECKD_CCW_SNID; in dasd_eckd_snid()
3810 ccw->flags |= CCW_FLAG_SLI; in dasd_eckd_snid()
3811 ccw->count = 12; in dasd_eckd_snid()
3812 ccw->cda = (__u32)(addr_t) cqr->data; in dasd_eckd_snid()
3850 struct ccw1 *ccw; in dasd_eckd_performance() local
3875 ccw = cqr->cpaddr; in dasd_eckd_performance()
3876 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_performance()
3877 ccw->count = sizeof(struct dasd_psf_prssd_data); in dasd_eckd_performance()
3878 ccw->flags |= CCW_FLAG_CC; in dasd_eckd_performance()
3879 ccw->cda = (__u32)(addr_t) prssdp; in dasd_eckd_performance()
3885 ccw++; in dasd_eckd_performance()
3886 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_performance()
3887 ccw->count = sizeof(struct dasd_rssd_perf_stats_t); in dasd_eckd_performance()
3888 ccw->cda = (__u32)(addr_t) stats; in dasd_eckd_performance()
3964 struct ccw1 *ccw; in dasd_symm_io() local
4020 ccw = cqr->cpaddr; in dasd_symm_io()
4023 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_symm_io()
4024 ccw->count = usrparm.psf_data_len; in dasd_symm_io()
4025 ccw->flags |= CCW_FLAG_CC; in dasd_symm_io()
4026 ccw->cda = (__u32)(addr_t) psf_data; in dasd_symm_io()
4028 ccw++; in dasd_symm_io()
4031 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_symm_io()
4032 ccw->count = usrparm.rssd_result_len; in dasd_symm_io()
4033 ccw->flags = CCW_FLAG_SLI ; in dasd_symm_io()
4034 ccw->cda = (__u32)(addr_t) rssd_result; in dasd_symm_io()
4516 struct ccw1 *ccw; in dasd_eckd_read_message_buffer() local
4547 ccw = cqr->cpaddr; in dasd_eckd_read_message_buffer()
4548 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_message_buffer()
4549 ccw->count = sizeof(struct dasd_psf_prssd_data); in dasd_eckd_read_message_buffer()
4550 ccw->flags |= CCW_FLAG_CC; in dasd_eckd_read_message_buffer()
4551 ccw->flags |= CCW_FLAG_SLI; in dasd_eckd_read_message_buffer()
4552 ccw->cda = (__u32)(addr_t) prssdp; in dasd_eckd_read_message_buffer()
4558 ccw++; in dasd_eckd_read_message_buffer()
4559 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_read_message_buffer()
4560 ccw->count = sizeof(struct dasd_rssd_messages); in dasd_eckd_read_message_buffer()
4561 ccw->flags |= CCW_FLAG_SLI; in dasd_eckd_read_message_buffer()
4562 ccw->cda = (__u32)(addr_t) message_buf; in dasd_eckd_read_message_buffer()
4592 struct ccw1 *ccw; in dasd_eckd_psf_cuir_response() local
4614 ccw = cqr->cpaddr; in dasd_eckd_psf_cuir_response()
4615 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_psf_cuir_response()
4616 ccw->cda = (__u32)(addr_t)psf_cuir; in dasd_eckd_psf_cuir_response()
4617 ccw->count = sizeof(struct dasd_psf_cuir_response); in dasd_eckd_psf_cuir_response()