Searched refs:dimm_order (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/peci/ |
H A D | dimmtemp.c | 58 int (*read_thresholds)(struct peci_dimmtemp *priv, int dimm_order, 88 static u8 __dimm_temp(u32 reg, int dimm_order) in __dimm_temp() argument 90 return (reg >> (dimm_order * 8)) & 0xff; in __dimm_temp() 95 int dimm_order = dimm_no % priv->gen_info->dimm_idx_max; in get_dimm_temp() local 108 priv->dimm[dimm_no].temp.value = __dimm_temp(data, dimm_order) * MILLIDEGREE_PER_DEGREE; in get_dimm_temp() 121 int dimm_order = 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() 425 read_thresholds_hsx(struct peci_dimmtemp *priv, int dimm_order, int chan_rank, u32 *data) in read_thresholds_hsx() argument 443 reg = 0x120 + dimm_order * 4; in read_thresholds_hsx() 453 read_thresholds_bdxd(struct peci_dimmtemp *priv, int dimm_order, int chan_rank, u32 *data) in read_thresholds_bdxd() argument [all …]
|