Lines Matching refs:itcw
125 static int prepare_itcw(struct itcw *, unsigned int, unsigned int, int,
2066 struct itcw *itcw; in dasd_eckd_build_check_tcw() local
2095 itcw = itcw_init(cqr->data, itcw_size, ITCW_OP_READ, 0, count, 0); in dasd_eckd_build_check_tcw()
2096 if (IS_ERR(itcw)) { in dasd_eckd_build_check_tcw()
2101 cqr->cpaddr = itcw_get_tcw(itcw); in dasd_eckd_build_check_tcw()
2102 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw()
2110 last_tidaw = itcw_add_tidaw(itcw, 0, fmt_buffer++, in dasd_eckd_build_check_tcw()
2119 itcw_finalize(itcw); in dasd_eckd_build_check_tcw()
3377 static int prepare_itcw(struct itcw *itcw, in prepare_itcw() argument
3528 dcw = itcw_add_dcw(itcw, pfx_cmd, 0, in prepare_itcw()
3554 struct itcw *itcw; in dasd_eckd_build_cp_tpm_track() local
3604 itcw = itcw_init(cqr->data, itcw_size, itcw_op, 0, ctidaw, 0); in dasd_eckd_build_cp_tpm_track()
3605 if (IS_ERR(itcw)) { in dasd_eckd_build_cp_tpm_track()
3609 cqr->cpaddr = itcw_get_tcw(itcw); in dasd_eckd_build_cp_tpm_track()
3610 if (prepare_itcw(itcw, first_trk, last_trk, in dasd_eckd_build_cp_tpm_track()
3657 last_tidaw = itcw_add_tidaw(itcw, tidaw_flags, in dasd_eckd_build_cp_tpm_track()
3669 last_tidaw = itcw_add_tidaw(itcw, 0x00, in dasd_eckd_build_cp_tpm_track()
3679 itcw_finalize(itcw); in dasd_eckd_build_cp_tpm_track()