drivers/gpu/drm/tidss/tidss_oldi.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/tidss/tidss_oldi.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/tidss/tidss_oldi.h
Extension
.h
Size
918 bytes
Lines
44
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

#ifndef __TIDSS_OLDI_H__
#define __TIDSS_OLDI_H__

#include "tidss_drv.h"

struct tidss_oldi;

/* OLDI PORTS */
#define OLDI_INPUT_PORT		0
#define OLDI_OUTPUT_PORT	1

/* Control MMR Registers */

/* Register offsets */
#define OLDI_PD_CTRL            0x100
#define OLDI_LB_CTRL            0x104

/* Power control bits */
#define OLDI_PWRDOWN_TX(n)	BIT(n)

/* LVDS Bandgap reference Enable/Disable */
#define OLDI_PWRDN_BG		BIT(8)

enum tidss_oldi_link_type {
	OLDI_MODE_UNSUPPORTED,
	OLDI_MODE_SINGLE_LINK,
	OLDI_MODE_CLONE_SINGLE_LINK,
	OLDI_MODE_SECONDARY_CLONE_SINGLE_LINK,
	OLDI_MODE_DUAL_LINK,
	OLDI_MODE_SECONDARY_DUAL_LINK,
};

int tidss_oldi_init(struct tidss_device *tidss);
void tidss_oldi_deinit(struct tidss_device *tidss);

#endif /* __TIDSS_OLDI_H__ */

Annotation

Implementation Notes