uboot/board/LaCie/common/cpld-gpio-bus.h
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2013 Simon Guinot <simon.guinot@sequanux.org>
   3 *
   4 * SPDX-License-Identifier:     GPL-2.0+
   5 */
   6
   7#ifndef _LACIE_CPLD_GPI0_BUS_H
   8#define _LACIE_CPLD_GPI0_BUS_H
   9
  10struct cpld_gpio_bus {
  11        unsigned *addr;
  12        unsigned num_addr;
  13        unsigned *data;
  14        unsigned num_data;
  15        unsigned enable;
  16};
  17
  18void cpld_gpio_bus_write(struct cpld_gpio_bus *cpld_gpio_bus,
  19                         unsigned addr, unsigned value);
  20
  21#endif /* _LACIE_CPLD_GPI0_BUS_H */
  22