FILE
vsp1_iif.h
File preview with syntax highlighting.
linux-6.19.14/drivers/media/platform/renesas/vsp1/vsp1_iif.h
1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * vsp1_iif.h -- R-Car VSP1 IIF (ISP Interface) 4 * 5 * Copyright (C) 2025 Ideas On Board Oy 6 * Copyright (C) 2025 Renesas Corporation 7 */ 8#ifndef __VSP1_IIF_H__ 9#define __VSP1_IIF_H__ 10 11#include <media/v4l2-subdev.h> 12 13#include "vsp1_entity.h" 14 15#define VSPX_IIF_SINK_PAD_IMG 0 16#define VSPX_IIF_SINK_PAD_CONFIG 2 17 18struct vsp1_iif { 19 struct vsp1_entity entity; 20}; 21 22static inline struct vsp1_iif *to_iif(struct v4l2_subdev *subdev) 23{ 24 return container_of(subdev, struct vsp1_iif, entity.subdev); 25} 26 27struct vsp1_iif *vsp1_iif_create(struct vsp1_device *vsp1); 28 29#endif /* __VSP1_IIF_H__ */
~/
Read-only file preview.