blob: 3dfac0b5acafd65c22a7c1aaabfee7fc71097ad5 [file] [log] [blame]
Simon Guinotd5cc3f52013-06-18 15:14:49 +02001/*
2 * Copyright (C) 2013 Simon Guinot <simon.guinot@sequanux.org>
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Simon Guinotd5cc3f52013-06-18 15:14:49 +02005 */
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 */