linux/drivers/media/platform/samsung/exynos4-is/fimc-lite-reg.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Register interface file for EXYNOS FIMC-LITE (camera interface) driver
 *
 * Copyright (C) 2012 Samsung Electronics Co., Ltd.
 * Author: Sylwester Nawrocki <[email protected]>
*/

#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <media/drv-intf/exynos-fimc.h>

#include "fimc-lite-reg.h"
#include "fimc-lite.h"
#include "fimc-core.h"

#define FLITE_RESET_TIMEOUT

void flite_hw_reset(struct fimc_lite *dev)
{}

void flite_hw_clear_pending_irq(struct fimc_lite *dev)
{}

u32 flite_hw_get_interrupt_source(struct fimc_lite *dev)
{}

void flite_hw_clear_last_capture_end(struct fimc_lite *dev)
{}

void flite_hw_set_interrupt_mask(struct fimc_lite *dev)
{}

void flite_hw_capture_start(struct fimc_lite *dev)
{}

void flite_hw_capture_stop(struct fimc_lite *dev)
{}

/*
 * Test pattern (color bars) enable/disable. External sensor
 * pixel clock must be active for the test pattern to work.
 */
void flite_hw_set_test_pattern(struct fimc_lite *dev, bool on)
{}

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

/* Set camera input pixel format and resolution */
void flite_hw_set_source_format(struct fimc_lite *dev, const struct flite_frame *f)
{}

/* Set the camera host input window offsets (cropping) */
void flite_hw_set_window_offset(struct fimc_lite *dev, const struct flite_frame *f)
{}

/* Select camera port (A, B) */
static void flite_hw_set_camera_port(struct fimc_lite *dev, int id)
{}

/* Select serial or parallel bus, camera port (A,B) and set signals polarity */
void flite_hw_set_camera_bus(struct fimc_lite *dev,
			     const struct fimc_source_info *si)
{}

static void flite_hw_set_pack12(struct fimc_lite *dev, int on)
{}

static void flite_hw_set_out_order(struct fimc_lite *dev,
				   const struct flite_frame *f)
{}

void flite_hw_set_dma_window(struct fimc_lite *dev, const struct flite_frame *f)
{}

void flite_hw_set_dma_buffer(struct fimc_lite *dev, struct flite_buffer *buf)
{}

void flite_hw_mask_dma_buffer(struct fimc_lite *dev, u32 index)
{}

/* Enable/disable output DMA, set output pixel size and offsets (composition) */
void flite_hw_set_output_dma(struct fimc_lite *dev, const struct flite_frame *f,
			     bool enable)
{}

void flite_hw_dump_regs(struct fimc_lite *dev, const char *label)
{}