Lines Matching refs:gen_info
77 const struct dimm_info *gen_info; member
95 int dimm_order = dimm_no % priv->gen_info->dimm_idx_max; in get_dimm_temp()
96 int chan_rank = dimm_no / priv->gen_info->dimm_idx_max; in get_dimm_temp()
121 int dimm_order = dimm_no % priv->gen_info->dimm_idx_max; in update_thresholds()
122 int chan_rank = dimm_no / priv->gen_info->dimm_idx_max; in update_thresholds()
129 ret = priv->gen_info->read_thresholds(priv, dimm_order, chan_rank, &data); in update_thresholds()
222 int chan_rank_max = priv->gen_info->chan_rank_max; in check_populated_dimms()
223 int dimm_idx_max = priv->gen_info->dimm_idx_max; in check_populated_dimms()
297 int rank = chan / priv->gen_info->dimm_idx_max; in create_dimm_temp_label()
298 int idx = chan % priv->gen_info->dimm_idx_max; in create_dimm_temp_label()
342 channels = priv->gen_info->chan_rank_max * priv->gen_info->dimm_idx_max; in create_dimm_temp_info()
398 priv->gen_info = (const struct dimm_info *)id->driver_data; in peci_dimmtemp_probe()
405 if (peci_dev->info.peci_revision < priv->gen_info->min_peci_revision) in peci_dimmtemp_probe()