Lines Matching refs:fmtl
618 const struct isl_format_layout *fmtl = isl_format_get_layout(format); in want_ccs_e_for_format() local
628 fmtl->channels.r.bits == 32 && fmtl->channels.r.type == ISL_SFLOAT) in want_ccs_e_for_format()
2199 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local
2200 const unsigned cpp = fmtl->bpb / 8; in tile_extents()
2202 assert(box->x % fmtl->bw == 0); in tile_extents()
2203 assert(box->y % fmtl->bh == 0); in tile_extents()
2208 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents()
2209 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents()
2210 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp; in tile_extents()
2211 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents()
2305 const struct isl_format_layout *fmtl = in iris_map_direct() local
2307 const unsigned cpp = fmtl->bpb / 8; in iris_map_direct()
2310 assert(box->x % fmtl->bw == 0); in iris_map_direct()
2311 assert(box->y % fmtl->bh == 0); in iris_map_direct()
2314 x0_el += box->x / fmtl->bw; in iris_map_direct()
2315 y0_el += box->y / fmtl->bh; in iris_map_direct()