Lines Matching refs:unit_no
108 unsigned char unit_no;
376 switch (tc->unit_no) {
545 mi.dmasel = tc->unit_no;
640 DEBUG(printk("append_input_descriptors, tc=0x%p, unit_no=%d\n", tc, tc->unit_no));
656 if (tc->unit_no == src_dma){
758 .unit_no = src_csum};
842 cipher_ctx.unit_no = src_dma;
876 cipher_ctx.unit_no = src_des;
881 cipher_ctx.unit_no = src_des;
886 cipher_ctx.unit_no = src_aes;
908 digest_ctx.unit_no = src_md5;
913 digest_ctx.unit_no = src_sha1;
1037 if (digest_ctx.unit_no == tc->current_src){
1039 } else if (cipher_ctx.unit_no == tc->current_src){
1041 } else if (csum_ctx.unit_no == tc->current_src){
1044 if ((tc->curr_src == tc) && (tc->unit_no != src_dma)){
1045 DEBUG_API(printk("cryptocop_setup_dma_list: unit %d configured to source from itself.\n", tc->unit_no));
1054 DEBUG(printk("cryptocop_setup_dma_list: tc->active=%d tc->unit_no=%d tc->current_src=%d tc->previous_src=%d, tc->curr_src=0x%p, tc->prev_srv=0x%p\n", tc->active, tc->unit_no, tc->current_src, tc->previous_src, tc->curr_src, tc->prev_src));
1078 DEBUG_API(printk("cryptocop_setup_dma_list: cipher source from inactive unit %d\n", cipher_ctx.curr_src->unit_no));
1083 DEBUG_API(printk("cryptocop_setup_dma_list: digest source from inactive unit %d\n", digest_ctx.curr_src->unit_no));
1088 DEBUG_API(printk("cryptocop_setup_dma_list: cipher source from inactive unit %d\n", csum_ctx.curr_src->unit_no));
1114 if (digest_ctx.unit_no == src_md5) {
1139 if (cipher_ctx.unit_no == src_dma){
1213 if (cipher_ctx.unit_no == src_dma){