drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h

Source file repositories/reference/linux-study-clean/drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h

File Facts

System
Linux kernel
Corpus path
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h
Extension
.h
Size
689 bytes
Lines
30
Domain
Driver Families
Bucket
drivers/hid
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 amd_sfh1_1_ops {
	int (*init)(struct amd_mp2_dev *mp2);
	void (*toggle_hpd)(struct amd_mp2_dev *mp2, bool enable);
};

int amd_sfh1_1_init(struct amd_mp2_dev *mp2);
void amd_sfh_toggle_hpd(struct amd_mp2_dev *mp2, bool enabled);

static const struct amd_sfh1_1_ops __maybe_unused sfh1_1_ops = {
	.init = amd_sfh1_1_init,
	.toggle_hpd = amd_sfh_toggle_hpd,
};

#endif

Annotation

Implementation Notes