linux/drivers/media/platform/ti/am437x/am437x-vpfe.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2013 - 2014 Texas Instruments, Inc.
 *
 * Benoit Parrot <[email protected]>
 * Lad, Prabhakar <[email protected]>
 */

#ifndef AM437X_VPFE_H
#define AM437X_VPFE_H

#include <linux/am437x-vpfe.h>
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>

#include <media/v4l2-dev.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-v4l2.h>
#include <media/videobuf2-dma-contig.h>

#include "am437x-vpfe_regs.h"

enum vpfe_pin_pol {};

enum vpfe_hw_if_type {};

/* interface description */
struct vpfe_hw_if_param {};

#define VPFE_MAX_SUBDEV
#define VPFE_MAX_INPUTS

struct vpfe_std_info {};

struct vpfe_route {};

struct vpfe_subdev_info {};

struct vpfe_config {};

struct vpfe_cap_buffer {};

enum ccdc_pixfmt {};

enum ccdc_frmfmt {};

/* PIXEL ORDER IN MEMORY from LSB to MSB */
/* only applicable for 8-bit input mode  */
enum ccdc_pixorder {};

enum ccdc_buftype {};


/* returns the highest bit used for the gamma */
static inline u8 ccdc_gamma_width_max_bit(enum vpfe_ccdc_gamma_width width)
{}

/* returns the highest bit used for this data size */
static inline u8 ccdc_data_size_max_bit(enum vpfe_ccdc_data_size sz)
{}

/* Structure for CCDC configuration parameters for raw capture mode */
struct ccdc_params_raw {};

struct ccdc_params_ycbcr {};

/*
 * CCDC operational configuration
 */
struct ccdc_config {};

struct vpfe_ccdc {};

/*
 * struct vpfe_fmt - VPFE media bus format information
 * fourcc: V4L2 pixel format code
 * code: V4L2 media bus format code
 * bitsperpixel: Bits per pixel over the bus
 */
struct vpfe_fmt {};

/*
 * When formats[] is modified make sure to adjust this value also.
 * Expect compile time warnings if VPFE_NUM_FORMATS is smaller then
 * the number of elements in formats[].
 */
#define VPFE_NUM_FORMATS

struct vpfe_device {};

#endif	/* AM437X_VPFE_H */