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

spba.c File Reference

Detailed Description

This file contains the SPBA API implementation details.

Definition in file spba.c.

#include <linux/types.h>
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <mach/spba.h>

Go to the source code of this file.


#define SPBA_MASTER_MAX   7
#define SPBA_MASTER_MIN   1


static DEFINE_SPINLOCK (spba_lock)
 EXPORT_SYMBOL (spba_rel_ownership)
 EXPORT_SYMBOL (spba_take_ownership)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
int spba_rel_ownership (int mod, int master)
int spba_take_ownership (int mod, int master)


static unsigned long spba_base = (unsigned long)IO_ADDRESS(SPBA_CTRL_BASE_ADDR)
static struct clk * spba_clk

Generated by  Doxygen 1.6.0   Back to index