drivers/cxl/core/pmu.c

Source file repositories/reference/linux-study-clean/drivers/cxl/core/pmu.c

File Facts

System
Linux kernel
Corpus path
drivers/cxl/core/pmu.c
Extension
.c
Size
1323 bytes
Lines
69
Domain
Driver Families
Bucket
drivers/cxl
Inferred role
Driver Families: exported/initcall integration point
Status
integration 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

rc = device_add(dev);
	if (rc)
		goto err;

	return devm_add_action_or_reset(parent, remove_dev, dev);

err:
	put_device(&pmu->dev);
	return rc;
}
EXPORT_SYMBOL_NS_GPL(devm_cxl_pmu_add, "CXL");

Annotation

Implementation Notes