linux/drivers/media/pci/solo6x10/solo6x10-eeprom.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com>
 *
 * Original author:
 * Ben Collins <[email protected]>
 *
 * Additional work by:
 * John Brooks <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/delay.h>

#include "solo6x10.h"

/* Control */
#define EE_SHIFT_CLK
#define EE_CS
#define EE_DATA_WRITE
#define EE_DATA_READ
#define EE_ENB

#define eeprom_delay()
#if 0
#define eeprom_delay
#define eeprom_delay
#endif
#define ADDR_LEN

/* Commands */
#define EE_EWEN_CMD
#define EE_EWDS_CMD
#define EE_WRITE_CMD
#define EE_READ_CMD
#define EE_ERASE_CMD

static unsigned int solo_eeprom_reg_read(struct solo_dev *solo_dev)
{}

static void solo_eeprom_reg_write(struct solo_dev *solo_dev, u32 data)
{}

static void solo_eeprom_cmd(struct solo_dev *solo_dev, int cmd)
{}

unsigned int solo_eeprom_ewen(struct solo_dev *solo_dev, int w_en)
{}

__be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc)
{}

int solo_eeprom_write(struct solo_dev *solo_dev, int loc,
		      __be16 data)
{}