drivers/crypto/ccp/dbc.h

Source file repositories/reference/linux-study-clean/drivers/crypto/ccp/dbc.h

File Facts

System
Linux kernel
Corpus path
drivers/crypto/ccp/dbc.h
Extension
.h
Size
906 bytes
Lines
48
Domain
Driver Families
Bucket
drivers/crypto
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

struct psp_dbc_device {
	struct device *dev;
	struct psp_device *psp;

	union dbc_buffer *mbox;

	struct mutex ioctl_mutex;

	struct miscdevice char_dev;

	/* used to abstract communication path */
	bool	use_ext;
	u32	header_size;
	u32	*payload_size;
	u32	*result;
	void	*payload;
};

union dbc_buffer {
	struct psp_request		pa_req;
	struct psp_ext_request		ext_req;
};

void dbc_dev_destroy(struct psp_device *psp);
int dbc_dev_init(struct psp_device *psp);

#endif /* __DBC_H */

Annotation

Implementation Notes