drivers/clk/visconti/reset.h

Source file repositories/reference/linux-study-clean/drivers/clk/visconti/reset.h

File Facts

System
Linux kernel
Corpus path
drivers/clk/visconti/reset.h
Extension
.h
Size
880 bytes
Lines
37
Domain
Driver Families
Bucket
drivers/clk
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 visconti_reset_data {
	u32	rson_offset;
	u32	rsoff_offset;
	u8	rs_idx;
};

struct visconti_reset {
	struct reset_controller_dev rcdev;
	struct regmap *regmap;
	const struct visconti_reset_data *resets;
	spinlock_t *lock;
};

extern const struct reset_control_ops visconti_reset_ops;

int visconti_register_reset_controller(struct device *dev,
				       struct regmap *regmap,
				       const struct visconti_reset_data *resets,
				       unsigned int num_resets,
				       const struct reset_control_ops *reset_ops,
				       spinlock_t *lock);
#endif /* _VISCONTI_RESET_H_ */

Annotation

Implementation Notes