linux/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2021-2022 Bootlin
 * Author: Paul Kocialkowski <[email protected]>
 */

#ifndef _SUN6I_ISP_PROC_H_
#define _SUN6I_ISP_PROC_H_

#include <media/v4l2-device.h>
#include <media/v4l2-fwnode.h>

#define SUN6I_ISP_PROC_NAME

enum sun6i_isp_proc_pad {};

struct sun6i_isp_device;

struct sun6i_isp_proc_format {};

struct sun6i_isp_proc_source {};

struct sun6i_isp_proc_async_subdev {};

struct sun6i_isp_proc {};

/* Helpers */

void sun6i_isp_proc_dimensions(struct sun6i_isp_device *isp_dev,
			       unsigned int *width, unsigned int *height);

/* Format */

const struct sun6i_isp_proc_format *sun6i_isp_proc_format_find(u32 mbus_code);

/* Proc */

int sun6i_isp_proc_setup(struct sun6i_isp_device *isp_dev);
void sun6i_isp_proc_cleanup(struct sun6i_isp_device *isp_dev);

#endif