include/drm/intel/i915_gsc_proxy_mei_interface.h

Source file repositories/reference/linux-study-clean/include/drm/intel/i915_gsc_proxy_mei_interface.h

File Facts

System
Linux kernel
Corpus path
include/drm/intel/i915_gsc_proxy_mei_interface.h
Extension
.h
Size
1556 bytes
Lines
54
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

struct i915_gsc_proxy_component_ops {
	struct module *owner;

	/**
	 * @send: Sends a proxy message to ME FW.
	 * @dev: device struct corresponding to the mei device
	 * @buf: message buffer to send
	 * @size: size of the message
	 * Return: bytes sent on success, negative errno value on failure
	 */
	int (*send)(struct device *dev, const void *buf, size_t size);

	/**
	 * @recv: Receives a proxy message from ME FW.
	 * @dev: device struct corresponding to the mei device
	 * @buf: message buffer to contain the received message
	 * @size: size of the buffer
	 * Return: bytes received on success, negative errno value on failure
	 */
	int (*recv)(struct device *dev, void *buf, size_t size);
};

/**
 * struct i915_gsc_proxy_component - Used for communication between i915 and
 * MEI drivers for GSC proxy services
 * @mei_dev: device that provide the GSC proxy service.
 * @ops: Ops implemented by GSC proxy driver, used by i915 driver.
 */
struct i915_gsc_proxy_component {
	struct device *mei_dev;
	const struct i915_gsc_proxy_component_ops *ops;
};

#endif /* _I915_GSC_PROXY_MEI_INTERFACE_H_ */

Annotation

Implementation Notes