Go to the source code of this file.
Macros | |
#define | PCC2_BASE 0xfff42000 |
#define | PCC2_SIZE 0x0040 |
#define | PCCTWO_CHIPID 0x0000 |
#define | PCCTWO_CHIPREV 0x0001 |
#define | PCCTWO_GENCTL 0x0002 |
#define | PCCTWO_VECBASE 0x0003 |
#define | PCCTWO_T1CMP 0x0004 |
#define | PCCTWO_T1COUNT 0x0008 |
#define | PCCTWO_T2CMP 0x000c |
#define | PCCTWO_T2COUNT 0x0010 |
#define | PCCTWO_PSCALECNT 0x0014 |
#define | PCCTWO_PSCALEADJ 0x0015 |
#define | PCCTWO_T2CTL 0x0016 |
#define | PCCTWO_T1CTL 0x0017 |
#define | PCCTWO_GPIO_ICR 0x0018 |
#define | PCCTWO_GPIO_PCR 0x0019 |
#define | PCCTWO_T2ICR 0x001a |
#define | PCCTWO_T1ICR 0x001b |
#define | PCCTWO_SCCERR 0x001c |
#define | PCCTWO_SCCICR 0x001d |
#define | PCCTWO_SCCTX 0x001e |
#define | PCCTWO_SCCRX 0x001f |
#define | PCCTWO_SCCMOIACK 0x0023 |
#define | PCCTWO_SCCTXIACK 0x0025 |
#define | PCCTWO_SCCRXIACK 0x0027 |
#define | PCCTWO_IEERR 0x0028 |
#define | PCCTWO_IEICR 0x002a |
#define | PCCTWO_IEBERR 0x002b |
#define | PCCTWO_SCSIERR 0x002c |
#define | PCCTWO_SCSIICR 0x002f |
#define | PCCTWO_PRTICR 0x0030 |
#define | PCCTWO_PTRFICR 0x0031 |
#define | PCCTWO_PTRSICR 0x0032 |
#define | PCCTWO_PTRPICR 0x0033 |
#define | PCCTWO_PRTBICR 0x0034 |
#define | PCCTWO_PRTSTATUS 0x0036 |
#define | PCCTWO_PRTCTL 0x0037 |
#define | PCCTWO_SPEED 0x0038 |
#define | PCCTWO_PRTDATA 0x003a |
#define | PCCTWO_IPL 0x003e |
#define | PCCTWO_MASK 0x003f |
#define | PCC2_ID 0x20 /* value at CHIPID */ |
#define | PCC2_DR0 0x80 |
#define | PCC2_C040 0x04 |
#define | PCC2_MIEN 0x02 |
#define | PCC2_FAST 0x01 |
#define | PCC2_VECT 0x50 |
#define | PCC2V_PPBUSY 0x00 /* lowest */ |
#define | PCC2V_PPPE 0x01 |
#define | PCC2V_PPSELECT 0x02 |
#define | PCC2V_PPFAULT 0x03 |
#define | PCC2V_PPACK 0x04 |
#define | PCC2V_SCSI 0x05 |
#define | PCC2V_IEFAIL 0x06 |
#define | PCC2V_IE 0x07 |
#define | PCC2V_TIMER2 0x08 |
#define | PCC2V_TIMER1 0x09 |
#define | PCC2V_GPIO 0x0a |
#define | PCC2V_SCC_RXE 0x0c |
#define | PCC2V_SCC_M (PCC2V_SCC_RXE + 1) |
#define | PCC2V_SCC_TX (PCC2V_SCC_M + 1) |
#define | PCC2V_SCC_RX (PCC2V_SCC_TX + 1) |
#define | PCC2_VECBASE 0x50 |
#define | PCC2_NVEC 0x10 |
#define | PCC2_TCTL_CEN 0x01 |
#define | PCC2_TCTL_COC 0x02 |
#define | PCC2_TCTL_COVF 0x04 |
#define | PCC2_TCTL_OVF 0xf0 |
#define | PCC2_GPIO_PLTY 0x80 |
#define | PCC2_GPIO_EL 0x40 |
#define | PCC2_GPIOCR_OE 0x2 |
#define | PCC2_GPIOCR_O 0x1 |
#define | PCC2_SCC_AVEC 0x08 |
#define | PCC2_SC_INHIBIT (0 << 6) |
#define | PCC2_SC_SNOOP (1 << 6) |
#define | PCC2_SC_INVAL (2 << 6) |
#define | PCC2_SC_RESV (3 << 6) |
#define | pcc2_timer_us2lim(us) (us) /* timer increments in "us" */ |
#define | PCC2_IRQ_IPL 0x07 |
#define | PCC2_IRQ_ICLR 0x08 |
#define | PCC2_IRQ_IEN 0x10 |
#define | PCC2_IRQ_INT 0x20 |
#define | PCC2_TTIRQ_INT 0x20 |
#define | PCC2_TTIRQ_IEN 0x10 |
#define | PCC2_TTIRQ_ICLR 0x08 |
#define | PCC2_TTIRQ_IL 0x07 /* mask for IL2-IL0 */ |
#define | PCC2_IEERR_SCLR 0x01 |
#define | PCC2_GENCTL_FAST 0x01 |
#define | PCC2_GENCTL_IEN 0x02 |
#define | PCC2_GENCTL_C040 0x03 |
#define PCC2_BASE 0xfff42000 |
Definition at line 13 of file mvme_pcctworeg.h.
Referenced by MACHINE_SETUP().
#define PCC2_C040 0x04 |
Definition at line 61 of file mvme_pcctworeg.h.
#define PCC2_DR0 0x80 |
Definition at line 60 of file mvme_pcctworeg.h.
#define PCC2_FAST 0x01 |
Definition at line 63 of file mvme_pcctworeg.h.
#define PCC2_GENCTL_C040 0x03 |
Definition at line 134 of file mvme_pcctworeg.h.
#define PCC2_GENCTL_FAST 0x01 |
Definition at line 132 of file mvme_pcctworeg.h.
#define PCC2_GENCTL_IEN 0x02 |
Definition at line 133 of file mvme_pcctworeg.h.
#define PCC2_GPIO_EL 0x40 |
Definition at line 105 of file mvme_pcctworeg.h.
#define PCC2_GPIO_PLTY 0x80 |
Definition at line 104 of file mvme_pcctworeg.h.
#define PCC2_GPIOCR_O 0x1 |
Definition at line 108 of file mvme_pcctworeg.h.
#define PCC2_GPIOCR_OE 0x2 |
Definition at line 107 of file mvme_pcctworeg.h.
#define PCC2_ID 0x20 /* value at CHIPID */ |
Definition at line 57 of file mvme_pcctworeg.h.
Referenced by DEVINIT().
#define PCC2_IEERR_SCLR 0x01 |
Definition at line 130 of file mvme_pcctworeg.h.
#define PCC2_IRQ_ICLR 0x08 |
Definition at line 120 of file mvme_pcctworeg.h.
#define PCC2_IRQ_IEN 0x10 |
Definition at line 121 of file mvme_pcctworeg.h.
#define PCC2_IRQ_INT 0x20 |
Definition at line 122 of file mvme_pcctworeg.h.
Referenced by pcctwo_interrupt_common().
#define PCC2_IRQ_IPL 0x07 |
Definition at line 119 of file mvme_pcctworeg.h.
#define PCC2_MIEN 0x02 |
Definition at line 62 of file mvme_pcctworeg.h.
#define PCC2_NVEC 0x10 |
Definition at line 97 of file mvme_pcctworeg.h.
#define PCC2_SC_INHIBIT (0 << 6) |
Definition at line 112 of file mvme_pcctworeg.h.
#define PCC2_SC_INVAL (2 << 6) |
Definition at line 114 of file mvme_pcctworeg.h.
#define PCC2_SC_RESV (3 << 6) |
Definition at line 115 of file mvme_pcctworeg.h.
#define PCC2_SC_SNOOP (1 << 6) |
Definition at line 113 of file mvme_pcctworeg.h.
#define PCC2_SCC_AVEC 0x08 |
Definition at line 110 of file mvme_pcctworeg.h.
#define PCC2_SIZE 0x0040 |
Definition at line 14 of file mvme_pcctworeg.h.
Referenced by DEVICE_ACCESS().
#define PCC2_TCTL_CEN 0x01 |
Definition at line 99 of file mvme_pcctworeg.h.
#define PCC2_TCTL_COC 0x02 |
Definition at line 100 of file mvme_pcctworeg.h.
#define PCC2_TCTL_COVF 0x04 |
Definition at line 101 of file mvme_pcctworeg.h.
#define PCC2_TCTL_OVF 0xf0 |
Definition at line 102 of file mvme_pcctworeg.h.
#define pcc2_timer_us2lim | ( | us | ) | (us) /* timer increments in "us" */ |
Definition at line 117 of file mvme_pcctworeg.h.
#define PCC2_TTIRQ_ICLR 0x08 |
Definition at line 127 of file mvme_pcctworeg.h.
#define PCC2_TTIRQ_IEN 0x10 |
Definition at line 126 of file mvme_pcctworeg.h.
#define PCC2_TTIRQ_IL 0x07 /* mask for IL2-IL0 */ |
Definition at line 128 of file mvme_pcctworeg.h.
#define PCC2_TTIRQ_INT 0x20 |
Definition at line 125 of file mvme_pcctworeg.h.
#define PCC2_VECBASE 0x50 |
Definition at line 96 of file mvme_pcctworeg.h.
#define PCC2_VECT 0x50 |
Definition at line 66 of file mvme_pcctworeg.h.
#define PCC2V_GPIO 0x0a |
Definition at line 79 of file mvme_pcctworeg.h.
#define PCC2V_IE 0x07 |
Definition at line 76 of file mvme_pcctworeg.h.
#define PCC2V_IEFAIL 0x06 |
Definition at line 75 of file mvme_pcctworeg.h.
#define PCC2V_PPACK 0x04 |
Definition at line 73 of file mvme_pcctworeg.h.
#define PCC2V_PPBUSY 0x00 /* lowest */ |
Definition at line 69 of file mvme_pcctworeg.h.
#define PCC2V_PPFAULT 0x03 |
Definition at line 72 of file mvme_pcctworeg.h.
#define PCC2V_PPPE 0x01 |
Definition at line 70 of file mvme_pcctworeg.h.
#define PCC2V_PPSELECT 0x02 |
Definition at line 71 of file mvme_pcctworeg.h.
#define PCC2V_SCC_M (PCC2V_SCC_RXE + 1) |
Definition at line 81 of file mvme_pcctworeg.h.
Referenced by DEVINIT().
#define PCC2V_SCC_RX (PCC2V_SCC_TX + 1) |
Definition at line 83 of file mvme_pcctworeg.h.
Referenced by DEVINIT(), and pcctwo_interrupt_common().
#define PCC2V_SCC_RXE 0x0c |
Definition at line 80 of file mvme_pcctworeg.h.
Referenced by DEVINIT().
#define PCC2V_SCC_TX (PCC2V_SCC_M + 1) |
Definition at line 82 of file mvme_pcctworeg.h.
Referenced by DEVINIT(), and pcctwo_interrupt_common().
#define PCC2V_SCSI 0x05 |
Definition at line 74 of file mvme_pcctworeg.h.
Referenced by MACHINE_SETUP(), and pcctwo_interrupt_common().
#define PCC2V_TIMER1 0x09 |
Definition at line 78 of file mvme_pcctworeg.h.
#define PCC2V_TIMER2 0x08 |
Definition at line 77 of file mvme_pcctworeg.h.
#define PCCTWO_CHIPID 0x0000 |
Definition at line 16 of file mvme_pcctworeg.h.
Referenced by DEVICE_ACCESS(), and DEVINIT().
#define PCCTWO_CHIPREV 0x0001 |
Definition at line 17 of file mvme_pcctworeg.h.
Referenced by DEVICE_ACCESS(), and DEVINIT().
#define PCCTWO_GENCTL 0x0002 |
Definition at line 18 of file mvme_pcctworeg.h.
Referenced by DEVICE_ACCESS(), and DEVINIT().
#define PCCTWO_GPIO_ICR 0x0018 |
Definition at line 28 of file mvme_pcctworeg.h.
#define PCCTWO_GPIO_PCR 0x0019 |
Definition at line 29 of file mvme_pcctworeg.h.
#define PCCTWO_IEBERR 0x002b |
Definition at line 41 of file mvme_pcctworeg.h.
#define PCCTWO_IEERR 0x0028 |
Definition at line 39 of file mvme_pcctworeg.h.
#define PCCTWO_IEICR 0x002a |
Definition at line 40 of file mvme_pcctworeg.h.
#define PCCTWO_IPL 0x003e |
Definition at line 54 of file mvme_pcctworeg.h.
#define PCCTWO_MASK 0x003f |
Definition at line 55 of file mvme_pcctworeg.h.
#define PCCTWO_PRTBICR 0x0034 |
Definition at line 48 of file mvme_pcctworeg.h.
#define PCCTWO_PRTCTL 0x0037 |
Definition at line 50 of file mvme_pcctworeg.h.
#define PCCTWO_PRTDATA 0x003a |
Definition at line 52 of file mvme_pcctworeg.h.
#define PCCTWO_PRTICR 0x0030 |
Definition at line 44 of file mvme_pcctworeg.h.
#define PCCTWO_PRTSTATUS 0x0036 |
Definition at line 49 of file mvme_pcctworeg.h.
#define PCCTWO_PSCALEADJ 0x0015 |
Definition at line 25 of file mvme_pcctworeg.h.
Referenced by DEVINIT().
#define PCCTWO_PSCALECNT 0x0014 |
Definition at line 24 of file mvme_pcctworeg.h.
#define PCCTWO_PTRFICR 0x0031 |
Definition at line 45 of file mvme_pcctworeg.h.
#define PCCTWO_PTRPICR 0x0033 |
Definition at line 47 of file mvme_pcctworeg.h.
#define PCCTWO_PTRSICR 0x0032 |
Definition at line 46 of file mvme_pcctworeg.h.
#define PCCTWO_SCCERR 0x001c |
Definition at line 32 of file mvme_pcctworeg.h.
#define PCCTWO_SCCICR 0x001d |
Definition at line 33 of file mvme_pcctworeg.h.
#define PCCTWO_SCCMOIACK 0x0023 |
Definition at line 36 of file mvme_pcctworeg.h.
#define PCCTWO_SCCRX 0x001f |
Definition at line 35 of file mvme_pcctworeg.h.
Referenced by pcctwo_interrupt_common().
#define PCCTWO_SCCRXIACK 0x0027 |
Definition at line 38 of file mvme_pcctworeg.h.
#define PCCTWO_SCCTX 0x001e |
Definition at line 34 of file mvme_pcctworeg.h.
Referenced by pcctwo_interrupt_common().
#define PCCTWO_SCCTXIACK 0x0025 |
Definition at line 37 of file mvme_pcctworeg.h.
#define PCCTWO_SCSIERR 0x002c |
Definition at line 42 of file mvme_pcctworeg.h.
#define PCCTWO_SCSIICR 0x002f |
Definition at line 43 of file mvme_pcctworeg.h.
Referenced by pcctwo_interrupt_common().
#define PCCTWO_SPEED 0x0038 |
Definition at line 51 of file mvme_pcctworeg.h.
#define PCCTWO_T1CMP 0x0004 |
Definition at line 20 of file mvme_pcctworeg.h.
#define PCCTWO_T1COUNT 0x0008 |
Definition at line 21 of file mvme_pcctworeg.h.
#define PCCTWO_T1CTL 0x0017 |
Definition at line 27 of file mvme_pcctworeg.h.
#define PCCTWO_T1ICR 0x001b |
Definition at line 31 of file mvme_pcctworeg.h.
#define PCCTWO_T2CMP 0x000c |
Definition at line 22 of file mvme_pcctworeg.h.
#define PCCTWO_T2COUNT 0x0010 |
Definition at line 23 of file mvme_pcctworeg.h.
#define PCCTWO_T2CTL 0x0016 |
Definition at line 26 of file mvme_pcctworeg.h.
#define PCCTWO_T2ICR 0x001a |
Definition at line 30 of file mvme_pcctworeg.h.
#define PCCTWO_VECBASE 0x0003 |
Definition at line 19 of file mvme_pcctworeg.h.
Referenced by DEVICE_ACCESS(), and DEVINIT().