From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/char/mux_spi_hal/spi_gpio_ctrl.h | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 drivers/char/mux_spi_hal/spi_gpio_ctrl.h (limited to 'drivers/char/mux_spi_hal/spi_gpio_ctrl.h') 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 +#include +#include +#include +#include + +#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 */ -- cgit v1.3.1