drivers/base/firmware_loader/sysfs_upload.h

Source file repositories/reference/linux-study-clean/drivers/base/firmware_loader/sysfs_upload.h

File Facts

System
Linux kernel
Corpus path
drivers/base/firmware_loader/sysfs_upload.h
Extension
.h
Size
1314 bytes
Lines
42
Domain
Driver Families
Bucket
drivers/base
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 fw_upload_priv {
	struct fw_upload *fw_upload;
	struct module *module;
	const char *name;
	const struct fw_upload_ops *ops;
	struct mutex lock;		  /* protect data structure contents */
	struct work_struct work;
	const u8 *data;			  /* pointer to update data */
	u32 remaining_size;		  /* size remaining to transfer */
	enum fw_upload_prog progress;
	enum fw_upload_prog err_progress; /* progress at time of failure */
	enum fw_upload_err err_code;	  /* security manager error code */
};

#endif /* __SYSFS_UPLOAD_H */

Annotation

Implementation Notes