#ifndef _SUN6I_CSI_BRIDGE_H_
#define _SUN6I_CSI_BRIDGE_H_
#include <media/v4l2-device.h>
#include <media/v4l2-fwnode.h>
#define SUN6I_CSI_BRIDGE_NAME …
enum sun6i_csi_bridge_pad { … };
struct sun6i_csi_device;
struct sun6i_csi_bridge_format { … };
struct sun6i_csi_bridge_source { … };
struct sun6i_csi_bridge_async_subdev { … };
struct sun6i_csi_bridge { … };
void sun6i_csi_bridge_dimensions(struct sun6i_csi_device *csi_dev,
unsigned int *width, unsigned int *height);
void sun6i_csi_bridge_format(struct sun6i_csi_device *csi_dev,
u32 *mbus_code, u32 *field);
const struct sun6i_csi_bridge_format *
sun6i_csi_bridge_format_find(u32 mbus_code);
int sun6i_csi_bridge_setup(struct sun6i_csi_device *csi_dev);
void sun6i_csi_bridge_cleanup(struct sun6i_csi_device *csi_dev);
#endif