Lines Matching refs:fmtl
1461 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
1462 const unsigned cpp = fmtl->bpb / 8;
1464 assert(box->x % fmtl->bw == 0);
1465 assert(box->y % fmtl->bh == 0);
1470 *x1_B = (box->x / fmtl->bw + x0_el) * cpp;
1471 *y1_el = box->y / fmtl->bh + y0_el;
1472 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp;
1473 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el;
1568 const struct isl_format_layout *fmtl =
1570 const unsigned cpp = fmtl->bpb / 8;
1573 assert(box->x % fmtl->bw == 0);
1574 assert(box->y % fmtl->bh == 0);
1577 x0_el += box->x / fmtl->bw;
1578 y0_el += box->y / fmtl->bh;
1696 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
1697 if (fmtl->txc == ISL_TXC_ASTC)