linux/drivers/media/platform/samsung/s3c-camif/camif-regs.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Samsung s3c24xx/s3c64xx SoC CAMIF driver
 *
 * Copyright (C) 2012 Sylwester Nawrocki <[email protected]>
 * Copyright (C) 2012 Tomasz Figa <[email protected]>
*/
#define pr_fmt(fmt)

#include <linux/delay.h>
#include "camif-regs.h"

#define camif_write(_camif, _off, _val)
#define camif_read(_camif, _off)

void camif_hw_reset(struct camif_dev *camif)
{}

void camif_hw_clear_pending_irq(struct camif_vp *vp)
{}

/*
 * Sets video test pattern (off, color bar, horizontal or vertical gradient).
 * External sensor pixel clock must be active for the test pattern to work.
 */
void camif_hw_set_test_pattern(struct camif_dev *camif, unsigned int pattern)
{}

void camif_hw_set_effect(struct camif_dev *camif, unsigned int effect,
			unsigned int cr, unsigned int cb)
{}

static const u32 src_pixfmt_map[8][2] =;

/* Set camera input pixel format and resolution */
void camif_hw_set_source_format(struct camif_dev *camif)
{}

/* Set the camera host input window offsets (cropping) */
void camif_hw_set_camera_crop(struct camif_dev *camif)
{}

void camif_hw_clear_fifo_overflow(struct camif_vp *vp)
{}

/* Set video bus signals polarity */
void camif_hw_set_camera_bus(struct camif_dev *camif)
{}

void camif_hw_set_output_addr(struct camif_vp *vp,
			      struct camif_addr *paddr, int i)
{}

static void camif_hw_set_out_dma_size(struct camif_vp *vp)
{}

static void camif_get_dma_burst(u32 width, u32 ybpp, u32 *mburst, u32 *rburst)
{}

void camif_hw_set_output_dma(struct camif_vp *vp)
{}

void camif_hw_set_input_path(struct camif_vp *vp)
{}

void camif_hw_set_target_format(struct camif_vp *vp)
{}

void camif_hw_set_flip(struct camif_vp *vp)
{}

static void camif_hw_set_prescaler(struct camif_vp *vp)
{}

static void camif_s3c244x_hw_set_scaler(struct camif_vp *vp)
{}

static void camif_s3c64xx_hw_set_scaler(struct camif_vp *vp)
{}

void camif_hw_set_scaler(struct camif_vp *vp)
{}

void camif_hw_enable_scaler(struct camif_vp *vp, bool on)
{}

void camif_hw_set_lastirq(struct camif_vp *vp, int enable)
{}

void camif_hw_enable_capture(struct camif_vp *vp)
{}

void camif_hw_disable_capture(struct camif_vp *vp)
{}

void camif_hw_dump_regs(struct camif_dev *camif, const char *label)
{}