Home
last modified time | relevance | path

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

/linux/drivers/hwmon/peci/
H A Ddimmtemp.c74 struct peci_device *peci_dev; member
104 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_DDR_DIMM_TEMP, chan_rank, &data); in get_dimm_temp()
240 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_DDR_DIMM_TEMP, chan_rank, &pcs); in check_populated_dimms()
383 struct peci_device *peci_dev = to_peci_device(dev->parent); in peci_dimmtemp_probe() local
392 peci_dev->info.socket_id); in peci_dimmtemp_probe()
397 priv->peci_dev = peci_dev; in peci_dimmtemp_probe()
405 if (peci_dev->info.peci_revision < priv->gen_info->min_peci_revision) in peci_dimmtemp_probe()
408 peci_dev->info.peci_revision); in peci_dimmtemp_probe()
445 ret = peci_pci_local_read(priv->peci_dev, 1, dev, func, reg, data); in read_thresholds_hsx()
469 ret = peci_pci_local_read(priv->peci_dev, 2, dev, func, reg, data); in read_thresholds_bdxd()
[all …]
H A Dcputemp.c56 struct peci_device *peci_dev; member
96 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_TEMP_TARGET, 0, &pcs); in update_temp_target()
188 ret = peci_temp_read(priv->peci_dev, &temp); in get_die_temp()
223 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_THERMAL_MARGIN, 0, &pcs); in get_dts()
261 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_MODULE_TEMP, core_index, &pcs); in get_core_temp()
356 struct peci_device *peci_dev = priv->peci_dev; in init_core_mask() local
363 switch (peci_dev->info.x86_vfm) { in init_core_mask()
367 ret = peci_ep_pci_local_read(peci_dev, 0, reg->bus, reg->dev, in init_core_mask()
374 ret = peci_ep_pci_local_read(peci_dev, 0, reg->bus, reg->dev, in init_core_mask()
383 ret = peci_pci_local_read(peci_dev, reg->bus, reg->dev, in init_core_mask()
[all …]