Lines Matching refs:geom
60 } geom[TILFMT_NFORMATS] = { variable
544 w = DIV_ROUND_UP(w, geom[fmt].slot_w); in tiler_reserve_2d()
545 h = DIV_ROUND_UP(h, geom[fmt].slot_h); in tiler_reserve_2d()
548 slot_bytes = geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d()
638 x_bits = CONT_WIDTH_BITS - geom[fmt].x_shft; in tiler_get_address()
639 y_bits = CONT_HEIGHT_BITS - geom[fmt].y_shft; in tiler_get_address()
640 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address()
672 block->area.p0.x * geom[block->fmt].slot_w, in tiler_ssptr()
673 block->area.p0.y * geom[block->fmt].slot_h); in tiler_ssptr()
683 (p->x * geom[block->fmt].slot_w) + x, in tiler_tsptr()
684 (p->y * geom[block->fmt].slot_h) + y); in tiler_tsptr()
690 *w = round_up(*w, geom[fmt].slot_w); in tiler_align()
691 *h = round_up(*h, geom[fmt].slot_h); in tiler_align()
699 return 1 << (CONT_HEIGHT_BITS + geom[fmt].x_shft); in tiler_stride()
701 return 1 << (CONT_WIDTH_BITS + geom[fmt].y_shft); in tiler_stride()
707 return geom[fmt].cpp * w * h; in tiler_size()
713 return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; in tiler_vsize()