]> asedeno.scripts.mit.edu Git - linux.git/blob - arch/mips/lasat/at93c.h
Merge tag 'staging-5.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux.git] / arch / mips / lasat / at93c.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Atmel AT93C46 serial eeprom driver
4  *
5  * Brian Murphy <brian.murphy@eicon.com>
6  *
7  */
8
9 extern struct at93c_defs {
10         volatile u32 *reg;
11         volatile u32 *rdata_reg;
12         int rdata_shift;
13         int wdata_shift;
14         u32 cs;
15         u32 clk;
16 } *at93c;
17
18 u8 at93c_read(u8 addr);
19 void at93c_write(u8 addr, u8 data);