Home
last modified time | relevance | path

Searched refs:peci_device (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/peci/
Dinternal.h12 struct peci_device;
19 struct peci_request *peci_request_alloc(struct peci_device *device, u8 tx_len, u8 rx_len);
32 struct peci_request *peci_xfer_get_dib(struct peci_device *device);
33 struct peci_request *peci_xfer_get_temp(struct peci_device *device);
35 struct peci_request *peci_xfer_pkg_cfg_readb(struct peci_device *device, u8 index, u16 param);
36 struct peci_request *peci_xfer_pkg_cfg_readw(struct peci_device *device, u8 index, u16 param);
37 struct peci_request *peci_xfer_pkg_cfg_readl(struct peci_device *device, u8 index, u16 param);
38 struct peci_request *peci_xfer_pkg_cfg_readq(struct peci_device *device, u8 index, u16 param);
40 struct peci_request *peci_xfer_pci_cfg_local_readb(struct peci_device *device,
42 struct peci_request *peci_xfer_pci_cfg_local_readw(struct peci_device *device,
[all …]
Ddevice.c19 static int peci_get_revision(struct peci_device *device, u8 *revision) in peci_get_revision()
47 static int peci_get_cpu_id(struct peci_device *device, u32 *cpu_id) in peci_get_cpu_id()
93 static int peci_device_info_init(struct peci_device *device) in peci_device_info_init()
140 struct peci_device *device = to_peci_device(dev); in peci_dev_exists()
151 struct peci_device *device; in peci_device_create()
205 void peci_device_destroy(struct peci_device *device) in peci_device_destroy()
244 struct peci_device *device = to_peci_device(dev); in peci_device_release()
Drequest.c135 struct peci_device *device = req->device; in peci_request_xfer()
149 struct peci_device *device = req->device; in peci_request_xfer_retry()
190 struct peci_request *peci_request_alloc(struct peci_device *device, u8 tx_len, u8 rx_len) in peci_request_alloc()
228 struct peci_request *peci_xfer_get_dib(struct peci_device *device) in peci_xfer_get_dib()
249 struct peci_request *peci_xfer_get_temp(struct peci_device *device) in peci_xfer_get_temp()
271 __pkg_cfg_read(struct peci_device *device, u8 index, u16 param, u8 len) in __pkg_cfg_read()
300 __pci_cfg_local_read(struct peci_device *device, u8 bus, u8 dev, u8 func, u16 reg, u8 len) in __pci_cfg_local_read()
327 __ep_pci_cfg_read(struct peci_device *device, u8 msg_type, u8 seg, in __ep_pci_cfg_read()
361 __ep_mmio_read(struct peci_device *device, u8 bar, u8 addr_type, u8 seg, in __ep_mmio_read()
433 struct peci_request *peci_xfer_pkg_cfg_##x(struct peci_device *device, u8 index, u16 param) \
[all …]
Dcpu.c21 int peci_temp_read(struct peci_device *device, s16 *temp_raw) in peci_temp_read()
48 int peci_pcs_read(struct peci_device *device, u8 index, u16 param, u32 *data) in peci_pcs_read()
82 int peci_pci_local_read(struct peci_device *device, u8 bus, u8 dev, u8 func, in peci_pci_local_read()
118 int peci_ep_pci_local_read(struct peci_device *device, u8 seg, in peci_ep_pci_local_read()
155 int peci_mmio_read(struct peci_device *device, u8 bar, u8 seg, in peci_mmio_read()
183 struct peci_device *device;
277 peci_cpu_probe(struct peci_device *device, const struct peci_device_id *id) in peci_cpu_probe()
Dcore.c164 peci_bus_match_device_id(const struct peci_device_id *id, struct peci_device *device) in peci_bus_match_device_id()
178 struct peci_device *device = to_peci_device(dev); in peci_bus_device_match()
189 struct peci_device *device = to_peci_device(dev); in peci_bus_device_probe()
197 struct peci_device *device = to_peci_device(dev); in peci_bus_device_remove()
Dsysfs.c55 struct peci_device *device = to_peci_device(dev); in remove_store()
/linux-6.1.9/include/linux/
Dpeci-cpu.h24 struct peci_device;
26 int peci_temp_read(struct peci_device *device, s16 *temp_raw);
28 int peci_pcs_read(struct peci_device *device, u8 index,
31 int peci_pci_local_read(struct peci_device *device, u8 bus, u8 dev,
34 int peci_ep_pci_local_read(struct peci_device *device, u8 seg,
37 int peci_mmio_read(struct peci_device *device, u8 bar, u8 seg,
Dpeci.h74 struct peci_device { struct
86 static inline struct peci_device *to_peci_device(struct device *d) in to_peci_device() argument
88 return container_of(d, struct peci_device, dev); in to_peci_device()
105 struct peci_device *device;
/linux-6.1.9/drivers/hwmon/peci/
Dcputemp.c56 struct peci_device *peci_dev;
356 struct peci_device *peci_dev = priv->peci_dev; in init_core_mask()
479 struct peci_device *peci_dev = to_peci_device(dev->parent); in peci_cputemp_probe()
Ddimmtemp.c72 struct peci_device *peci_dev;
377 struct peci_device *peci_dev = to_peci_device(dev->parent); in peci_dimmtemp_probe()