Home | History | Annotate | Download | only in common
      1 /* SPDX-License-Identifier: GPL-2.0+ */
      2 /*
      3  * Copyright (C) 2013 Simon Guinot <simon.guinot (at) sequanux.org>
      4  */
      5 
      6 #ifndef _LACIE_CPLD_GPI0_BUS_H
      7 #define _LACIE_CPLD_GPI0_BUS_H
      8 
      9 struct cpld_gpio_bus {
     10 	unsigned *addr;
     11 	unsigned num_addr;
     12 	unsigned *data;
     13 	unsigned num_data;
     14 	unsigned enable;
     15 };
     16 
     17 void cpld_gpio_bus_write(struct cpld_gpio_bus *cpld_gpio_bus,
     18 			 unsigned addr, unsigned value);
     19 
     20 #endif /* _LACIE_CPLD_GPI0_BUS_H */
     21