Lines Matching refs:tdt
60 if (!bcom_eng->tdt[i].stop) { /* we use stop as a marker */ in bcom_task_alloc()
61 bcom_eng->tdt[i].stop = 0xfffffffful; /* dummy addr */ in bcom_task_alloc()
112 bcom_eng->tdt[tasknum].stop = 0; in bcom_task_alloc()
125 bcom_eng->tdt[tsk->tasknum].start = 0; in bcom_task_free()
126 bcom_eng->tdt[tsk->tasknum].stop = 0; in bcom_task_free()
140 struct bcom_tdt *tdt; in bcom_load_image() local
158 tdt = &bcom_eng->tdt[task]; in bcom_load_image()
160 if (tdt->start) { in bcom_load_image()
178 tdt->start = start_pa; in bcom_load_image()
179 tdt->stop = start_pa + ((hdr->desc_size-1) * sizeof(u32)); in bcom_load_image()
286 bcom_eng->tdt = bcom_sram_alloc(tdt_size, sizeof(u32), &tdt_pa); in bcom_engine_init()
291 if (!bcom_eng->tdt || !bcom_eng->ctx || !bcom_eng->var || !bcom_eng->fdt) { in bcom_engine_init()
294 bcom_sram_free(bcom_eng->tdt); in bcom_engine_init()
302 memset_io(bcom_eng->tdt, 0x00, tdt_size); in bcom_engine_init()
316 bcom_eng->tdt[task].context = ctx_pa; in bcom_engine_init()
317 bcom_eng->tdt[task].var = var_pa; in bcom_engine_init()
318 bcom_eng->tdt[task].fdt = fdt_pa; in bcom_engine_init()
354 bcom_sram_free(bcom_eng->tdt); in bcom_engine_cleanup()