• Home
  • Raw
  • Download

Lines Matching +full:tx +full:- +full:device

1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2018-2021 Intel Corporation */
7 #include <linux/device.h>
21 * struct peci_controller_ops - PECI controller specific methods
24 * PECI controllers may have different hardware interfaces - the drivers
33 * struct peci_controller - PECI controller
34 * @dev: device object to register PECI controller to the device model
35 * @ops: pointer to device specific controller operations
39 * PECI controllers usually connect to their drivers using non-PECI bus,
44 struct device dev;
50 struct peci_controller *devm_peci_controller_add(struct device *parent,
59 * struct peci_device - PECI device
60 * @dev: device object to register PECI device to the device model
61 * @controller: manages the bus segment hosting this PECI device
62 * @info: PECI device characteristics
63 * @info.family: device family
64 * @info.model: device model
65 * @info.peci_revision: PECI revision supported by the PECI device
66 * @info.socket_id: the socket ID represented by the PECI device
68 * @deleted: indicates that PECI device was already deleted
70 * A peci_device identifies a single device (i.e. CPU) connected to a PECI bus.
72 * managing the device.
75 struct device dev;
86 static inline struct peci_device *to_peci_device(struct device *d) in to_peci_device()
92 * struct peci_request - PECI request
93 * @device: PECI device to which the request is sent
94 * @tx: TX buffer specific data
95 * @tx.buf: TX buffer
96 * @tx.len: transfer data length in bytes
101 * A peci_request represents a request issued by PECI originator (TX) and
105 struct peci_device *device; member
109 } rx, tx; member