Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/peci/
H A Ddimmtemp.c59 int chan_rank, u32 *data);
227 int chan_rank, dimm_idx, ret, i; in check_populated_dimms() local
239 for (chan_rank = 0; chan_rank < chan_rank_max; chan_rank++) { in check_populated_dimms()
441 dev = 20 + chan_rank / 2 + chan_rank / 4; in read_thresholds_hsx()
442 func = chan_rank % 2; in read_thresholds_hsx()
465 dev = 10 + chan_rank / 2 * 2; in read_thresholds_bdxd()
466 func = (chan_rank % 2) ? 6 : 2; in read_thresholds_bdxd()
491 dev = 10 + chan_rank / 3 * 2 + (chan_rank % 3 == 2 ? 1 : 0); in read_thresholds_skx()
492 func = chan_rank % 3 == 1 ? 6 : 2; in read_thresholds_skx()
528 dev = 26 + chan_rank / 2; in read_thresholds_icx()
[all …]
/openbmc/linux/drivers/edac/
H A Dskx_base.c467 int i, idx, chan_rank; in skx_rir_decode() local
501 chan_rank = SKX_RIR_CHAN_RANK(rirlv); in skx_rir_decode()
502 res->channel_rank = chan_rank; in skx_rir_decode()
503 res->dimm = chan_rank / 4; in skx_rir_decode()
504 res->rank = chan_rank % 4; in skx_rir_decode()
H A Di5100_edac.c649 const unsigned int chan_rank = i5100_csrow_to_rank(mci, csrow); in i5100_npages() local
654 if (!priv->mtr[chan][chan_rank].present) in i5100_npages()
659 priv->mtr[chan][chan_rank].numcol + in i5100_npages()
660 priv->mtr[chan][chan_rank].numrow + in i5100_npages()
661 priv->mtr[chan][chan_rank].numbank; in i5100_npages()