linux/drivers/media/v4l2-core/v4l2-cci.c

// SPDX-License-Identifier: GPL-2.0
/*
 * MIPI Camera Control Interface (CCI) register access helpers.
 *
 * Copyright (C) 2023 Hans de Goede <[email protected]>
 */

#include <linux/bitfield.h>
#include <linux/delay.h>
#include <linux/dev_printk.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/types.h>

#include <asm/unaligned.h>

#include <media/v4l2-cci.h>

int cci_read(struct regmap *map, u32 reg, u64 *val, int *err)
{}
EXPORT_SYMBOL_GPL();

int cci_write(struct regmap *map, u32 reg, u64 val, int *err)
{}
EXPORT_SYMBOL_GPL();

int cci_update_bits(struct regmap *map, u32 reg, u64 mask, u64 val, int *err)
{}
EXPORT_SYMBOL_GPL();

int cci_multi_reg_write(struct regmap *map, const struct cci_reg_sequence *regs,
			unsigned int num_regs, int *err)
{}
EXPORT_SYMBOL_GPL();

#if IS_ENABLED(CONFIG_V4L2_CCI_I2C)
struct regmap *devm_cci_regmap_init_i2c(struct i2c_client *client,
					int reg_addr_bits)
{}
EXPORT_SYMBOL_GPL();
#endif

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();