Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 1 | #ifndef LINUX_WLAN_SPI_H |
2 | #define LINUX_WLAN_SPI_H | ||||
3 | |||||
4 | #include <linux/spi/spi.h> | ||||
5 | extern struct spi_device *wilc_spi_dev; | ||||
6 | extern struct spi_driver wilc_bus; | ||||
7 | |||||
8 | int linux_spi_init(void *vp); | ||||
9 | void linux_spi_deinit(void *vp); | ||||
10 | int linux_spi_write(uint8_t *b, uint32_t len); | ||||
11 | int linux_spi_read(uint8_t *rb, uint32_t rlen); | ||||
12 | int linux_spi_write_read(unsigned char *wb, unsigned char *rb, unsigned int rlen); | ||||
13 | int linux_spi_set_max_speed(void); | ||||
14 | #endif |