Lines Matching refs:cda
184 pccw1->cda = ccw0.cda;
311 return is_cpa_within_range(ccw->cda, head, len);
347 /* Free resource for a ccw that allocated memory for its cda. */
355 kfree((void *)(u64)ccw->cda);
414 if (is_cpa_within_range(tic->cda, ccw_head, chain->ch_len))
424 static int ccwchain_handle_ccw(u32 cda, struct channel_program *cp)
430 len = copy_from_iova(cp->mdev, cp->guest_cp, cda,
440 len = ccwchain_calc_length(cda, cp);
448 chain->ch_iova = cda;
479 ret = ccwchain_handle_ccw(tic->cda, cp);
497 if (is_cpa_within_range(ccw->cda, ccw_head, iter->ch_len)) {
498 ccw->cda = (__u32) (addr_t) (((char *)iter->ch_ccw) +
499 (ccw->cda - ccw_head));
529 ret = copy_from_iova(cp->mdev, &iova, ccw->cda, sizeof(iova));
533 iova = ccw->cda;
558 ret = copy_from_iova(cp->mdev, idaws, ccw->cda, idal_len);
572 * with the contents of ccw->cda.
584 ccw->cda = (__u32) virt_to_phys(idaws);
597 ccw->cda = 0;
603 * To reduce memory copy, we'll pin the cda page in memory,
604 * and to get rid of the cda 2G limitiaion of ccw1, we'll translate