Lines Matching refs:ppc440spe_adma_desc_slot
97 static struct ppc440spe_adma_desc_slot *chan_last_sub[3];
98 static struct ppc440spe_adma_desc_slot *chan_first_cdb[3];
101 static struct ppc440spe_adma_desc_slot *xor_last_linked;
102 static struct ppc440spe_adma_desc_slot *xor_last_submit;
126 struct ppc440spe_adma_desc_slot *desc,
130 struct ppc440spe_adma_desc_slot *desc,
133 struct ppc440spe_adma_desc_slot *desc,
187 struct ppc440spe_adma_desc_slot *iter)
244 static void ppc440spe_desc_init_interrupt(struct ppc440spe_adma_desc_slot *desc,
273 static void ppc440spe_desc_init_null_xor(struct ppc440spe_adma_desc_slot *desc)
284 static void ppc440spe_desc_init_xor(struct ppc440spe_adma_desc_slot *desc,
304 static void ppc440spe_desc_init_dma2pq(struct ppc440spe_adma_desc_slot *desc,
330 static void ppc440spe_desc_init_dma01pq(struct ppc440spe_adma_desc_slot *desc,
335 struct ppc440spe_adma_desc_slot *iter;
357 struct ppc440spe_adma_desc_slot, chain_node);
381 struct ppc440spe_adma_desc_slot,
388 struct ppc440spe_adma_desc_slot,
396 struct ppc440spe_adma_desc_slot,
412 struct ppc440spe_adma_desc_slot,
419 struct ppc440spe_adma_desc_slot,
428 struct ppc440spe_adma_desc_slot,
444 struct ppc440spe_adma_desc_slot *desc,
448 struct ppc440spe_adma_desc_slot *iter;
459 struct ppc440spe_adma_desc_slot, chain_node);
461 struct ppc440spe_adma_desc_slot, chain_node);
465 struct ppc440spe_adma_desc_slot, chain_node);
492 struct ppc440spe_adma_desc_slot,
514 static void ppc440spe_desc_init_memcpy(struct ppc440spe_adma_desc_slot *desc,
535 static void ppc440spe_desc_init_memset(struct ppc440spe_adma_desc_slot *desc,
558 static void ppc440spe_desc_set_src_addr(struct ppc440spe_adma_desc_slot *desc,
593 static void ppc440spe_desc_set_src_mult(struct ppc440spe_adma_desc_slot *desc,
639 static void ppc440spe_desc_set_dest_addr(struct ppc440spe_adma_desc_slot *desc,
680 static void ppc440spe_desc_set_byte_count(struct ppc440spe_adma_desc_slot *desc,
715 static void ppc440spe_desc_set_dcheck(struct ppc440spe_adma_desc_slot *desc,
737 static void ppc440spe_xor_set_link(struct ppc440spe_adma_desc_slot *prev_desc,
738 struct ppc440spe_adma_desc_slot *next_desc)
760 struct ppc440spe_adma_desc_slot *prev_desc,
761 struct ppc440spe_adma_desc_slot *next_desc)
764 struct ppc440spe_adma_desc_slot *tail = next_desc;
806 static u32 ppc440spe_desc_get_src_addr(struct ppc440spe_adma_desc_slot *desc,
898 static u32 ppc440spe_desc_get_dest_addr(struct ppc440spe_adma_desc_slot *desc,
923 static u32 ppc440spe_desc_get_src_num(struct ppc440spe_adma_desc_slot *desc,
979 static u32 ppc440spe_desc_get_dst_num(struct ppc440spe_adma_desc_slot *desc,
1019 static inline u32 ppc440spe_desc_get_link(struct ppc440spe_adma_desc_slot *desc,
1032 struct ppc440spe_adma_desc_slot *desc, int num_slots)
1188 struct ppc440spe_adma_desc_slot *iter;
1299 struct ppc440spe_adma_desc_slot *next_desc)
1325 struct ppc440spe_adma_desc_slot *desc)
1347 struct ppc440spe_adma_desc_slot *iter;
1477 static void ppc440spe_adma_set_dest(struct ppc440spe_adma_desc_slot *tx,
1480 ppc440spe_adma_memcpy_xor_set_src(struct ppc440spe_adma_desc_slot *tx,
1484 ppc440spe_adma_pq_set_dest(struct ppc440spe_adma_desc_slot *tx,
1487 ppc440spe_adma_pq_set_src(struct ppc440spe_adma_desc_slot *tx,
1490 ppc440spe_adma_pq_set_src_mult(struct ppc440spe_adma_desc_slot *tx,
1493 ppc440spe_adma_pqzero_sum_set_dest(struct ppc440spe_adma_desc_slot *tx,
1670 static struct ppc440spe_adma_desc_slot *
1671 ppc440spe_get_group_entry(struct ppc440spe_adma_desc_slot *tdesc, u32 entry_idx)
1673 struct ppc440spe_adma_desc_slot *iter = tdesc->group_head;
1694 static void ppc440spe_adma_free_slots(struct ppc440spe_adma_desc_slot *slot,
1702 struct ppc440spe_adma_desc_slot,
1708 struct ppc440spe_adma_desc_slot *desc)
1749 struct ppc440spe_adma_desc_slot *desc,
1775 struct ppc440spe_adma_desc_slot *unmap =
1798 static int ppc440spe_adma_clean_slot(struct ppc440spe_adma_desc_slot *desc,
1846 struct ppc440spe_adma_desc_slot *iter, *_iter, *group_start = NULL;
1915 struct ppc440spe_adma_desc_slot *grp_iter, *_grp_iter;
1994 static struct ppc440spe_adma_desc_slot *ppc440spe_adma_alloc_slots(
1998 struct ppc440spe_adma_desc_slot *iter = NULL, *_iter;
1999 struct ppc440spe_adma_desc_slot *alloc_start = NULL;
2015 struct ppc440spe_adma_desc_slot,
2031 struct ppc440spe_adma_desc_slot *alloc_tail = NULL;
2032 struct ppc440spe_adma_desc_slot *last_used = NULL;
2052 struct ppc440spe_adma_desc_slot,
2078 struct ppc440spe_adma_desc_slot *slot = NULL;
2095 slot = kzalloc(sizeof(struct ppc440spe_adma_desc_slot),
2122 struct ppc440spe_adma_desc_slot,
2157 struct ppc440spe_adma_desc_slot *desc)
2171 static void ppc440spe_rxor_set_region(struct ppc440spe_adma_desc_slot *desc,
2182 static void ppc440spe_rxor_set_src(struct ppc440spe_adma_desc_slot *desc,
2194 static void ppc440spe_rxor_set_mult(struct ppc440spe_adma_desc_slot *desc,
2224 struct ppc440spe_adma_desc_slot *sw_desc;
2226 struct ppc440spe_adma_desc_slot *group_start, *old_chain_tail;
2248 struct ppc440spe_adma_desc_slot,
2276 struct ppc440spe_adma_desc_slot *sw_desc, *group_start;
2308 struct ppc440spe_adma_desc_slot *sw_desc, *group_start;
2349 struct ppc440spe_adma_desc_slot *sw_desc, *group_start;
2391 struct ppc440spe_adma_desc_slot *sw_desc, *group_start;
2428 ppc440spe_desc_set_xor_src_cnt(struct ppc440spe_adma_desc_slot *desc,
2436 struct ppc440spe_adma_desc_slot *desc,
2452 static struct ppc440spe_adma_desc_slot *ppc440spe_dma01_prep_mult(
2457 struct ppc440spe_adma_desc_slot *sw_desc = NULL;
2470 struct ppc440spe_adma_desc_slot *iter;
2481 struct ppc440spe_adma_desc_slot,
2486 struct ppc440spe_adma_desc_slot,
2505 struct ppc440spe_adma_desc_slot,
2538 static struct ppc440spe_adma_desc_slot *ppc440spe_dma01_prep_sum_product(
2543 struct ppc440spe_adma_desc_slot *sw_desc = NULL;
2556 struct ppc440spe_adma_desc_slot *iter;
2565 struct ppc440spe_adma_desc_slot,
2569 struct ppc440spe_adma_desc_slot,
2587 struct ppc440spe_adma_desc_slot,
2592 struct ppc440spe_adma_desc_slot,
2615 struct ppc440spe_adma_desc_slot,
2642 static struct ppc440spe_adma_desc_slot *ppc440spe_dma01_prep_pq(
2648 struct ppc440spe_adma_desc_slot *sw_desc = NULL, *iter;
2787 static struct ppc440spe_adma_desc_slot *ppc440spe_dma2_prep_pq(
2793 struct ppc440spe_adma_desc_slot *sw_desc = NULL, *iter;
2837 struct ppc440spe_adma_desc_slot,
2882 struct ppc440spe_adma_desc_slot *sw_desc = NULL;
2958 struct ppc440spe_adma_desc_slot *sw_desc, *iter;
3010 struct ppc440spe_adma_desc_slot,
3030 struct ppc440spe_adma_desc_slot,
3036 struct ppc440spe_adma_desc_slot,
3042 struct ppc440spe_adma_desc_slot,
3152 static void ppc440spe_adma_set_dest(struct ppc440spe_adma_desc_slot *sw_desc,
3178 static void ppc440spe_adma_pq_zero_op(struct ppc440spe_adma_desc_slot *iter,
3199 static void ppc440spe_adma_pq_set_dest(struct ppc440spe_adma_desc_slot *sw_desc,
3202 struct ppc440spe_adma_desc_slot *iter;
3363 struct ppc440spe_adma_desc_slot,
3375 struct ppc440spe_adma_desc_slot,
3389 struct ppc440spe_adma_desc_slot *sw_desc,
3392 struct ppc440spe_adma_desc_slot *iter, *end;
3444 struct ppc440spe_adma_desc_slot, chain_node);
3453 struct ppc440spe_adma_desc_slot *desc,
3465 static void ppc440spe_adma_pq_set_src(struct ppc440spe_adma_desc_slot *sw_desc,
3470 struct ppc440spe_adma_desc_slot *iter = NULL;
3575 struct ppc440spe_adma_desc_slot *sw_desc,
3591 struct ppc440spe_adma_desc_slot *desc,
3608 struct ppc440spe_adma_desc_slot *hdesc,
3614 struct ppc440spe_adma_desc_slot *desc = hdesc;
3619 struct ppc440spe_adma_desc_slot,
3728 struct ppc440spe_adma_desc_slot *desc,
3740 struct ppc440spe_adma_desc_slot, chain_node);
3769 struct ppc440spe_adma_desc_slot *desc,
3781 struct ppc440spe_adma_desc_slot,
3817 struct ppc440spe_adma_desc_slot *sw_desc,
3822 struct ppc440spe_adma_desc_slot *iter = NULL, *iter1 = NULL;
3905 struct ppc440spe_adma_desc_slot *iter, *_iter;
4037 struct ppc440spe_adma_desc_slot *sw_desc, *group_start;
4087 struct ppc440spe_adma_desc_slot *sw_desc, *iter;