Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/fsl_devices.h>
#include <linux/dma-mapping.h>
#include <linux/mm.h>
#include <linux/of_platform.h>
#include <linux/spi/spi.h>
#include <sysdev/fsl_soc.h>
#include "spi-fsl-lib.h"
Go to the source code of this file.
Macros | |
#define | MPC8XXX_SPI_RX_BUF(type) |
#define | MPC8XXX_SPI_TX_BUF(type) |
Functions | |
struct mpc8xxx_spi_probe_info * | to_of_pinfo (struct fsl_spi_platform_data *pdata) |
void | mpc8xxx_spi_work (struct work_struct *work) |
int | mpc8xxx_spi_transfer (struct spi_device *spi, struct spi_message *m) |
void | mpc8xxx_spi_cleanup (struct spi_device *spi) |
const char * | mpc8xxx_spi_strmode (unsigned int flags) |
int | mpc8xxx_spi_probe (struct device *dev, struct resource *mem, unsigned int irq) |
int __devexit | mpc8xxx_spi_remove (struct device *dev) |
int __devinit | of_mpc8xxx_spi_probe (struct platform_device *ofdev) |
#define MPC8XXX_SPI_RX_BUF | ( | type | ) |
Definition at line 30 of file spi-fsl-lib.c.
#define MPC8XXX_SPI_TX_BUF | ( | type | ) |
Definition at line 38 of file spi-fsl-lib.c.
void mpc8xxx_spi_cleanup | ( | struct spi_device * | spi | ) |
Definition at line 100 of file spi-fsl-lib.c.
Definition at line 120 of file spi-fsl-lib.c.
Definition at line 172 of file spi-fsl-lib.c.
Definition at line 105 of file spi-fsl-lib.c.
int mpc8xxx_spi_transfer | ( | struct spi_device * | spi, |
struct spi_message * | m | ||
) |
Definition at line 83 of file spi-fsl-lib.c.
void mpc8xxx_spi_work | ( | struct work_struct * | work | ) |
Definition at line 62 of file spi-fsl-lib.c.
int __devinit of_mpc8xxx_spi_probe | ( | struct platform_device * | ofdev | ) |
Definition at line 192 of file spi-fsl-lib.c.
|
read |
Definition at line 57 of file spi-fsl-lib.c.