Lines Matching full:tcm
35 static struct tcm *containers[TILFMT_NFORMATS];
305 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument
331 engine->tcm = tcm; in dmm_txn_init()
363 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append()
364 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append()
368 .lut_id = engine->tcm->lut_id, in dmm_txn_append()
481 txn = dmm_txn_init(omap_dmm, area->tcm); in fill()
600 if (block->area.tcm) in tiler_release()
747 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove()
748 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove()
749 kfree(omap_dmm->tcm); in omap_dmm_remove()
907 omap_dmm->tcm = kcalloc(omap_dmm->num_lut, sizeof(*omap_dmm->tcm), in omap_dmm_probe()
909 if (!omap_dmm->tcm) { in omap_dmm_probe()
915 /* Each LUT is associated with a TCM (container manager). We use the in omap_dmm_probe()
919 omap_dmm->tcm[i] = sita_init(omap_dmm->container_width, in omap_dmm_probe()
922 if (!omap_dmm->tcm[i]) { in omap_dmm_probe()
928 omap_dmm->tcm[i]->lut_id = i; in omap_dmm_probe()
931 /* assign access mode containers to applicable tcm container */ in omap_dmm_probe()
934 containers[TILFMT_8BIT] = omap_dmm->tcm[0]; in omap_dmm_probe()
935 containers[TILFMT_16BIT] = omap_dmm->tcm[0]; in omap_dmm_probe()
936 containers[TILFMT_32BIT] = omap_dmm->tcm[0]; in omap_dmm_probe()
942 containers[TILFMT_PAGE] = omap_dmm->tcm[1]; in omap_dmm_probe()
943 omap_dmm->tcm[1]->y_offset = OMAP5_LUT_OFFSET; in omap_dmm_probe()
944 omap_dmm->tcm[1]->lut_id = 0; in omap_dmm_probe()
946 containers[TILFMT_PAGE] = omap_dmm->tcm[0]; in omap_dmm_probe()
950 .tcm = NULL, in omap_dmm_probe()
975 area.tcm = omap_dmm->tcm[i]; in omap_dmm_probe()
1108 if (block->area.tcm == omap_dmm->tcm[lut_idx]) { in tiler_map_show()
1174 .tcm = NULL, in omap_dmm_resume()
1181 area.tcm = omap_dmm->tcm[i]; in omap_dmm_resume()