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