drivers/gpu/drm/omapdrm/dss/hdmi4_cec.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/omapdrm/dss/hdmi4_cec.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/omapdrm/dss/hdmi4_cec.h
Extension
.h
Size
1017 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 _HDMI4_CEC_H_
#define _HDMI4_CEC_H_

struct hdmi_core_data;
struct hdmi_wp_data;
struct platform_device;

/* HDMI CEC funcs */
#ifdef CONFIG_OMAP4_DSS_HDMI_CEC
void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa);
void hdmi4_cec_irq(struct hdmi_core_data *core);
int hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core,
		  struct hdmi_wp_data *wp);
void hdmi4_cec_uninit(struct hdmi_core_data *core);
#else
static inline void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa)
{
}

static inline void hdmi4_cec_irq(struct hdmi_core_data *core)
{
}

static inline int hdmi4_cec_init(struct platform_device *pdev,
				struct hdmi_core_data *core,
				struct hdmi_wp_data *wp)
{
	return 0;
}

static inline void hdmi4_cec_uninit(struct hdmi_core_data *core)
{
}
#endif

#endif

Annotation

Implementation Notes