]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/drivers/raw/ifpga/base/opae_at24_eeprom.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / drivers / raw / ifpga / base / opae_at24_eeprom.h
CommitLineData
9f95a23c
TL
1
2/* SPDX-License-Identifier: BSD-3-Clause
3 * Copyright(c) 2010-2019 Intel Corporation
4 */
5
6#define AT24C512_PAGE_SIZE 128
7#define AT24C512_IO_LIMIT 128
8
9#define AT24512_SLAVE_ADDR 0x51
10
11int at24_eeprom_read(struct altera_i2c_dev *dev, unsigned int slave_addr,
12 u32 offset, u8 *buf, int count);
13int at24_eeprom_write(struct altera_i2c_dev *dev, unsigned int slave_addr,
14 u32 offset, u8 *buf, int count);