drivers/gpu/drm/loongson/lsdc_i2c.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/loongson/lsdc_i2c.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/loongson/lsdc_i2c.h
Extension
.h
Size
556 bytes
Lines
30
Domain
Driver Families
Bucket
drivers/gpu
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 lsdc_i2c {
	struct i2c_adapter adapter;
	struct i2c_algo_bit_data bit;
	struct drm_device *ddev;
	void __iomem *dir_reg;
	void __iomem *dat_reg;
	/* pin bit mask */
	u8 sda;
	u8 scl;
};

struct lsdc_display_pipe;

int lsdc_create_i2c_chan(struct drm_device *ddev,
			 struct lsdc_display_pipe *dispipe,
			 unsigned int index);

#endif

Annotation

Implementation Notes