drivers/raw: remove rawdev from directory names
[dpdk.git] / drivers / raw / ifpga / base / opae_at24_eeprom.h
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
11 int at24_eeprom_read(struct altera_i2c_dev *dev, unsigned int slave_addr,
12                 u32 offset, u8 *buf, int count);
13 int at24_eeprom_write(struct altera_i2c_dev *dev, unsigned int slave_addr,
14                 u32 offset, u8 *buf, int count);