drivers/media/platform/qcom/iris/iris_platform_sc7280.h

Source file repositories/reference/linux-study-clean/drivers/media/platform/qcom/iris/iris_platform_sc7280.h

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/qcom/iris/iris_platform_sc7280.h
Extension
.h
Size
826 bytes
Lines
32
Domain
Driver Families
Bucket
drivers/media
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 __IRIS_PLATFORM_SC7280_H__
#define __IRIS_PLATFORM_SC7280_H__

static const struct bw_info sc7280_bw_table_dec[] = {
	{ ((3840 * 2160) / 256) * 60, 1896000, },
	{ ((3840 * 2160) / 256) * 30,  968000, },
	{ ((1920 * 1080) / 256) * 60,  618000, },
	{ ((1920 * 1080) / 256) * 30,  318000, },
};

static const char * const sc7280_opp_pd_table[] = { "cx" };

static const struct platform_clk_data sc7280_clk_table[] = {
	{IRIS_CTRL_CLK,    "core"         },
	{IRIS_AXI_CLK,     "iface"        },
	{IRIS_AHB_CLK,     "bus"          },
	{IRIS_HW_CLK,      "vcodec_core"  },
	{IRIS_HW_AHB_CLK,  "vcodec_bus"   },
};

static const char * const sc7280_opp_clk_table[] = {
	"vcodec_core",
	NULL,
};

#endif

Annotation

Implementation Notes