Lines Matching refs:ccw1
33 struct ccw1 *ch_ccw;
213 static void convert_ccw0_to_ccw1(struct ccw1 *source, unsigned long len)
216 struct ccw1 *pccw1 = source;
261 static inline int ccw_does_data_transfer(struct ccw1 *ccw)
304 u32 tail = head + (len - 1) * sizeof(struct ccw1);
309 static inline int is_tic_within_range(struct ccw1 *ccw, u32 head, int len)
354 struct ccw1 *ccw = &chain->ch_ccw[idx];
377 struct ccw1 *ccw = cp->guest_cp;
403 static int tic_target_chain_exists(struct ccw1 *tic, struct channel_program *cp)
428 ret = vfio_dma_rw(vdev, cda, cp->guest_cp, CCWCHAIN_LEN_MAX * sizeof(struct ccw1), false);
450 memcpy(chain->ch_ccw, cp->guest_cp, len * sizeof(struct ccw1));
464 struct ccw1 *tic;
486 static int ccwchain_fetch_tic(struct ccw1 *ccw,
504 static unsigned long *get_guest_idal(struct ccw1 *ccw,
559 static int ccw_count_idaws(struct ccw1 *ccw,
601 static int ccwchain_fetch_ccw(struct ccw1 *ccw,
675 * and to get rid of the cda 2G limitation of ccw1, we'll translate
678 static int ccwchain_fetch_one(struct ccw1 *ccw,
809 struct ccw1 *ccw;
852 struct ccw1 *cpa;