Lines Matching full:engines
297 if (dmm->engines[i].async) in omap_dmm_irq_handler()
298 release_engine(&dmm->engines[i]); in omap_dmm_irq_handler()
300 complete(&dmm->engines[i].compl); in omap_dmm_irq_handler()
478 * silently fail, leading to leaking DMM engines, which may eventually in fill()
479 * lead to deadlock if we run out of DMM engines. in fill()
758 kfree(omap_dmm->engines); in omap_dmm_remove()
895 /* alloc engines */ in omap_dmm_probe()
896 omap_dmm->engines = kcalloc(omap_dmm->num_engines, in omap_dmm_probe()
897 sizeof(*omap_dmm->engines), GFP_KERNEL); in omap_dmm_probe()
898 if (!omap_dmm->engines) { in omap_dmm_probe()
904 omap_dmm->engines[i].id = i; in omap_dmm_probe()
905 omap_dmm->engines[i].dmm = omap_dmm; in omap_dmm_probe()
906 omap_dmm->engines[i].refill_va = omap_dmm->refill_va + in omap_dmm_probe()
908 omap_dmm->engines[i].refill_pa = omap_dmm->refill_pa + in omap_dmm_probe()
910 init_completion(&omap_dmm->engines[i].compl); in omap_dmm_probe()
912 list_add(&omap_dmm->engines[i].idle_node, &omap_dmm->idle_head); in omap_dmm_probe()