Lines Matching refs:peci_dev
74 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()
495 ret = peci_pci_local_read(priv->peci_dev, 2, dev, func, reg, data); in read_thresholds_skx()
510 ret = peci_ep_pci_local_read(priv->peci_dev, 0, 13, 0, 2, 0xd4, ®_val); in read_thresholds_icx()
514 ret = peci_ep_pci_local_read(priv->peci_dev, 0, 13, 0, 2, 0xd0, ®_val); in read_thresholds_icx()
531 ret = peci_mmio_read(priv->peci_dev, 0, GET_CPU_SEG(reg_val), GET_CPU_BUS(reg_val), in read_thresholds_icx()
547 ret = peci_ep_pci_local_read(priv->peci_dev, 0, 30, 0, 2, 0xd4, ®_val); in read_thresholds_spr()
551 ret = peci_ep_pci_local_read(priv->peci_dev, 0, 30, 0, 2, 0xd0, ®_val); in read_thresholds_spr()
568 ret = peci_mmio_read(priv->peci_dev, 0, GET_CPU_SEG(reg_val), GET_CPU_BUS(reg_val), in read_thresholds_spr()