Home
last modified time | relevance | path

Searched refs:lchan (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/edac/
Dskx_base.c270 int i, idx, tgt, lchan, shift; in skx_sad_decode() local
331 lchan = SKX_ILV_TARGET(tgt); in skx_sad_decode()
349 lchan = (addr >> shift) % 3; in skx_sad_decode()
352 lchan = (addr >> shift) % 2; in skx_sad_decode()
355 lchan = (addr >> shift) % 2; in skx_sad_decode()
356 lchan = (lchan << 1) | !lchan; in skx_sad_decode()
359 lchan = ((addr >> shift) % 2) << 1; in skx_sad_decode()
362 lchan = (lchan << 1) | (SKX_ILV_TARGET(tgt) & 1); 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()