Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mx37_3stack_cpld.c File Reference


Detailed Description

This file contains the board specific initialization routines.

Definition in file mx37_3stack_cpld.c.

#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h>
#include <mach/gpio.h>
#include "board-mx37_3stack.h"
#include "iomux.h"

Go to the source code of this file.

Functions

 device_initcall (mx37_3ds_cpld_init)
static void expio_ack_irq (u32 irq)
static void expio_mask_irq (u32 irq)
static void expio_unmask_irq (u32 irq)
 EXPORT_SYMBOL (spi_cpld_write)
 EXPORT_SYMBOL (spi_cpld_read)
static int __init mx37_3ds_cpld_init (void)
static int __init mx37_3ds_cpld_probe (struct spi_device *spi)
static int mx37_3ds_cpld_rw (u8 *buf, size_t len)
static int __init mxc_expio_init (void)
static void mxc_expio_irq_handler (u32 irq, struct irq_desc *desc)
int mxc_spi_poll_transfer (struct spi_device *spi, struct spi_transfer *t)
unsigned int spi_cpld_read (unsigned int offset)
unsigned int spi_cpld_write (unsigned int offset, unsigned int reg_val)

Variables

struct spi_device * cpld_spi
static struct irq_chip expio_irq_chip
static struct spi_driver mx37_3ds_cpld_driver


Generated by  Doxygen 1.6.0   Back to index