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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Register interface file for Samsung Camera Interface (FIMC) driver
 *
 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd.
 * Sylwester Nawrocki <[email protected]>
*/

#include <linux/delay.h>
#include <linux/io.h>
#include <linux/regmap.h>

#include <media/drv-intf/exynos-fimc.h>
#include "media-dev.h"

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

void fimc_hw_reset(struct fimc_dev *dev)
{}

static u32 fimc_hw_get_in_flip(struct fimc_ctx *ctx)
{}

static u32 fimc_hw_get_target_flip(struct fimc_ctx *ctx)
{}

void fimc_hw_set_rotation(struct fimc_ctx *ctx)
{}

void fimc_hw_set_target_format(struct fimc_ctx *ctx)
{}

static void fimc_hw_set_out_dma_size(struct fimc_ctx *ctx)
{}

void fimc_hw_set_out_dma(struct fimc_ctx *ctx)
{}

static void fimc_hw_en_autoload(struct fimc_dev *dev, int enable)
{}

void fimc_hw_en_lastirq(struct fimc_dev *dev, int enable)
{}

void fimc_hw_set_prescaler(struct fimc_ctx *ctx)
{}

static void fimc_hw_set_scaler(struct fimc_ctx *ctx)
{}

void fimc_hw_set_mainscaler(struct fimc_ctx *ctx)
{}

void fimc_hw_enable_capture(struct fimc_ctx *ctx)
{}

void fimc_hw_disable_capture(struct fimc_dev *dev)
{}

void fimc_hw_set_effect(struct fimc_ctx *ctx)
{}

void fimc_hw_set_rgb_alpha(struct fimc_ctx *ctx)
{}

static void fimc_hw_set_in_dma_size(struct fimc_ctx *ctx)
{}

void fimc_hw_set_in_dma(struct fimc_ctx *ctx)
{}


void fimc_hw_set_input_path(struct fimc_ctx *ctx)
{}

void fimc_hw_set_output_path(struct fimc_ctx *ctx)
{}

void fimc_hw_set_input_addr(struct fimc_dev *dev, const struct fimc_addr *addr)
{}

void fimc_hw_set_output_addr(struct fimc_dev *dev,
			     const struct fimc_addr *addr, int index)
{}

int fimc_hw_set_camera_polarity(struct fimc_dev *fimc,
				const struct fimc_source_info *cam)
{}

struct mbus_pixfmt_desc {};

static const struct mbus_pixfmt_desc pix_desc[] =;

int fimc_hw_set_camera_source(struct fimc_dev *fimc,
			      struct fimc_source_info *source)
{}

void fimc_hw_set_camera_offset(struct fimc_dev *fimc, const struct fimc_frame *f)
{}

int fimc_hw_set_camera_type(struct fimc_dev *fimc,
			    const struct fimc_source_info *source)
{}

void fimc_hw_clear_irq(struct fimc_dev *dev)
{}

void fimc_hw_enable_scaler(struct fimc_dev *dev, bool on)
{}

void fimc_hw_activate_input_dma(struct fimc_dev *dev, bool on)
{}

/* Return an index to the buffer actually being written. */
s32 fimc_hw_get_frame_index(struct fimc_dev *dev)
{}

/* Return an index to the buffer being written previously. */
s32 fimc_hw_get_prev_frame_index(struct fimc_dev *dev)
{}

/* Locking: the caller holds fimc->slock */
void fimc_activate_capture(struct fimc_ctx *ctx)
{}

void fimc_deactivate_capture(struct fimc_dev *fimc)
{}

int fimc_hw_camblk_cfg_writeback(struct fimc_dev *fimc)
{}