• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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(u8 *b, u32 len);
11 int linux_spi_read(u8 *rb, u32 rlen);
12 int linux_spi_write_read(u8 *wb, u8 *rb, u32 rlen);
13 int linux_spi_set_max_speed(void);
14 #endif
15