|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/init.h>#include <linux/platform_device.h>#include <linux/gpio.h>#include <linux/of_device.h>#include <linux/of_gpio.h>#include <linux/spi/spi.h>#include <linux/spi/spi_bitbang.h>#include <linux/spi/spi_gpio.h>#include "spi-bitbang-txrx.h"Go to the source code of this file.
Data Structures | |
| struct | spi_gpio |
Macros | |
| #define | DRIVER_NAME "spi_gpio" |
| #define | GENERIC_BITBANG /* vs tight inlines */ |
| #define | SPI_MISO_GPIO ((pdata)->miso) |
| #define | SPI_MOSI_GPIO ((pdata)->mosi) |
| #define | SPI_SCK_GPIO ((pdata)->sck) |
| #define | SPI_N_CHIPSEL ((pdata)->num_chipselect) |
| #define | pdata spi_to_pdata(spi) |
| #define | spidelay(nsecs) do {} while (0) |
Functions | |
| MODULE_ALIAS ("platform:"DRIVER_NAME) | |
| module_platform_driver (spi_gpio_driver) | |
| MODULE_DESCRIPTION ("SPI master driver using generic bitbanged GPIO ") | |
| MODULE_AUTHOR ("David Brownell") | |
| MODULE_LICENSE ("GPL") | |
| #define DRIVER_NAME "spi_gpio" |
Definition at line 80 of file spi-gpio.c.
| #define GENERIC_BITBANG /* vs tight inlines */ |
Definition at line 82 of file spi-gpio.c.
| #define pdata spi_to_pdata(spi) |
Definition at line 113 of file spi-gpio.c.
| #define SPI_MISO_GPIO ((pdata)->miso) |
Definition at line 85 of file spi-gpio.c.
| #define SPI_MOSI_GPIO ((pdata)->mosi) |
Definition at line 86 of file spi-gpio.c.
| #define SPI_N_CHIPSEL ((pdata)->num_chipselect) |
Definition at line 89 of file spi-gpio.c.
| #define SPI_SCK_GPIO ((pdata)->sck) |
Definition at line 87 of file spi-gpio.c.
| #define spidelay | ( | nsecs | ) | do {} while (0) |
Definition at line 138 of file spi-gpio.c.
| MODULE_ALIAS | ( | "platform:" | DRIVER_NAME | ) |
| MODULE_AUTHOR | ( | "David Brownell" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | spi_gpio_driver | ) |
1.8.2