Lines Matching refs:dhandles
217 static struct dma_handle_info dhandles[MAX_DMA_HANDLES]; variable
458 if(dhandles[i].used && dhandles[i].fd == fd) { in remote_register_dma_handle_attr()
460 if(!dhandles[i].attr) { in remote_register_dma_handle_attr()
461 dhandles[i].attr = attr; in remote_register_dma_handle_attr()
475 if(!dhandles[i].used) { in remote_register_dma_handle_attr()
476 dhandles[i].fd = fd; in remote_register_dma_handle_attr()
477 dhandles[i].len = len; in remote_register_dma_handle_attr()
478 dhandles[i].used = 1; in remote_register_dma_handle_attr()
479 dhandles[i].attr = attr; in remote_register_dma_handle_attr()
488 dhandles[dma_handle_count].fd = fd; in remote_register_dma_handle_attr()
489 dhandles[dma_handle_count].len = len; in remote_register_dma_handle_attr()
490 dhandles[dma_handle_count].used = 1; in remote_register_dma_handle_attr()
491 dhandles[dma_handle_count].attr = attr; in remote_register_dma_handle_attr()
516 if(dhandles[i].used) { in unregister_dma_handle()
517 if(dhandles[i].fd == fd) { in unregister_dma_handle()
518 dhandles[i].used = 0; in unregister_dma_handle()
519 *len = dhandles[i].len; in unregister_dma_handle()
520 *attr = dhandles[i].attr; in unregister_dma_handle()
1864 std_memset(dhandles, 0, sizeof(dhandles)); in fastrpc_apps_user_init()