• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v32/drivers/

Lines Matching defs:iop

167 	struct cryptocop_int_operation *iop;
239 static void delete_internal_operation(struct cryptocop_int_operation *iop);
252 static void print_dma_descriptors(struct cryptocop_int_operation *iop);
1361 static void delete_internal_operation(struct cryptocop_int_operation *iop)
1363 void *ptr = iop->alloc_ptr;
1364 struct cryptocop_dma_desc *cd = iop->cdesc_out;
1367 DEBUG(printk("delete_internal_operation: iop=0x%p, alloc_ptr=0x%p\n", iop, ptr));
1374 cd = iop->cdesc_in;
1627 DEBUG(printk("cryptocop_free_session: pj=0x%p, pj->oper=0x%p, pj->iop=0x%p\n", pj, pj->oper, pj->iop));
1629 delete_internal_operation(pj->iop);
1890 delete_internal_operation(pj->iop);
1932 delete_internal_operation(done_job->iop);
2066 delete_internal_operation(pj->iop);
2101 delete_internal_operation(pj->iop);
2117 delete_internal_operation(pj->iop);
2166 switch (pj->iop->tdes_mode){
2210 switch (pj->iop->csum_mode){
2226 &pj->iop->ctx_in, (char*)virt_to_phys(&pj->iop->ctx_in),
2227 &pj->iop->ctx_out, (char*)virt_to_phys(&pj->iop->ctx_out)));
2230 flush_dma_context(&pj->iop->ctx_in);
2231 DMA_START_CONTEXT(IN_DMA_INST, virt_to_phys(&pj->iop->ctx_in));
2234 DMA_START_CONTEXT(OUT_DMA_INST, virt_to_phys(&pj->iop->ctx_out));
2268 (*pj)->iop = (struct cryptocop_int_operation*)(((unsigned long int)(iop_alloc_ptr + DESCR_ALLOC_PAD + offsetof(struct cryptocop_int_operation, ctx_out)) & ~0x0000001F) - offsetof(struct cryptocop_int_operation, ctx_out));
2269 DEBUG(memset((*pj)->iop, 0xff, sizeof(struct cryptocop_int_operation)));
2270 (*pj)->iop->alloc_ptr = iop_alloc_ptr;
2271 (*pj)->iop->sid = operation->sid;
2272 (*pj)->iop->cdesc_out = NULL;
2273 (*pj)->iop->cdesc_in = NULL;
2274 (*pj)->iop->tdes_mode = operation->list_op.tdes_mode;
2275 (*pj)->iop->csum_mode = operation->list_op.csum_mode;
2276 (*pj)->iop->ddesc_out = operation->list_op.outlist;
2277 (*pj)->iop->ddesc_in = operation->list_op.inlist;
2280 (*pj)->iop->ctx_out.next = NULL;
2281 (*pj)->iop->ctx_out.eol = 1;
2282 (*pj)->iop->ctx_out.saved_data = operation->list_op.outlist;
2283 (*pj)->iop->ctx_out.saved_data_buf = operation->list_op.out_data_buf;
2285 (*pj)->iop->ctx_in.next = NULL;
2286 (*pj)->iop->ctx_in.eol = 1;
2287 (*pj)->iop->ctx_in.saved_data = operation->list_op.inlist;
2288 (*pj)->iop->ctx_in.saved_data_buf = operation->list_op.in_data_buf;
2290 if ((err = cryptocop_setup_dma_list(operation, &(*pj)->iop, alloc_flag))) {
2296 DEBUG(print_dma_descriptors((*pj)->iop));
3149 static void print_dma_descriptors(struct cryptocop_int_operation *iop)
3151 struct cryptocop_dma_desc *cdesc_out = iop->cdesc_out;
3152 struct cryptocop_dma_desc *cdesc_in = iop->cdesc_in;
3157 printk("iop:\n");
3158 printk("\tsid: 0x%lld\n", iop->sid);
3160 printk("\tcdesc_out: 0x%p\n", iop->cdesc_out);
3161 printk("\tcdesc_in: 0x%p\n", iop->cdesc_in);
3162 printk("\tddesc_out: 0x%p\n", iop->ddesc_out);
3163 printk("\tddesc_in: 0x%p\n", iop->ddesc_in);
3165 printk("\niop->ctx_out: 0x%p phys: 0x%p\n", &iop->ctx_out, (char*)virt_to_phys(&iop->ctx_out));
3169 iop->ctx_out.next,
3170 iop->ctx_out.saved_data,
3171 iop->ctx_out.saved_data_buf);
3173 printk("\niop->ctx_in: 0x%p phys: 0x%p\n", &iop->ctx_in, (char*)virt_to_phys(&iop->ctx_in));
3177 iop->ctx_in.next,
3178 iop->ctx_in.saved_data,
3179 iop->ctx_in.saved_data_buf);