root/arch/mips/lasat/at93c.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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);

/* [<][>][^][v][top][bottom][index][help] */