Lines Matching refs:GET_BITFIELD
174 return !!GET_BITFIELD(mcmtr, 2, 2); in skx_check_ecc()
221 #define SKX_SAD_MOD3MODE(sad) GET_BITFIELD((sad), 30, 31)
222 #define SKX_SAD_MOD3(sad) GET_BITFIELD((sad), 27, 27)
223 #define SKX_SAD_LIMIT(sad) (((u64)GET_BITFIELD((sad), 7, 26) << 26) | MASK26)
224 #define SKX_SAD_MOD3ASMOD2(sad) GET_BITFIELD((sad), 5, 6)
225 #define SKX_SAD_ATTR(sad) GET_BITFIELD((sad), 3, 4)
226 #define SKX_SAD_INTERLEAVE(sad) GET_BITFIELD((sad), 1, 2)
227 #define SKX_SAD_ENABLE(sad) GET_BITFIELD((sad), 0, 0)
300 idx = GET_BITFIELD(addr, 6, 8); in skx_sad_decode()
303 idx = GET_BITFIELD(addr, 8, 10); in skx_sad_decode()
306 idx = GET_BITFIELD(addr, 12, 14); in skx_sad_decode()
309 idx = GET_BITFIELD(addr, 30, 32); in skx_sad_decode()
313 tgt = GET_BITFIELD(ilv, 4 * idx, 4 * idx + 3); in skx_sad_decode()
367 res->imc = GET_BITFIELD(d->mcroute, lchan * 3, lchan * 3 + 2); in skx_sad_decode()
368 res->channel = GET_BITFIELD(d->mcroute, lchan * 2 + 18, lchan * 2 + 19); in skx_sad_decode()
384 #define SKX_TAD_BASE(b) ((u64)GET_BITFIELD((b), 12, 31) << 26)
385 #define SKX_TAD_SKT_GRAN(b) GET_BITFIELD((b), 4, 5)
386 #define SKX_TAD_CHN_GRAN(b) GET_BITFIELD((b), 6, 7)
387 #define SKX_TAD_LIMIT(b) (((u64)GET_BITFIELD((b), 12, 31) << 26) | MASK26)
388 #define SKX_TAD_OFFSET(b) ((u64)GET_BITFIELD((b), 4, 23) << 26)
389 #define SKX_TAD_SKTWAYS(b) (1 << GET_BITFIELD((b), 10, 11))
390 #define SKX_TAD_CHNWAYS(b) (GET_BITFIELD((b), 8, 9) + 1)
459 #define SKX_RIR_VALID(b) GET_BITFIELD((b), 31, 31)
460 #define SKX_RIR_LIMIT(b) (((u64)GET_BITFIELD((b), 1, 11) << 29) | MASK29)
461 #define SKX_RIR_WAYS(b) (1 << GET_BITFIELD((b), 28, 29))
462 #define SKX_RIR_CHAN_RANK(b) GET_BITFIELD((b), 16, 19)
463 #define SKX_RIR_OFFSET(b) ((u64)(GET_BITFIELD((b), 2, 15) << 26))
543 int ret = GET_BITFIELD(addr, b0, b0) | (GET_BITFIELD(addr, b1, b1) << 1); in skx_bank_bits()
546 ret ^= GET_BITFIELD(addr, x0, x0) | (GET_BITFIELD(addr, x1, x1) << 1); in skx_bank_bits()