Lines Matching refs:ccw
71 set_normalized_cda(struct ccw1 * ccw, void *vaddr) in set_normalized_cda() argument
76 if (ccw->flags & CCW_FLAG_IDA) in set_normalized_cda()
78 nridaws = idal_nr_words(vaddr, ccw->count); in set_normalized_cda()
84 idal_create_words(idal, vaddr, ccw->count); in set_normalized_cda()
85 ccw->flags |= CCW_FLAG_IDA; in set_normalized_cda()
88 ccw->cda = (__u32)(unsigned long) vaddr; in set_normalized_cda()
96 clear_normalized_cda(struct ccw1 * ccw) in clear_normalized_cda() argument
98 if (ccw->flags & CCW_FLAG_IDA) { in clear_normalized_cda()
99 kfree((void *)(unsigned long) ccw->cda); in clear_normalized_cda()
100 ccw->flags &= ~CCW_FLAG_IDA; in clear_normalized_cda()
102 ccw->cda = 0; in clear_normalized_cda()
180 idal_buffer_set_cda(struct idal_buffer *ib, struct ccw1 *ccw) in idal_buffer_set_cda() argument
184 ccw->cda = (u32)(addr_t) ib->data; in idal_buffer_set_cda()
185 ccw->flags |= CCW_FLAG_IDA; in idal_buffer_set_cda()
188 ccw->cda = (u32)(addr_t) ib->data[0]; in idal_buffer_set_cda()
189 ccw->count = ib->size; in idal_buffer_set_cda()