Searched refs:chan_rank (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/hwmon/peci/ |
H A D | dimmtemp.c | 59 int chan_rank, u32 *data); 96 int chan_rank = dimm_no / priv->gen_info->dimm_idx_max; in get_dimm_temp() local 104 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_DDR_DIMM_TEMP, chan_rank, &data); in get_dimm_temp() 122 int chan_rank = dimm_no / priv->gen_info->dimm_idx_max; in update_thresholds() local 129 ret = priv->gen_info->read_thresholds(priv, dimm_order, chan_rank, &data); in update_thresholds() 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() 240 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_DDR_DIMM_TEMP, chan_rank, &pcs); in check_populated_dimms() 249 bitmap_set(chan_rank_empty, chan_rank, 1); in check_populated_dimms() 258 bitmap_set(dimm_mask, chan_rank * dimm_idx_max + dimm_idx, 1); in check_populated_dimms() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | skx_base.c | 467 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 D | i5100_edac.c | 649 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()
|