drivers/crypto/ccp/sfs.h

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

File Facts

System
Linux kernel
Corpus path
drivers/crypto/ccp/sfs.h
Extension
.h
Size
963 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 sfs_misc_dev {
	struct kref refcount;
	struct miscdevice misc;
};

struct sfs_command {
	struct psp_ext_req_buffer_hdr hdr;
	u8 buf[PAGE_SIZE - sizeof(struct psp_ext_req_buffer_hdr)];
	u8 sfs_buffer[];
} __packed;

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

	struct page *page;
	struct sfs_command *command_buf;

	struct sfs_misc_dev *misc;
};

void sfs_dev_destroy(struct psp_device *psp);
int sfs_dev_init(struct psp_device *psp);

#endif /* __SFS_H__ */

Annotation

Implementation Notes