Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | UDCCR __REG(0x40600000) /* UDC Control Register */ |
#define | UDCCR_OEN (1 << 31) /* On-the-Go Enable */ |
#define | UDCCR_AALTHNP |
#define | UDCCR_AHNP |
#define | UDCCR_BHNP |
#define | UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ |
#define | UDCCR_ACN (0x03 << 11) /* Active UDC configuration Number */ |
#define | UDCCR_ACN_S 11 |
#define | UDCCR_AIN (0x07 << 8) /* Active UDC interface Number */ |
#define | UDCCR_AIN_S 8 |
#define | UDCCR_AAISN |
#define | UDCCR_AAISN_S 5 |
#define | UDCCR_SMAC |
#define | UDCCR_EMCE |
#define | UDCCR_UDR (1 << 2) /* UDC Resume */ |
#define | UDCCR_UDA (1 << 1) /* UDC Active */ |
#define | UDCCR_UDE (1 << 0) /* UDC Enable */ |
#define | UDCICR0 __REG(0x40600004) /* UDC Interrupt Control Register0 */ |
#define | UDCICR1 __REG(0x40600008) /* UDC Interrupt Control Register1 */ |
#define | UDCICR_FIFOERR (1 << 1) /* FIFO Error interrupt for EP */ |
#define | UDCICR_PKTCOMPL (1 << 0) /* Packet Complete interrupt for EP */ |
#define | UDC_INT_FIFOERROR (0x2) |
#define | UDC_INT_PACKETCMP (0x1) |
#define | UDCICR_INT(n, intr) (((intr) & 0x03) << (((n) & 0x0F) * 2)) |
#define | UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */ |
#define | UDCICR1_IESOF (1 << 30) /* IntEn - Start of Frame */ |
#define | UDCICR1_IERU (1 << 29) /* IntEn - Resume */ |
#define | UDCICR1_IESU (1 << 28) /* IntEn - Suspend */ |
#define | UDCICR1_IERS (1 << 27) /* IntEn - Reset */ |
#define | UDCISR0 __REG(0x4060000C) /* UDC Interrupt Status Register 0 */ |
#define | UDCISR1 __REG(0x40600010) /* UDC Interrupt Status Register 1 */ |
#define | UDCISR_INT(n, intr) (((intr) & 0x03) << (((n) & 0x0F) * 2)) |
#define | UDCISR1_IRCC (1 << 31) /* IntReq - Configuration Change */ |
#define | UDCISR1_IRSOF (1 << 30) /* IntReq - Start of Frame */ |
#define | UDCISR1_IRRU (1 << 29) /* IntReq - Resume */ |
#define | UDCISR1_IRSU (1 << 28) /* IntReq - Suspend */ |
#define | UDCISR1_IRRS (1 << 27) /* IntReq - Reset */ |
#define | UDCFNR __REG(0x40600014) /* UDC Frame Number Register */ |
#define | UDCOTGICR __REG(0x40600018) /* UDC On-The-Go interrupt control */ |
#define | UDCOTGICR_IESF (1 << 24) /* OTG SET_FEATURE command recvd */ |
#define | UDCOTGICR_IEXR |
#define | UDCOTGICR_IEXF |
#define | UDCOTGICR_IEVV40R |
#define | UDCOTGICR_IEVV40F |
#define | UDCOTGICR_IEVV44R |
#define | UDCOTGICR_IEVV44F |
#define | UDCOTGICR_IESVR |
#define | UDCOTGICR_IESVF |
#define | UDCOTGICR_IESDR |
#define | UDCOTGICR_IESDF |
#define | UDCOTGICR_IEIDR |
#define | UDCOTGICR_IEIDF |
#define | UP2OCR __REG(0x40600020) /* USB Port 2 Output Control register */ |
#define | UP3OCR __REG(0x40600024) /* USB Port 2 Output Control register */ |
#define | UP2OCR_CPVEN (1 << 0) /* Charge Pump Vbus Enable */ |
#define | UP2OCR_CPVPE (1 << 1) /* Charge Pump Vbus Pulse Enable */ |
#define | UP2OCR_DPPDE (1 << 2) /* Host Port 2 Transceiver D+ Pull Down Enable */ |
#define | UP2OCR_DMPDE (1 << 3) /* Host Port 2 Transceiver D- Pull Down Enable */ |
#define | UP2OCR_DPPUE (1 << 4) /* Host Port 2 Transceiver D+ Pull Up Enable */ |
#define | UP2OCR_DMPUE (1 << 5) /* Host Port 2 Transceiver D- Pull Up Enable */ |
#define | UP2OCR_DPPUBE (1 << 6) /* Host Port 2 Transceiver D+ Pull Up Bypass Enable */ |
#define | UP2OCR_DMPUBE (1 << 7) /* Host Port 2 Transceiver D- Pull Up Bypass Enable */ |
#define | UP2OCR_EXSP (1 << 8) /* External Transceiver Speed Control */ |
#define | UP2OCR_EXSUS (1 << 9) /* External Transceiver Speed Enable */ |
#define | UP2OCR_IDON (1 << 10) /* OTG ID Read Enable */ |
#define | UP2OCR_HXS (1 << 16) /* Host Port 2 Transceiver Output Select */ |
#define | UP2OCR_HXOE (1 << 17) /* Host Port 2 Transceiver Output Enable */ |
#define | UP2OCR_SEOS(x) ((x & 7) << 24) /* Single-Ended Output Select */ |
#define | UDCCSN(x) __REG2(0x40600100, (x) << 2) |
#define | UDCCSR0 __REG(0x40600100) /* UDC Control/Status register - Endpoint 0 */ |
#define | UDCCSR0_SA (1 << 7) /* Setup Active */ |
#define | UDCCSR0_RNE (1 << 6) /* Receive FIFO Not Empty */ |
#define | UDCCSR0_FST (1 << 5) /* Force Stall */ |
#define | UDCCSR0_SST (1 << 4) /* Sent Stall */ |
#define | UDCCSR0_DME (1 << 3) /* DMA Enable */ |
#define | UDCCSR0_FTF (1 << 2) /* Flush Transmit FIFO */ |
#define | UDCCSR0_IPR (1 << 1) /* IN Packet Ready */ |
#define | UDCCSR0_OPC (1 << 0) /* OUT Packet Complete */ |
#define | UDCCSRA __REG(0x40600104) /* UDC Control/Status register - Endpoint A */ |
#define | UDCCSRB __REG(0x40600108) /* UDC Control/Status register - Endpoint B */ |
#define | UDCCSRC __REG(0x4060010C) /* UDC Control/Status register - Endpoint C */ |
#define | UDCCSRD __REG(0x40600110) /* UDC Control/Status register - Endpoint D */ |
#define | UDCCSRE __REG(0x40600114) /* UDC Control/Status register - Endpoint E */ |
#define | UDCCSRF __REG(0x40600118) /* UDC Control/Status register - Endpoint F */ |
#define | UDCCSRG __REG(0x4060011C) /* UDC Control/Status register - Endpoint G */ |
#define | UDCCSRH __REG(0x40600120) /* UDC Control/Status register - Endpoint H */ |
#define | UDCCSRI __REG(0x40600124) /* UDC Control/Status register - Endpoint I */ |
#define | UDCCSRJ __REG(0x40600128) /* UDC Control/Status register - Endpoint J */ |
#define | UDCCSRK __REG(0x4060012C) /* UDC Control/Status register - Endpoint K */ |
#define | UDCCSRL __REG(0x40600130) /* UDC Control/Status register - Endpoint L */ |
#define | UDCCSRM __REG(0x40600134) /* UDC Control/Status register - Endpoint M */ |
#define | UDCCSRN __REG(0x40600138) /* UDC Control/Status register - Endpoint N */ |
#define | UDCCSRP __REG(0x4060013C) /* UDC Control/Status register - Endpoint P */ |
#define | UDCCSRQ __REG(0x40600140) /* UDC Control/Status register - Endpoint Q */ |
#define | UDCCSRR __REG(0x40600144) /* UDC Control/Status register - Endpoint R */ |
#define | UDCCSRS __REG(0x40600148) /* UDC Control/Status register - Endpoint S */ |
#define | UDCCSRT __REG(0x4060014C) /* UDC Control/Status register - Endpoint T */ |
#define | UDCCSRU __REG(0x40600150) /* UDC Control/Status register - Endpoint U */ |
#define | UDCCSRV __REG(0x40600154) /* UDC Control/Status register - Endpoint V */ |
#define | UDCCSRW __REG(0x40600158) /* UDC Control/Status register - Endpoint W */ |
#define | UDCCSRX __REG(0x4060015C) /* UDC Control/Status register - Endpoint X */ |
#define | UDCCSR_DPE (1 << 9) /* Data Packet Error */ |
#define | UDCCSR_FEF (1 << 8) /* Flush Endpoint FIFO */ |
#define | UDCCSR_SP (1 << 7) /* Short Packet Control/Status */ |
#define | UDCCSR_BNE (1 << 6) /* Buffer Not Empty (IN endpoints) */ |
#define | UDCCSR_BNF (1 << 6) /* Buffer Not Full (OUT endpoints) */ |
#define | UDCCSR_FST (1 << 5) /* Force STALL */ |
#define | UDCCSR_SST (1 << 4) /* Sent STALL */ |
#define | UDCCSR_DME (1 << 3) /* DMA Enable */ |
#define | UDCCSR_TRN (1 << 2) /* Tx/Rx NAK */ |
#define | UDCCSR_PC (1 << 1) /* Packet Complete */ |
#define | UDCCSR_FS (1 << 0) /* FIFO needs service */ |
#define | UDCBCN(x) __REG2(0x40600200, (x)<<2) |
#define | UDCBCR0 __REG(0x40600200) /* Byte Count Register - EP0 */ |
#define | UDCBCRA __REG(0x40600204) /* Byte Count Register - EPA */ |
#define | UDCBCRB __REG(0x40600208) /* Byte Count Register - EPB */ |
#define | UDCBCRC __REG(0x4060020C) /* Byte Count Register - EPC */ |
#define | UDCBCRD __REG(0x40600210) /* Byte Count Register - EPD */ |
#define | UDCBCRE __REG(0x40600214) /* Byte Count Register - EPE */ |
#define | UDCBCRF __REG(0x40600218) /* Byte Count Register - EPF */ |
#define | UDCBCRG __REG(0x4060021C) /* Byte Count Register - EPG */ |
#define | UDCBCRH __REG(0x40600220) /* Byte Count Register - EPH */ |
#define | UDCBCRI __REG(0x40600224) /* Byte Count Register - EPI */ |
#define | UDCBCRJ __REG(0x40600228) /* Byte Count Register - EPJ */ |
#define | UDCBCRK __REG(0x4060022C) /* Byte Count Register - EPK */ |
#define | UDCBCRL __REG(0x40600230) /* Byte Count Register - EPL */ |
#define | UDCBCRM __REG(0x40600234) /* Byte Count Register - EPM */ |
#define | UDCBCRN __REG(0x40600238) /* Byte Count Register - EPN */ |
#define | UDCBCRP __REG(0x4060023C) /* Byte Count Register - EPP */ |
#define | UDCBCRQ __REG(0x40600240) /* Byte Count Register - EPQ */ |
#define | UDCBCRR __REG(0x40600244) /* Byte Count Register - EPR */ |
#define | UDCBCRS __REG(0x40600248) /* Byte Count Register - EPS */ |
#define | UDCBCRT __REG(0x4060024C) /* Byte Count Register - EPT */ |
#define | UDCBCRU __REG(0x40600250) /* Byte Count Register - EPU */ |
#define | UDCBCRV __REG(0x40600254) /* Byte Count Register - EPV */ |
#define | UDCBCRW __REG(0x40600258) /* Byte Count Register - EPW */ |
#define | UDCBCRX __REG(0x4060025C) /* Byte Count Register - EPX */ |
#define | UDCDN(x) __REG2(0x40600300, (x)<<2) |
#define | PHYS_UDCDN(x) (0x40600300 + ((x)<<2)) |
#define | PUDCDN(x) (volatile u32 *)(io_p2v(PHYS_UDCDN((x)))) |
#define | UDCDR0 __REG(0x40600300) /* Data Register - EP0 */ |
#define | UDCDRA __REG(0x40600304) /* Data Register - EPA */ |
#define | UDCDRB __REG(0x40600308) /* Data Register - EPB */ |
#define | UDCDRC __REG(0x4060030C) /* Data Register - EPC */ |
#define | UDCDRD __REG(0x40600310) /* Data Register - EPD */ |
#define | UDCDRE __REG(0x40600314) /* Data Register - EPE */ |
#define | UDCDRF __REG(0x40600318) /* Data Register - EPF */ |
#define | UDCDRG __REG(0x4060031C) /* Data Register - EPG */ |
#define | UDCDRH __REG(0x40600320) /* Data Register - EPH */ |
#define | UDCDRI __REG(0x40600324) /* Data Register - EPI */ |
#define | UDCDRJ __REG(0x40600328) /* Data Register - EPJ */ |
#define | UDCDRK __REG(0x4060032C) /* Data Register - EPK */ |
#define | UDCDRL __REG(0x40600330) /* Data Register - EPL */ |
#define | UDCDRM __REG(0x40600334) /* Data Register - EPM */ |
#define | UDCDRN __REG(0x40600338) /* Data Register - EPN */ |
#define | UDCDRP __REG(0x4060033C) /* Data Register - EPP */ |
#define | UDCDRQ __REG(0x40600340) /* Data Register - EPQ */ |
#define | UDCDRR __REG(0x40600344) /* Data Register - EPR */ |
#define | UDCDRS __REG(0x40600348) /* Data Register - EPS */ |
#define | UDCDRT __REG(0x4060034C) /* Data Register - EPT */ |
#define | UDCDRU __REG(0x40600350) /* Data Register - EPU */ |
#define | UDCDRV __REG(0x40600354) /* Data Register - EPV */ |
#define | UDCDRW __REG(0x40600358) /* Data Register - EPW */ |
#define | UDCDRX __REG(0x4060035C) /* Data Register - EPX */ |
#define | UDCCN(x) __REG2(0x40600400, (x)<<2) |
#define | UDCCRA __REG(0x40600404) /* Configuration register EPA */ |
#define | UDCCRB __REG(0x40600408) /* Configuration register EPB */ |
#define | UDCCRC __REG(0x4060040C) /* Configuration register EPC */ |
#define | UDCCRD __REG(0x40600410) /* Configuration register EPD */ |
#define | UDCCRE __REG(0x40600414) /* Configuration register EPE */ |
#define | UDCCRF __REG(0x40600418) /* Configuration register EPF */ |
#define | UDCCRG __REG(0x4060041C) /* Configuration register EPG */ |
#define | UDCCRH __REG(0x40600420) /* Configuration register EPH */ |
#define | UDCCRI __REG(0x40600424) /* Configuration register EPI */ |
#define | UDCCRJ __REG(0x40600428) /* Configuration register EPJ */ |
#define | UDCCRK __REG(0x4060042C) /* Configuration register EPK */ |
#define | UDCCRL __REG(0x40600430) /* Configuration register EPL */ |
#define | UDCCRM __REG(0x40600434) /* Configuration register EPM */ |
#define | UDCCRN __REG(0x40600438) /* Configuration register EPN */ |
#define | UDCCRP __REG(0x4060043C) /* Configuration register EPP */ |
#define | UDCCRQ __REG(0x40600440) /* Configuration register EPQ */ |
#define | UDCCRR __REG(0x40600444) /* Configuration register EPR */ |
#define | UDCCRS __REG(0x40600448) /* Configuration register EPS */ |
#define | UDCCRT __REG(0x4060044C) /* Configuration register EPT */ |
#define | UDCCRU __REG(0x40600450) /* Configuration register EPU */ |
#define | UDCCRV __REG(0x40600454) /* Configuration register EPV */ |
#define | UDCCRW __REG(0x40600458) /* Configuration register EPW */ |
#define | UDCCRX __REG(0x4060045C) /* Configuration register EPX */ |
#define | UDCCONR_CN (0x03 << 25) /* Configuration Number */ |
#define | UDCCONR_CN_S (25) |
#define | UDCCONR_IN (0x07 << 22) /* Interface Number */ |
#define | UDCCONR_IN_S (22) |
#define | UDCCONR_AISN (0x07 << 19) /* Alternate Interface Number */ |
#define | UDCCONR_AISN_S (19) |
#define | UDCCONR_EN (0x0f << 15) /* Endpoint Number */ |
#define | UDCCONR_EN_S (15) |
#define | UDCCONR_ET (0x03 << 13) /* Endpoint Type: */ |
#define | UDCCONR_ET_S (13) |
#define | UDCCONR_ET_INT (0x03 << 13) /* Interrupt */ |
#define | UDCCONR_ET_BULK (0x02 << 13) /* Bulk */ |
#define | UDCCONR_ET_ISO (0x01 << 13) /* Isochronous */ |
#define | UDCCONR_ET_NU (0x00 << 13) /* Not used */ |
#define | UDCCONR_ED (1 << 12) /* Endpoint Direction */ |
#define | UDCCONR_MPS (0x3ff << 2) /* Maximum Packet Size */ |
#define | UDCCONR_MPS_S (2) |
#define | UDCCONR_DE (1 << 1) /* Double Buffering Enable */ |
#define | UDCCONR_EE (1 << 0) /* Endpoint Enable */ |
#define | UDC_INT_FIFOERROR (0x2) |
#define | UDC_INT_PACKETCMP (0x1) |
#define | UDC_FNR_MASK (0x7ff) |
#define | UDCCSR_WR_MASK (UDCCSR_DME|UDCCSR_FST) |
#define | UDC_BCR_MASK (0x3ff) |
#define PHYS_UDCDN | ( | x | ) | (0x40600300 + ((x)<<2)) |
Definition at line 158 of file pxa27x-udc.h.
#define PUDCDN | ( | x | ) | (volatile u32 *)(io_p2v(PHYS_UDCDN((x)))) |
Definition at line 159 of file pxa27x-udc.h.
#define UDC_BCR_MASK (0x3ff) |
Definition at line 237 of file pxa27x-udc.h.
#define UDC_FNR_MASK (0x7ff) |
Definition at line 234 of file pxa27x-udc.h.
#define UDC_INT_FIFOERROR (0x2) |
Definition at line 231 of file pxa27x-udc.h.
#define UDC_INT_FIFOERROR (0x2) |
Definition at line 231 of file pxa27x-udc.h.
#define UDC_INT_PACKETCMP (0x1) |
Definition at line 232 of file pxa27x-udc.h.
#define UDC_INT_PACKETCMP (0x1) |
Definition at line 232 of file pxa27x-udc.h.
Definition at line 131 of file pxa27x-udc.h.
#define UDCBCR0 __REG(0x40600200) /* Byte Count Register - EP0 */ |
Definition at line 132 of file pxa27x-udc.h.
#define UDCBCRA __REG(0x40600204) /* Byte Count Register - EPA */ |
Definition at line 133 of file pxa27x-udc.h.
#define UDCBCRB __REG(0x40600208) /* Byte Count Register - EPB */ |
Definition at line 134 of file pxa27x-udc.h.
#define UDCBCRC __REG(0x4060020C) /* Byte Count Register - EPC */ |
Definition at line 135 of file pxa27x-udc.h.
#define UDCBCRD __REG(0x40600210) /* Byte Count Register - EPD */ |
Definition at line 136 of file pxa27x-udc.h.
#define UDCBCRE __REG(0x40600214) /* Byte Count Register - EPE */ |
Definition at line 137 of file pxa27x-udc.h.
#define UDCBCRF __REG(0x40600218) /* Byte Count Register - EPF */ |
Definition at line 138 of file pxa27x-udc.h.
#define UDCBCRG __REG(0x4060021C) /* Byte Count Register - EPG */ |
Definition at line 139 of file pxa27x-udc.h.
#define UDCBCRH __REG(0x40600220) /* Byte Count Register - EPH */ |
Definition at line 140 of file pxa27x-udc.h.
#define UDCBCRI __REG(0x40600224) /* Byte Count Register - EPI */ |
Definition at line 141 of file pxa27x-udc.h.
#define UDCBCRJ __REG(0x40600228) /* Byte Count Register - EPJ */ |
Definition at line 142 of file pxa27x-udc.h.
#define UDCBCRK __REG(0x4060022C) /* Byte Count Register - EPK */ |
Definition at line 143 of file pxa27x-udc.h.
#define UDCBCRL __REG(0x40600230) /* Byte Count Register - EPL */ |
Definition at line 144 of file pxa27x-udc.h.
#define UDCBCRM __REG(0x40600234) /* Byte Count Register - EPM */ |
Definition at line 145 of file pxa27x-udc.h.
#define UDCBCRN __REG(0x40600238) /* Byte Count Register - EPN */ |
Definition at line 146 of file pxa27x-udc.h.
#define UDCBCRP __REG(0x4060023C) /* Byte Count Register - EPP */ |
Definition at line 147 of file pxa27x-udc.h.
#define UDCBCRQ __REG(0x40600240) /* Byte Count Register - EPQ */ |
Definition at line 148 of file pxa27x-udc.h.
#define UDCBCRR __REG(0x40600244) /* Byte Count Register - EPR */ |
Definition at line 149 of file pxa27x-udc.h.
#define UDCBCRS __REG(0x40600248) /* Byte Count Register - EPS */ |
Definition at line 150 of file pxa27x-udc.h.
#define UDCBCRT __REG(0x4060024C) /* Byte Count Register - EPT */ |
Definition at line 151 of file pxa27x-udc.h.
#define UDCBCRU __REG(0x40600250) /* Byte Count Register - EPU */ |
Definition at line 152 of file pxa27x-udc.h.
#define UDCBCRV __REG(0x40600254) /* Byte Count Register - EPV */ |
Definition at line 153 of file pxa27x-udc.h.
#define UDCBCRW __REG(0x40600258) /* Byte Count Register - EPW */ |
Definition at line 154 of file pxa27x-udc.h.
#define UDCBCRX __REG(0x4060025C) /* Byte Count Register - EPX */ |
Definition at line 155 of file pxa27x-udc.h.
Definition at line 185 of file pxa27x-udc.h.
#define UDCCONR_AISN (0x07 << 19) /* Alternate Interface Number */ |
Definition at line 214 of file pxa27x-udc.h.
#define UDCCONR_AISN_S (19) |
Definition at line 215 of file pxa27x-udc.h.
#define UDCCONR_CN (0x03 << 25) /* Configuration Number */ |
Definition at line 210 of file pxa27x-udc.h.
#define UDCCONR_CN_S (25) |
Definition at line 211 of file pxa27x-udc.h.
#define UDCCONR_DE (1 << 1) /* Double Buffering Enable */ |
Definition at line 227 of file pxa27x-udc.h.
#define UDCCONR_ED (1 << 12) /* Endpoint Direction */ |
Definition at line 224 of file pxa27x-udc.h.
#define UDCCONR_EE (1 << 0) /* Endpoint Enable */ |
Definition at line 228 of file pxa27x-udc.h.
#define UDCCONR_EN (0x0f << 15) /* Endpoint Number */ |
Definition at line 216 of file pxa27x-udc.h.
#define UDCCONR_EN_S (15) |
Definition at line 217 of file pxa27x-udc.h.
#define UDCCONR_ET (0x03 << 13) /* Endpoint Type: */ |
Definition at line 218 of file pxa27x-udc.h.
#define UDCCONR_ET_BULK (0x02 << 13) /* Bulk */ |
Definition at line 221 of file pxa27x-udc.h.
#define UDCCONR_ET_INT (0x03 << 13) /* Interrupt */ |
Definition at line 220 of file pxa27x-udc.h.
#define UDCCONR_ET_ISO (0x01 << 13) /* Isochronous */ |
Definition at line 222 of file pxa27x-udc.h.
#define UDCCONR_ET_NU (0x00 << 13) /* Not used */ |
Definition at line 223 of file pxa27x-udc.h.
#define UDCCONR_ET_S (13) |
Definition at line 219 of file pxa27x-udc.h.
#define UDCCONR_IN (0x07 << 22) /* Interface Number */ |
Definition at line 212 of file pxa27x-udc.h.
#define UDCCONR_IN_S (22) |
Definition at line 213 of file pxa27x-udc.h.
#define UDCCONR_MPS (0x3ff << 2) /* Maximum Packet Size */ |
Definition at line 225 of file pxa27x-udc.h.
#define UDCCONR_MPS_S (2) |
Definition at line 226 of file pxa27x-udc.h.
#define UDCCR __REG(0x40600000) /* UDC Control Register */ |
Definition at line 8 of file pxa27x-udc.h.
#define UDCCR_AAISN |
Definition at line 18 of file pxa27x-udc.h.
#define UDCCR_AAISN_S 5 |
Definition at line 19 of file pxa27x-udc.h.
#define UDCCR_AALTHNP |
Definition at line 10 of file pxa27x-udc.h.
#define UDCCR_ACN (0x03 << 11) /* Active UDC configuration Number */ |
Definition at line 14 of file pxa27x-udc.h.
#define UDCCR_ACN_S 11 |
Definition at line 15 of file pxa27x-udc.h.
#define UDCCR_AHNP |
Definition at line 11 of file pxa27x-udc.h.
#define UDCCR_AIN (0x07 << 8) /* Active UDC interface Number */ |
Definition at line 16 of file pxa27x-udc.h.
#define UDCCR_AIN_S 8 |
Definition at line 17 of file pxa27x-udc.h.
#define UDCCR_BHNP |
Definition at line 12 of file pxa27x-udc.h.
Definition at line 13 of file pxa27x-udc.h.
#define UDCCR_EMCE |
Definition at line 21 of file pxa27x-udc.h.
#define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ |
Definition at line 9 of file pxa27x-udc.h.
#define UDCCR_SMAC |
Definition at line 20 of file pxa27x-udc.h.
#define UDCCR_UDA (1 << 1) /* UDC Active */ |
Definition at line 23 of file pxa27x-udc.h.
#define UDCCR_UDE (1 << 0) /* UDC Enable */ |
Definition at line 24 of file pxa27x-udc.h.
#define UDCCR_UDR (1 << 2) /* UDC Resume */ |
Definition at line 22 of file pxa27x-udc.h.
#define UDCCRA __REG(0x40600404) /* Configuration register EPA */ |
Definition at line 186 of file pxa27x-udc.h.
#define UDCCRB __REG(0x40600408) /* Configuration register EPB */ |
Definition at line 187 of file pxa27x-udc.h.
#define UDCCRC __REG(0x4060040C) /* Configuration register EPC */ |
Definition at line 188 of file pxa27x-udc.h.
#define UDCCRD __REG(0x40600410) /* Configuration register EPD */ |
Definition at line 189 of file pxa27x-udc.h.
#define UDCCRE __REG(0x40600414) /* Configuration register EPE */ |
Definition at line 190 of file pxa27x-udc.h.
#define UDCCRF __REG(0x40600418) /* Configuration register EPF */ |
Definition at line 191 of file pxa27x-udc.h.
#define UDCCRG __REG(0x4060041C) /* Configuration register EPG */ |
Definition at line 192 of file pxa27x-udc.h.
#define UDCCRH __REG(0x40600420) /* Configuration register EPH */ |
Definition at line 193 of file pxa27x-udc.h.
#define UDCCRI __REG(0x40600424) /* Configuration register EPI */ |
Definition at line 194 of file pxa27x-udc.h.
#define UDCCRJ __REG(0x40600428) /* Configuration register EPJ */ |
Definition at line 195 of file pxa27x-udc.h.
#define UDCCRK __REG(0x4060042C) /* Configuration register EPK */ |
Definition at line 196 of file pxa27x-udc.h.
#define UDCCRL __REG(0x40600430) /* Configuration register EPL */ |
Definition at line 197 of file pxa27x-udc.h.
#define UDCCRM __REG(0x40600434) /* Configuration register EPM */ |
Definition at line 198 of file pxa27x-udc.h.
#define UDCCRN __REG(0x40600438) /* Configuration register EPN */ |
Definition at line 199 of file pxa27x-udc.h.
#define UDCCRP __REG(0x4060043C) /* Configuration register EPP */ |
Definition at line 200 of file pxa27x-udc.h.
#define UDCCRQ __REG(0x40600440) /* Configuration register EPQ */ |
Definition at line 201 of file pxa27x-udc.h.
#define UDCCRR __REG(0x40600444) /* Configuration register EPR */ |
Definition at line 202 of file pxa27x-udc.h.
#define UDCCRS __REG(0x40600448) /* Configuration register EPS */ |
Definition at line 203 of file pxa27x-udc.h.
#define UDCCRT __REG(0x4060044C) /* Configuration register EPT */ |
Definition at line 204 of file pxa27x-udc.h.
#define UDCCRU __REG(0x40600450) /* Configuration register EPU */ |
Definition at line 205 of file pxa27x-udc.h.
#define UDCCRV __REG(0x40600454) /* Configuration register EPV */ |
Definition at line 206 of file pxa27x-udc.h.
#define UDCCRW __REG(0x40600458) /* Configuration register EPW */ |
Definition at line 207 of file pxa27x-udc.h.
#define UDCCRX __REG(0x4060045C) /* Configuration register EPX */ |
Definition at line 208 of file pxa27x-udc.h.
Definition at line 84 of file pxa27x-udc.h.
#define UDCCSR0 __REG(0x40600100) /* UDC Control/Status register - Endpoint 0 */ |
Definition at line 85 of file pxa27x-udc.h.
#define UDCCSR0_DME (1 << 3) /* DMA Enable */ |
Definition at line 90 of file pxa27x-udc.h.
#define UDCCSR0_FST (1 << 5) /* Force Stall */ |
Definition at line 88 of file pxa27x-udc.h.
Definition at line 91 of file pxa27x-udc.h.
Definition at line 92 of file pxa27x-udc.h.
Definition at line 93 of file pxa27x-udc.h.
#define UDCCSR0_RNE (1 << 6) /* Receive FIFO Not Empty */ |
Definition at line 87 of file pxa27x-udc.h.
#define UDCCSR0_SA (1 << 7) /* Setup Active */ |
Definition at line 86 of file pxa27x-udc.h.
#define UDCCSR0_SST (1 << 4) /* Sent Stall */ |
Definition at line 89 of file pxa27x-udc.h.
Definition at line 122 of file pxa27x-udc.h.
Definition at line 123 of file pxa27x-udc.h.
#define UDCCSR_DME (1 << 3) /* DMA Enable */ |
Definition at line 126 of file pxa27x-udc.h.
Definition at line 119 of file pxa27x-udc.h.
#define UDCCSR_FEF (1 << 8) /* Flush Endpoint FIFO */ |
Definition at line 120 of file pxa27x-udc.h.
Definition at line 129 of file pxa27x-udc.h.
#define UDCCSR_FST (1 << 5) /* Force STALL */ |
Definition at line 124 of file pxa27x-udc.h.
#define UDCCSR_PC (1 << 1) /* Packet Complete */ |
Definition at line 128 of file pxa27x-udc.h.
Definition at line 121 of file pxa27x-udc.h.
#define UDCCSR_SST (1 << 4) /* Sent STALL */ |
Definition at line 125 of file pxa27x-udc.h.
#define UDCCSR_TRN (1 << 2) /* Tx/Rx NAK */ |
Definition at line 127 of file pxa27x-udc.h.
#define UDCCSR_WR_MASK (UDCCSR_DME|UDCCSR_FST) |
Definition at line 236 of file pxa27x-udc.h.
#define UDCCSRA __REG(0x40600104) /* UDC Control/Status register - Endpoint A */ |
Definition at line 95 of file pxa27x-udc.h.
#define UDCCSRB __REG(0x40600108) /* UDC Control/Status register - Endpoint B */ |
Definition at line 96 of file pxa27x-udc.h.
#define UDCCSRC __REG(0x4060010C) /* UDC Control/Status register - Endpoint C */ |
Definition at line 97 of file pxa27x-udc.h.
#define UDCCSRD __REG(0x40600110) /* UDC Control/Status register - Endpoint D */ |
Definition at line 98 of file pxa27x-udc.h.
#define UDCCSRE __REG(0x40600114) /* UDC Control/Status register - Endpoint E */ |
Definition at line 99 of file pxa27x-udc.h.
#define UDCCSRF __REG(0x40600118) /* UDC Control/Status register - Endpoint F */ |
Definition at line 100 of file pxa27x-udc.h.
#define UDCCSRG __REG(0x4060011C) /* UDC Control/Status register - Endpoint G */ |
Definition at line 101 of file pxa27x-udc.h.
#define UDCCSRH __REG(0x40600120) /* UDC Control/Status register - Endpoint H */ |
Definition at line 102 of file pxa27x-udc.h.
#define UDCCSRI __REG(0x40600124) /* UDC Control/Status register - Endpoint I */ |
Definition at line 103 of file pxa27x-udc.h.
#define UDCCSRJ __REG(0x40600128) /* UDC Control/Status register - Endpoint J */ |
Definition at line 104 of file pxa27x-udc.h.
#define UDCCSRK __REG(0x4060012C) /* UDC Control/Status register - Endpoint K */ |
Definition at line 105 of file pxa27x-udc.h.
#define UDCCSRL __REG(0x40600130) /* UDC Control/Status register - Endpoint L */ |
Definition at line 106 of file pxa27x-udc.h.
#define UDCCSRM __REG(0x40600134) /* UDC Control/Status register - Endpoint M */ |
Definition at line 107 of file pxa27x-udc.h.
#define UDCCSRN __REG(0x40600138) /* UDC Control/Status register - Endpoint N */ |
Definition at line 108 of file pxa27x-udc.h.
#define UDCCSRP __REG(0x4060013C) /* UDC Control/Status register - Endpoint P */ |
Definition at line 109 of file pxa27x-udc.h.
#define UDCCSRQ __REG(0x40600140) /* UDC Control/Status register - Endpoint Q */ |
Definition at line 110 of file pxa27x-udc.h.
#define UDCCSRR __REG(0x40600144) /* UDC Control/Status register - Endpoint R */ |
Definition at line 111 of file pxa27x-udc.h.
#define UDCCSRS __REG(0x40600148) /* UDC Control/Status register - Endpoint S */ |
Definition at line 112 of file pxa27x-udc.h.
#define UDCCSRT __REG(0x4060014C) /* UDC Control/Status register - Endpoint T */ |
Definition at line 113 of file pxa27x-udc.h.
#define UDCCSRU __REG(0x40600150) /* UDC Control/Status register - Endpoint U */ |
Definition at line 114 of file pxa27x-udc.h.
#define UDCCSRV __REG(0x40600154) /* UDC Control/Status register - Endpoint V */ |
Definition at line 115 of file pxa27x-udc.h.
#define UDCCSRW __REG(0x40600158) /* UDC Control/Status register - Endpoint W */ |
Definition at line 116 of file pxa27x-udc.h.
#define UDCCSRX __REG(0x4060015C) /* UDC Control/Status register - Endpoint X */ |
Definition at line 117 of file pxa27x-udc.h.
Definition at line 157 of file pxa27x-udc.h.
#define UDCDR0 __REG(0x40600300) /* Data Register - EP0 */ |
Definition at line 160 of file pxa27x-udc.h.
#define UDCDRA __REG(0x40600304) /* Data Register - EPA */ |
Definition at line 161 of file pxa27x-udc.h.
#define UDCDRB __REG(0x40600308) /* Data Register - EPB */ |
Definition at line 162 of file pxa27x-udc.h.
#define UDCDRC __REG(0x4060030C) /* Data Register - EPC */ |
Definition at line 163 of file pxa27x-udc.h.
#define UDCDRD __REG(0x40600310) /* Data Register - EPD */ |
Definition at line 164 of file pxa27x-udc.h.
#define UDCDRE __REG(0x40600314) /* Data Register - EPE */ |
Definition at line 165 of file pxa27x-udc.h.
#define UDCDRF __REG(0x40600318) /* Data Register - EPF */ |
Definition at line 166 of file pxa27x-udc.h.
#define UDCDRG __REG(0x4060031C) /* Data Register - EPG */ |
Definition at line 167 of file pxa27x-udc.h.
#define UDCDRH __REG(0x40600320) /* Data Register - EPH */ |
Definition at line 168 of file pxa27x-udc.h.
#define UDCDRI __REG(0x40600324) /* Data Register - EPI */ |
Definition at line 169 of file pxa27x-udc.h.
#define UDCDRJ __REG(0x40600328) /* Data Register - EPJ */ |
Definition at line 170 of file pxa27x-udc.h.
#define UDCDRK __REG(0x4060032C) /* Data Register - EPK */ |
Definition at line 171 of file pxa27x-udc.h.
#define UDCDRL __REG(0x40600330) /* Data Register - EPL */ |
Definition at line 172 of file pxa27x-udc.h.
#define UDCDRM __REG(0x40600334) /* Data Register - EPM */ |
Definition at line 173 of file pxa27x-udc.h.
#define UDCDRN __REG(0x40600338) /* Data Register - EPN */ |
Definition at line 174 of file pxa27x-udc.h.
#define UDCDRP __REG(0x4060033C) /* Data Register - EPP */ |
Definition at line 175 of file pxa27x-udc.h.
#define UDCDRQ __REG(0x40600340) /* Data Register - EPQ */ |
Definition at line 176 of file pxa27x-udc.h.
#define UDCDRR __REG(0x40600344) /* Data Register - EPR */ |
Definition at line 177 of file pxa27x-udc.h.
#define UDCDRS __REG(0x40600348) /* Data Register - EPS */ |
Definition at line 178 of file pxa27x-udc.h.
#define UDCDRT __REG(0x4060034C) /* Data Register - EPT */ |
Definition at line 179 of file pxa27x-udc.h.
#define UDCDRU __REG(0x40600350) /* Data Register - EPU */ |
Definition at line 180 of file pxa27x-udc.h.
#define UDCDRV __REG(0x40600354) /* Data Register - EPV */ |
Definition at line 181 of file pxa27x-udc.h.
#define UDCDRW __REG(0x40600358) /* Data Register - EPW */ |
Definition at line 182 of file pxa27x-udc.h.
#define UDCDRX __REG(0x4060035C) /* Data Register - EPX */ |
Definition at line 183 of file pxa27x-udc.h.
#define UDCFNR __REG(0x40600014) /* UDC Frame Number Register */ |
Definition at line 50 of file pxa27x-udc.h.
#define UDCICR0 __REG(0x40600004) /* UDC Interrupt Control Register0 */ |
Definition at line 26 of file pxa27x-udc.h.
#define UDCICR1 __REG(0x40600008) /* UDC Interrupt Control Register1 */ |
Definition at line 27 of file pxa27x-udc.h.
#define UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */ |
Definition at line 35 of file pxa27x-udc.h.
Definition at line 39 of file pxa27x-udc.h.
#define UDCICR1_IERU (1 << 29) /* IntEn - Resume */ |
Definition at line 37 of file pxa27x-udc.h.
Definition at line 36 of file pxa27x-udc.h.
#define UDCICR1_IESU (1 << 28) /* IntEn - Suspend */ |
Definition at line 38 of file pxa27x-udc.h.
Definition at line 28 of file pxa27x-udc.h.
Definition at line 34 of file pxa27x-udc.h.
Definition at line 29 of file pxa27x-udc.h.
#define UDCISR0 __REG(0x4060000C) /* UDC Interrupt Status Register 0 */ |
Definition at line 41 of file pxa27x-udc.h.
#define UDCISR1 __REG(0x40600010) /* UDC Interrupt Status Register 1 */ |
Definition at line 42 of file pxa27x-udc.h.
#define UDCISR1_IRCC (1 << 31) /* IntReq - Configuration Change */ |
Definition at line 44 of file pxa27x-udc.h.
Definition at line 48 of file pxa27x-udc.h.
#define UDCISR1_IRRU (1 << 29) /* IntReq - Resume */ |
Definition at line 46 of file pxa27x-udc.h.
Definition at line 45 of file pxa27x-udc.h.
#define UDCISR1_IRSU (1 << 28) /* IntReq - Suspend */ |
Definition at line 47 of file pxa27x-udc.h.
Definition at line 43 of file pxa27x-udc.h.
#define UDCOTGICR __REG(0x40600018) /* UDC On-The-Go interrupt control */ |
Definition at line 51 of file pxa27x-udc.h.
#define UDCOTGICR_IEIDF |
Definition at line 64 of file pxa27x-udc.h.
#define UDCOTGICR_IEIDR |
Definition at line 63 of file pxa27x-udc.h.
#define UDCOTGICR_IESDF |
Definition at line 62 of file pxa27x-udc.h.
#define UDCOTGICR_IESDR |
Definition at line 61 of file pxa27x-udc.h.
#define UDCOTGICR_IESF (1 << 24) /* OTG SET_FEATURE command recvd */ |
Definition at line 52 of file pxa27x-udc.h.
#define UDCOTGICR_IESVF |
Definition at line 60 of file pxa27x-udc.h.
#define UDCOTGICR_IESVR |
Definition at line 59 of file pxa27x-udc.h.
#define UDCOTGICR_IEVV40F |
Definition at line 56 of file pxa27x-udc.h.
#define UDCOTGICR_IEVV40R |
Definition at line 55 of file pxa27x-udc.h.
#define UDCOTGICR_IEVV44F |
Definition at line 58 of file pxa27x-udc.h.
#define UDCOTGICR_IEVV44R |
Definition at line 57 of file pxa27x-udc.h.
#define UDCOTGICR_IEXF |
Definition at line 54 of file pxa27x-udc.h.
#define UDCOTGICR_IEXR |
Definition at line 53 of file pxa27x-udc.h.
#define UP2OCR __REG(0x40600020) /* USB Port 2 Output Control register */ |
Definition at line 66 of file pxa27x-udc.h.
#define UP2OCR_CPVEN (1 << 0) /* Charge Pump Vbus Enable */ |
Definition at line 69 of file pxa27x-udc.h.
#define UP2OCR_CPVPE (1 << 1) /* Charge Pump Vbus Pulse Enable */ |
Definition at line 70 of file pxa27x-udc.h.
#define UP2OCR_DMPDE (1 << 3) /* Host Port 2 Transceiver D- Pull Down Enable */ |
Definition at line 72 of file pxa27x-udc.h.
#define UP2OCR_DMPUBE (1 << 7) /* Host Port 2 Transceiver D- Pull Up Bypass Enable */ |
Definition at line 76 of file pxa27x-udc.h.
#define UP2OCR_DMPUE (1 << 5) /* Host Port 2 Transceiver D- Pull Up Enable */ |
Definition at line 74 of file pxa27x-udc.h.
#define UP2OCR_DPPDE (1 << 2) /* Host Port 2 Transceiver D+ Pull Down Enable */ |
Definition at line 71 of file pxa27x-udc.h.
#define UP2OCR_DPPUBE (1 << 6) /* Host Port 2 Transceiver D+ Pull Up Bypass Enable */ |
Definition at line 75 of file pxa27x-udc.h.
#define UP2OCR_DPPUE (1 << 4) /* Host Port 2 Transceiver D+ Pull Up Enable */ |
Definition at line 73 of file pxa27x-udc.h.
#define UP2OCR_EXSP (1 << 8) /* External Transceiver Speed Control */ |
Definition at line 77 of file pxa27x-udc.h.
#define UP2OCR_EXSUS (1 << 9) /* External Transceiver Speed Enable */ |
Definition at line 78 of file pxa27x-udc.h.
#define UP2OCR_HXOE (1 << 17) /* Host Port 2 Transceiver Output Enable */ |
Definition at line 81 of file pxa27x-udc.h.
#define UP2OCR_HXS (1 << 16) /* Host Port 2 Transceiver Output Select */ |
Definition at line 80 of file pxa27x-udc.h.
Definition at line 79 of file pxa27x-udc.h.
Definition at line 82 of file pxa27x-udc.h.
#define UP3OCR __REG(0x40600024) /* USB Port 2 Output Control register */ |
Definition at line 67 of file pxa27x-udc.h.