Lines Matching refs:tcm
42 static struct tcm *containers[TILFMT_NFORMATS];
312 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument
338 engine->tcm = tcm; in dmm_txn_init()
370 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append()
371 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append()
375 .lut_id = engine->tcm->lut_id, in dmm_txn_append()
488 txn = dmm_txn_init(omap_dmm, area->tcm); in fill()
607 if (block->area.tcm) in tiler_release()
754 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove()
755 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove()
756 kfree(omap_dmm->tcm); in omap_dmm_remove()
916 omap_dmm->tcm = kcalloc(omap_dmm->num_lut, sizeof(*omap_dmm->tcm), in omap_dmm_probe()
918 if (!omap_dmm->tcm) { in omap_dmm_probe()
928 omap_dmm->tcm[i] = sita_init(omap_dmm->container_width, in omap_dmm_probe()
931 if (!omap_dmm->tcm[i]) { in omap_dmm_probe()
937 omap_dmm->tcm[i]->lut_id = i; in omap_dmm_probe()
943 containers[TILFMT_8BIT] = omap_dmm->tcm[0]; in omap_dmm_probe()
944 containers[TILFMT_16BIT] = omap_dmm->tcm[0]; in omap_dmm_probe()
945 containers[TILFMT_32BIT] = omap_dmm->tcm[0]; in omap_dmm_probe()
951 containers[TILFMT_PAGE] = omap_dmm->tcm[1]; in omap_dmm_probe()
952 omap_dmm->tcm[1]->y_offset = OMAP5_LUT_OFFSET; in omap_dmm_probe()
953 omap_dmm->tcm[1]->lut_id = 0; in omap_dmm_probe()
955 containers[TILFMT_PAGE] = omap_dmm->tcm[0]; in omap_dmm_probe()
959 .tcm = NULL, in omap_dmm_probe()
984 area.tcm = omap_dmm->tcm[i]; in omap_dmm_probe()
1117 if (block->area.tcm == omap_dmm->tcm[lut_idx]) { in tiler_map_show()
1183 .tcm = NULL, in omap_dmm_resume()
1190 area.tcm = omap_dmm->tcm[i]; in omap_dmm_resume()