diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/char/mux_spi_hal/spi_gpio_ctrl.h | |
Diffstat (limited to 'drivers/char/mux_spi_hal/spi_gpio_ctrl.h')
| -rw-r--r-- | drivers/char/mux_spi_hal/spi_gpio_ctrl.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/char/mux_spi_hal/spi_gpio_ctrl.h b/drivers/char/mux_spi_hal/spi_gpio_ctrl.h new file mode 100644 index 00000000..8bf9d589 --- /dev/null +++ b/drivers/char/mux_spi_hal/spi_gpio_ctrl.h @@ -0,0 +1,40 @@ +/* + * + * + * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + */ +#ifndef __SPI_GPIO_CTRL_H +#define __SPI_GPIO_CTRL_H + +#include <linux/scatterlist.h> +#include <linux/compiler.h> +#include <linux/types.h> +#include <linux/io.h> +#include <linux/bitops.h> + +#include "ipc_spi.h" + +extern int cp2ap_sts(void); + +extern int ap2cp_sts(void); + +extern void ap2cp_enable(void); + +extern void ap2cp_disable(void); + +extern void ap2cp_wakeup(void); + +extern void ap2cp_sleep(void); + +extern int spi_hal_gpio_init(void); + +extern int spi_hal_gpio_irq_init(struct ipc_spi_dev *dev); + +extern void spi_hal_gpio_exit(void); + +#endif /* __SPI_GPIO_CTRL_H */ |
