Lines Matching refs:cte_bits
163 * rounding cte_bits up to a byte boundary and then finding the
168 size = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY);
250 if (ctf_type_encoding(fp, mp->ctm_type, &e) != 0 || e.cte_bits > 64) {
252 "bits %u\n", mp->ctm_offset, mp->ctm_type, e.cte_bits);
266 * must subtract (ctm_offset % NBBY + cte_bits) from the size in bits
268 * rounding cte_bits up to a byte boundary and then finding the
274 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
277 shift = mp->ctm_offset % NBBY + e.cte_bits;
283 dt_cg_setx(dlp, r2, 64 - e.cte_bits);
288 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
289 (mp->ctm_offset % NBBY + e.cte_bits);
297 dt_cg_setx(dlp, r2, (1ULL << e.cte_bits) - 1);
313 * setx ~(((1 << cte_bits) - 1) << (ctm_offset % NBBY)), r2
316 * setx (1 << cte_bits) - 1, r2
357 if (ctf_type_encoding(fp, m.ctm_type, &e) != 0 || e.cte_bits > 64) {
359 "bits %u\n", m.ctm_offset, m.ctm_type, e.cte_bits);
372 * input register to width cte_bits, and cmask as the mask used to
376 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
377 (m.ctm_offset % NBBY + e.cte_bits);
381 fmask = (1ULL << e.cte_bits) - 1;
419 * rounding dst's cte_bits up to a byte boundary and then finding the
424 size = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY);