Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/ratelimit.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/io.h>
Go to the source code of this file.
Data Structures | |
struct | tegra20_mc |
Macros | |
#define | DRV_NAME "tegra20-mc" |
#define | MC_INTSTATUS 0x0 |
#define | MC_INTMASK 0x4 |
#define | MC_INT_ERR_SHIFT 6 |
#define | MC_INT_ERR_MASK (0x1f << MC_INT_ERR_SHIFT) |
#define | MC_INT_DECERR_EMEM BIT(MC_INT_ERR_SHIFT) |
#define | MC_INT_INVALID_GART_PAGE BIT(MC_INT_ERR_SHIFT + 1) |
#define | MC_INT_SECURITY_VIOLATION BIT(MC_INT_ERR_SHIFT + 2) |
#define | MC_INT_ARBITRATION_EMEM BIT(MC_INT_ERR_SHIFT + 3) |
#define | MC_GART_ERROR_REQ 0x30 |
#define | MC_DECERR_EMEM_OTHERS_STATUS 0x58 |
#define | MC_SECURITY_VIOLATION_STATUS 0x74 |
#define | SECURITY_VIOLATION_TYPE BIT(30) /* 0=TRUSTZONE, 1=CARVEOUT */ |
#define | MC_CLIENT_ID_MASK 0x3f |
#define | NUM_MC_REG_BANKS 2 |
Functions | |
module_platform_driver (tegra20_mc_driver) | |
MODULE_AUTHOR ("Hiroshi DOYU <[email protected]>") | |
MODULE_DESCRIPTION ("Tegra20 MC driver") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_ALIAS ("platform:"DRV_NAME) | |
#define DRV_NAME "tegra20-mc" |
Definition at line 27 of file tegra20-mc.c.
#define MC_CLIENT_ID_MASK 0x3f |
Definition at line 45 of file tegra20-mc.c.
#define MC_DECERR_EMEM_OTHERS_STATUS 0x58 |
Definition at line 40 of file tegra20-mc.c.
#define MC_GART_ERROR_REQ 0x30 |
Definition at line 39 of file tegra20-mc.c.
#define MC_INT_ARBITRATION_EMEM BIT(MC_INT_ERR_SHIFT + 3) |
Definition at line 37 of file tegra20-mc.c.
#define MC_INT_DECERR_EMEM BIT(MC_INT_ERR_SHIFT) |
Definition at line 34 of file tegra20-mc.c.
#define MC_INT_ERR_MASK (0x1f << MC_INT_ERR_SHIFT) |
Definition at line 33 of file tegra20-mc.c.
#define MC_INT_ERR_SHIFT 6 |
Definition at line 32 of file tegra20-mc.c.
#define MC_INT_INVALID_GART_PAGE BIT(MC_INT_ERR_SHIFT + 1) |
Definition at line 35 of file tegra20-mc.c.
#define MC_INT_SECURITY_VIOLATION BIT(MC_INT_ERR_SHIFT + 2) |
Definition at line 36 of file tegra20-mc.c.
#define MC_INTMASK 0x4 |
Definition at line 30 of file tegra20-mc.c.
#define MC_INTSTATUS 0x0 |
Definition at line 29 of file tegra20-mc.c.
#define MC_SECURITY_VIOLATION_STATUS 0x74 |
Definition at line 41 of file tegra20-mc.c.
#define NUM_MC_REG_BANKS 2 |
Definition at line 47 of file tegra20-mc.c.
#define SECURITY_VIOLATION_TYPE BIT(30) /* 0=TRUSTZONE, 1=CARVEOUT */ |
Definition at line 43 of file tegra20-mc.c.
MODULE_ALIAS | ( | "platform:" | DRV_NAME | ) |
MODULE_AUTHOR | ( | "Hiroshi DOYU <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | tegra20_mc_driver | ) |