Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | GCMP_GCB_OFS 0x0000 /* Global Control Block */ |
#define | GCMP_CLCB_OFS 0x2000 /* Core Local Control Block */ |
#define | GCMP_COCB_OFS 0x4000 /* Core Other Control Block */ |
#define | GCMP_GDB_OFS 0x8000 /* Global Debug Block */ |
#define | GCMPOFS(block, tag, reg) (GCMP_##block##_OFS + GCMP_##tag##_##reg##_OFS) |
#define | GCMPOFSn(block, tag, reg, n) (GCMP_##block##_OFS + GCMP_##tag##_##reg##_OFS(n)) |
#define | GCMPGCBOFS(reg) GCMPOFS(GCB, GCB, reg) |
#define | GCMPGCBOFSn(reg, n) GCMPOFSn(GCB, GCB, reg, n) |
#define | GCMPCLCBOFS(reg) GCMPOFS(CLCB, CCB, reg) |
#define | GCMPCOCBOFS(reg) GCMPOFS(COCB, CCB, reg) |
#define | GCMPGDBOFS(reg) GCMPOFS(GDB, GDB, reg) |
#define | GCMPGCB(reg) REGP(_gcmp_base, GCMPGCBOFS(reg)) |
#define | GCMPGCBn(reg, n) REGP(_gcmp_base, GCMPGCBOFSn(reg, n)) |
#define | GCMPCLCB(reg) REGP(_gcmp_base, GCMPCLCBOFS(reg)) |
#define | GCMPCOCB(reg) REGP(_gcmp_base, GCMPCOCBOFS(reg)) |
#define | GCMPGDB(reg) REGP(_gcmp_base, GCMPGDBOFS(reg)) |
#define | GCMPMSK(block, reg, bits) (MSK(bits)<<GCMP_##block##_##reg##_SHF) |
#define | GCMPGCBMSK(reg, bits) GCMPMSK(GCB, reg, bits) |
#define | GCMPCCBMSK(reg, bits) GCMPMSK(CCB, reg, bits) |
#define | GCMPGDBMSK(reg, bits) GCMPMSK(GDB, reg, bits) |
#define | GCMP_GCB_GC_OFS 0x0000 /* Global Config Register */ |
#define | GCMP_GCB_GC_NUMIOCU_SHF 8 |
#define | GCMP_GCB_GC_NUMIOCU_MSK GCMPGCBMSK(GC_NUMIOCU, 4) |
#define | GCMP_GCB_GC_NUMCORES_SHF 0 |
#define | GCMP_GCB_GC_NUMCORES_MSK GCMPGCBMSK(GC_NUMCORES, 8) |
#define | GCMP_GCB_GCMPB_OFS 0x0008 /* Global GCMP Base */ |
#define | GCMP_GCB_GCMPB_GCMPBASE_SHF 15 |
#define | GCMP_GCB_GCMPB_GCMPBASE_MSK GCMPGCBMSK(GCMPB_GCMPBASE, 17) |
#define | GCMP_GCB_GCMPB_CMDEFTGT_SHF 0 |
#define | GCMP_GCB_GCMPB_CMDEFTGT_MSK GCMPGCBMSK(GCMPB_CMDEFTGT, 2) |
#define | GCMP_GCB_GCMPB_CMDEFTGT_DISABLED 0 |
#define | GCMP_GCB_GCMPB_CMDEFTGT_MEM 1 |
#define | GCMP_GCB_GCMPB_CMDEFTGT_IOCU1 2 |
#define | GCMP_GCB_GCMPB_CMDEFTGT_IOCU2 3 |
#define | GCMP_GCB_CCMC_OFS 0x0010 /* Global CM Control */ |
#define | GCMP_GCB_GCSRAP_OFS 0x0020 /* Global CSR Access Privilege */ |
#define | GCMP_GCB_GCSRAP_CMACCESS_SHF 0 |
#define | GCMP_GCB_GCSRAP_CMACCESS_MSK GCMPGCBMSK(GCSRAP_CMACCESS, 8) |
#define | GCMP_GCB_GCMPREV_OFS 0x0030 /* GCMP Revision Register */ |
#define | GCMP_GCB_GCMEM_OFS 0x0040 /* Global CM Error Mask */ |
#define | GCMP_GCB_GCMEC_OFS 0x0048 /* Global CM Error Cause */ |
#define | GCMP_GCB_GMEC_ERROR_TYPE_SHF 27 |
#define | GCMP_GCB_GMEC_ERROR_TYPE_MSK GCMPGCBMSK(GMEC_ERROR_TYPE, 5) |
#define | GCMP_GCB_GMEC_ERROR_INFO_SHF 0 |
#define | GCMP_GCB_GMEC_ERROR_INFO_MSK GCMPGCBMSK(GMEC_ERROR_INFO, 27) |
#define | GCMP_GCB_GCMEA_OFS 0x0050 /* Global CM Error Address */ |
#define | GCMP_GCB_GCMEO_OFS 0x0058 /* Global CM Error Multiple */ |
#define | GCMP_GCB_GMEO_ERROR_2ND_SHF 0 |
#define | GCMP_GCB_GMEO_ERROR_2ND_MSK GCMPGCBMSK(GMEO_ERROR_2ND, 5) |
#define | GCMP_GCB_GICBA_OFS 0x0080 /* Global Interrupt Controller Base Address */ |
#define | GCMP_GCB_GICBA_BASE_SHF 17 |
#define | GCMP_GCB_GICBA_BASE_MSK GCMPGCBMSK(GICBA_BASE, 15) |
#define | GCMP_GCB_GICBA_EN_SHF 0 |
#define | GCMP_GCB_GICBA_EN_MSK GCMPGCBMSK(GICBA_EN, 1) |
#define | GCMP_GCB_CMxBASE_OFS(n) (0x0090+16*(n)) /* Global Region[0-3] Base Address */ |
#define | GCMP_GCB_CMxBASE_BASE_SHF 16 |
#define | GCMP_GCB_CMxBASE_BASE_MSK GCMPGCBMSK(CMxBASE_BASE, 16) |
#define | GCMP_GCB_CMxMASK_OFS(n) (0x0098+16*(n)) /* Global Region[0-3] Address Mask */ |
#define | GCMP_GCB_CMxMASK_MASK_SHF 16 |
#define | GCMP_GCB_CMxMASK_MASK_MSK GCMPGCBMSK(CMxMASK_MASK, 16) |
#define | GCMP_GCB_CMxMASK_CMREGTGT_SHF 0 |
#define | GCMP_GCB_CMxMASK_CMREGTGT_MSK GCMPGCBMSK(CMxMASK_CMREGTGT, 2) |
#define | GCMP_GCB_CMxMASK_CMREGTGT_MEM 0 |
#define | GCMP_GCB_CMxMASK_CMREGTGT_MEM1 1 |
#define | GCMP_GCB_CMxMASK_CMREGTGT_IOCU1 2 |
#define | GCMP_GCB_CMxMASK_CMREGTGT_IOCU2 3 |
#define | GCMP_CCB_RESETR_OFS 0x0000 /* Reset Release */ |
#define | GCMP_CCB_RESETR_INRESET_SHF 0 |
#define | GCMP_CCB_RESETR_INRESET_MSK GCMPCCBMSK(RESETR_INRESET, 16) |
#define | GCMP_CCB_COHCTL_OFS 0x0008 /* Coherence Control */ |
#define | GCMP_CCB_COHCTL_DOMAIN_SHF 0 |
#define | GCMP_CCB_COHCTL_DOMAIN_MSK GCMPCCBMSK(COHCTL_DOMAIN, 8) |
#define | GCMP_CCB_CFG_OFS 0x0010 /* Config */ |
#define | GCMP_CCB_CFG_IOCUTYPE_SHF 10 |
#define | GCMP_CCB_CFG_IOCUTYPE_MSK GCMPCCBMSK(CFG_IOCUTYPE, 2) |
#define | GCMP_CCB_CFG_IOCUTYPE_CPU 0 |
#define | GCMP_CCB_CFG_IOCUTYPE_NCIOCU 1 |
#define | GCMP_CCB_CFG_IOCUTYPE_CIOCU 2 |
#define | GCMP_CCB_CFG_NUMVPE_SHF 0 |
#define | GCMP_CCB_CFG_NUMVPE_MSK GCMPCCBMSK(CFG_NUMVPE, 10) |
#define | GCMP_CCB_OTHER_OFS 0x0018 /* Other Address */ |
#define | GCMP_CCB_OTHER_CORENUM_SHF 16 |
#define | GCMP_CCB_OTHER_CORENUM_MSK GCMPCCBMSK(OTHER_CORENUM, 16) |
#define | GCMP_CCB_RESETBASE_OFS 0x0020 /* Reset Exception Base */ |
#define | GCMP_CCB_RESETBASE_BEV_SHF 12 |
#define | GCMP_CCB_RESETBASE_BEV_MSK GCMPCCBMSK(RESETBASE_BEV, 20) |
#define | GCMP_CCB_ID_OFS 0x0028 /* Identification */ |
#define | GCMP_CCB_DINTGROUP_OFS 0x0030 /* DINT Group Participate */ |
#define | GCMP_CCB_DBGGROUP_OFS 0x0100 /* DebugBreak Group */ |
Functions | |
int __init | gcmp_probe (unsigned long, unsigned long) |
int __init | gcmp_niocu (void) |
void __init | gcmp_setregion (int, unsigned long, unsigned long, int) |
#define GCMP_CCB_CFG_IOCUTYPE_CIOCU 2 |
Definition at line 109 of file gcmpregs.h.
#define GCMP_CCB_CFG_IOCUTYPE_CPU 0 |
Definition at line 107 of file gcmpregs.h.
#define GCMP_CCB_CFG_IOCUTYPE_MSK GCMPCCBMSK(CFG_IOCUTYPE, 2) |
Definition at line 106 of file gcmpregs.h.
#define GCMP_CCB_CFG_IOCUTYPE_NCIOCU 1 |
Definition at line 108 of file gcmpregs.h.
#define GCMP_CCB_CFG_IOCUTYPE_SHF 10 |
Definition at line 105 of file gcmpregs.h.
#define GCMP_CCB_CFG_NUMVPE_MSK GCMPCCBMSK(CFG_NUMVPE, 10) |
Definition at line 111 of file gcmpregs.h.
#define GCMP_CCB_CFG_NUMVPE_SHF 0 |
Definition at line 110 of file gcmpregs.h.
#define GCMP_CCB_CFG_OFS 0x0010 /* Config */ |
Definition at line 104 of file gcmpregs.h.
#define GCMP_CCB_COHCTL_DOMAIN_MSK GCMPCCBMSK(COHCTL_DOMAIN, 8) |
Definition at line 103 of file gcmpregs.h.
#define GCMP_CCB_COHCTL_DOMAIN_SHF 0 |
Definition at line 102 of file gcmpregs.h.
#define GCMP_CCB_COHCTL_OFS 0x0008 /* Coherence Control */ |
Definition at line 101 of file gcmpregs.h.
#define GCMP_CCB_DBGGROUP_OFS 0x0100 /* DebugBreak Group */ |
Definition at line 120 of file gcmpregs.h.
#define GCMP_CCB_DINTGROUP_OFS 0x0030 /* DINT Group Participate */ |
Definition at line 119 of file gcmpregs.h.
#define GCMP_CCB_ID_OFS 0x0028 /* Identification */ |
Definition at line 118 of file gcmpregs.h.
#define GCMP_CCB_OTHER_CORENUM_MSK GCMPCCBMSK(OTHER_CORENUM, 16) |
Definition at line 114 of file gcmpregs.h.
#define GCMP_CCB_OTHER_CORENUM_SHF 16 |
Definition at line 113 of file gcmpregs.h.
#define GCMP_CCB_OTHER_OFS 0x0018 /* Other Address */ |
Definition at line 112 of file gcmpregs.h.
#define GCMP_CCB_RESETBASE_BEV_MSK GCMPCCBMSK(RESETBASE_BEV, 20) |
Definition at line 117 of file gcmpregs.h.
#define GCMP_CCB_RESETBASE_BEV_SHF 12 |
Definition at line 116 of file gcmpregs.h.
#define GCMP_CCB_RESETBASE_OFS 0x0020 /* Reset Exception Base */ |
Definition at line 115 of file gcmpregs.h.
#define GCMP_CCB_RESETR_INRESET_MSK GCMPCCBMSK(RESETR_INRESET, 16) |
Definition at line 100 of file gcmpregs.h.
#define GCMP_CCB_RESETR_INRESET_SHF 0 |
Definition at line 99 of file gcmpregs.h.
#define GCMP_CCB_RESETR_OFS 0x0000 /* Reset Release */ |
Definition at line 98 of file gcmpregs.h.
#define GCMP_CLCB_OFS 0x2000 /* Core Local Control Block */ |
Definition at line 17 of file gcmpregs.h.
#define GCMP_COCB_OFS 0x4000 /* Core Other Control Block */ |
Definition at line 18 of file gcmpregs.h.
#define GCMP_GCB_CCMC_OFS 0x0010 /* Global CM Control */ |
Definition at line 61 of file gcmpregs.h.
#define GCMP_GCB_CMxBASE_BASE_MSK GCMPGCBMSK(CMxBASE_BASE, 16) |
Definition at line 85 of file gcmpregs.h.
#define GCMP_GCB_CMxBASE_BASE_SHF 16 |
Definition at line 84 of file gcmpregs.h.
#define GCMP_GCB_CMxBASE_OFS | ( | n | ) | (0x0090+16*(n)) /* Global Region[0-3] Base Address */ |
Definition at line 83 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_CMREGTGT_IOCU1 2 |
Definition at line 93 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_CMREGTGT_IOCU2 3 |
Definition at line 94 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_CMREGTGT_MEM 0 |
Definition at line 91 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_CMREGTGT_MEM1 1 |
Definition at line 92 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_CMREGTGT_MSK GCMPGCBMSK(CMxMASK_CMREGTGT, 2) |
Definition at line 90 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_CMREGTGT_SHF 0 |
Definition at line 89 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_MASK_MSK GCMPGCBMSK(CMxMASK_MASK, 16) |
Definition at line 88 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_MASK_SHF 16 |
Definition at line 87 of file gcmpregs.h.
#define GCMP_GCB_CMxMASK_OFS | ( | n | ) | (0x0098+16*(n)) /* Global Region[0-3] Address Mask */ |
Definition at line 86 of file gcmpregs.h.
#define GCMP_GCB_GC_NUMCORES_MSK GCMPGCBMSK(GC_NUMCORES, 8) |
Definition at line 51 of file gcmpregs.h.
#define GCMP_GCB_GC_NUMCORES_SHF 0 |
Definition at line 50 of file gcmpregs.h.
#define GCMP_GCB_GC_NUMIOCU_MSK GCMPGCBMSK(GC_NUMIOCU, 4) |
Definition at line 49 of file gcmpregs.h.
#define GCMP_GCB_GC_NUMIOCU_SHF 8 |
Definition at line 48 of file gcmpregs.h.
#define GCMP_GCB_GC_OFS 0x0000 /* Global Config Register */ |
Definition at line 47 of file gcmpregs.h.
#define GCMP_GCB_GCMEA_OFS 0x0050 /* Global CM Error Address */ |
Definition at line 72 of file gcmpregs.h.
#define GCMP_GCB_GCMEC_OFS 0x0048 /* Global CM Error Cause */ |
Definition at line 67 of file gcmpregs.h.
#define GCMP_GCB_GCMEM_OFS 0x0040 /* Global CM Error Mask */ |
Definition at line 66 of file gcmpregs.h.
#define GCMP_GCB_GCMEO_OFS 0x0058 /* Global CM Error Multiple */ |
Definition at line 73 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_CMDEFTGT_DISABLED 0 |
Definition at line 57 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_CMDEFTGT_IOCU1 2 |
Definition at line 59 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_CMDEFTGT_IOCU2 3 |
Definition at line 60 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_CMDEFTGT_MEM 1 |
Definition at line 58 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_CMDEFTGT_MSK GCMPGCBMSK(GCMPB_CMDEFTGT, 2) |
Definition at line 56 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_CMDEFTGT_SHF 0 |
Definition at line 55 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_GCMPBASE_MSK GCMPGCBMSK(GCMPB_GCMPBASE, 17) |
Definition at line 54 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_GCMPBASE_SHF 15 |
Definition at line 53 of file gcmpregs.h.
#define GCMP_GCB_GCMPB_OFS 0x0008 /* Global GCMP Base */ |
Definition at line 52 of file gcmpregs.h.
#define GCMP_GCB_GCMPREV_OFS 0x0030 /* GCMP Revision Register */ |
Definition at line 65 of file gcmpregs.h.
#define GCMP_GCB_GCSRAP_CMACCESS_MSK GCMPGCBMSK(GCSRAP_CMACCESS, 8) |
Definition at line 64 of file gcmpregs.h.
#define GCMP_GCB_GCSRAP_CMACCESS_SHF 0 |
Definition at line 63 of file gcmpregs.h.
#define GCMP_GCB_GCSRAP_OFS 0x0020 /* Global CSR Access Privilege */ |
Definition at line 62 of file gcmpregs.h.
#define GCMP_GCB_GICBA_BASE_MSK GCMPGCBMSK(GICBA_BASE, 15) |
Definition at line 78 of file gcmpregs.h.
#define GCMP_GCB_GICBA_BASE_SHF 17 |
Definition at line 77 of file gcmpregs.h.
#define GCMP_GCB_GICBA_EN_MSK GCMPGCBMSK(GICBA_EN, 1) |
Definition at line 80 of file gcmpregs.h.
#define GCMP_GCB_GICBA_EN_SHF 0 |
Definition at line 79 of file gcmpregs.h.
#define GCMP_GCB_GICBA_OFS 0x0080 /* Global Interrupt Controller Base Address */ |
Definition at line 76 of file gcmpregs.h.
#define GCMP_GCB_GMEC_ERROR_INFO_MSK GCMPGCBMSK(GMEC_ERROR_INFO, 27) |
Definition at line 71 of file gcmpregs.h.
#define GCMP_GCB_GMEC_ERROR_INFO_SHF 0 |
Definition at line 70 of file gcmpregs.h.
#define GCMP_GCB_GMEC_ERROR_TYPE_MSK GCMPGCBMSK(GMEC_ERROR_TYPE, 5) |
Definition at line 69 of file gcmpregs.h.
#define GCMP_GCB_GMEC_ERROR_TYPE_SHF 27 |
Definition at line 68 of file gcmpregs.h.
#define GCMP_GCB_GMEO_ERROR_2ND_MSK GCMPGCBMSK(GMEO_ERROR_2ND, 5) |
Definition at line 75 of file gcmpregs.h.
#define GCMP_GCB_GMEO_ERROR_2ND_SHF 0 |
Definition at line 74 of file gcmpregs.h.
#define GCMP_GCB_OFS 0x0000 /* Global Control Block */ |
Definition at line 16 of file gcmpregs.h.
#define GCMP_GDB_OFS 0x8000 /* Global Debug Block */ |
Definition at line 19 of file gcmpregs.h.
#define GCMPCLCB | ( | reg | ) | REGP(_gcmp_base, GCMPCLCBOFS(reg)) |
Definition at line 36 of file gcmpregs.h.
Definition at line 29 of file gcmpregs.h.
#define GCMPCOCB | ( | reg | ) | REGP(_gcmp_base, GCMPCOCBOFS(reg)) |
Definition at line 37 of file gcmpregs.h.
Definition at line 30 of file gcmpregs.h.
#define GCMPGCB | ( | reg | ) | REGP(_gcmp_base, GCMPGCBOFS(reg)) |
Definition at line 34 of file gcmpregs.h.
Definition at line 35 of file gcmpregs.h.
Definition at line 27 of file gcmpregs.h.
#define GCMPGDB | ( | reg | ) | REGP(_gcmp_base, GCMPGDBOFS(reg)) |
Definition at line 38 of file gcmpregs.h.
Definition at line 31 of file gcmpregs.h.
Definition at line 41 of file gcmpregs.h.
Definition at line 22 of file gcmpregs.h.
Definition at line 24 of file gcmpregs.h.
Definition at line 441 of file malta-int.c.
Definition at line 421 of file malta-int.c.