Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/hwspinlock.h>
#include <linux/platform_device.h>
#include "hwspinlock_internal.h"
Go to the source code of this file.
Macros | |
#define | SYSSTATUS_OFFSET 0x0014 |
#define | LOCK_BASE_OFFSET 0x0800 |
#define | SPINLOCK_NUMLOCKS_BIT_OFFSET (24) |
#define | SPINLOCK_NOTTAKEN (0) /* free */ |
#define | SPINLOCK_TAKEN (1) /* locked */ |
Functions | |
postcore_initcall (omap_hwspinlock_init) | |
module_exit (omap_hwspinlock_exit) | |
MODULE_LICENSE ("GPL v2") | |
MODULE_DESCRIPTION ("Hardware spinlock driver for OMAP") | |
MODULE_AUTHOR ("Simon Que <[email protected]>") | |
MODULE_AUTHOR ("Hari Kanigeri <h[email protected]>") | |
MODULE_AUTHOR ("Ohad Ben-Cohen <[email protected]>") | |
#define LOCK_BASE_OFFSET 0x0800 |
Definition at line 36 of file omap_hwspinlock.c.
#define SPINLOCK_NOTTAKEN (0) /* free */ |
Definition at line 41 of file omap_hwspinlock.c.
#define SPINLOCK_NUMLOCKS_BIT_OFFSET (24) |
Definition at line 38 of file omap_hwspinlock.c.
#define SPINLOCK_TAKEN (1) /* locked */ |
Definition at line 42 of file omap_hwspinlock.c.
#define SYSSTATUS_OFFSET 0x0014 |
Definition at line 35 of file omap_hwspinlock.c.
MODULE_AUTHOR | ( | "Simon Que <[email protected]>" | ) |
MODULE_AUTHOR | ( | "Hari Kanigeri <h[email protected]>" | ) |
MODULE_AUTHOR | ( | "Ohad Ben-Cohen <[email protected]>" | ) |
module_exit | ( | omap_hwspinlock_exit | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
postcore_initcall | ( | omap_hwspinlock_init | ) |