drivers/media/platform/mediatek/mdp3/mdp_cfg_data.c

Source file repositories/reference/linux-study-clean/drivers/media/platform/mediatek/mdp3/mdp_cfg_data.c

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/mediatek/mdp3/mdp_cfg_data.c
Extension
.c
Size
41149 bytes
Lines
1419
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

if (mdp_dev->mdp_data->comp_data[i].match.inner_id == inner_id) {
			public_id = i;
			return public_id;
		}
	}

err_public_id:
	return public_id;
}

bool mdp_cfg_comp_is_dummy(struct mdp_dev *mdp_dev, s32 inner_id)
{
	enum mtk_mdp_comp_id id = mdp_cfg_get_id_public(mdp_dev, inner_id);
	enum mdp_comp_type type = mdp_dev->mdp_data->comp_data[id].match.type;

	return (type == MDP_COMP_TYPE_DUMMY);
}

Annotation

Implementation Notes