Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | m66592_pipe_info |
struct | m66592_request |
struct | m66592_ep |
struct | m66592 |
Macros | |
#define | M66592_SYSCFG 0x00 |
#define | M66592_XTAL 0xC000 /* b15-14: Crystal selection */ |
#define | M66592_XTAL48 0x8000 /* 48MHz */ |
#define | M66592_XTAL24 0x4000 /* 24MHz */ |
#define | M66592_XTAL12 0x0000 /* 12MHz */ |
#define | M66592_XCKE 0x2000 /* b13: External clock enable */ |
#define | M66592_RCKE 0x1000 /* b12: Register clock enable */ |
#define | M66592_PLLC 0x0800 /* b11: PLL control */ |
#define | M66592_SCKE 0x0400 /* b10: USB clock enable */ |
#define | M66592_ATCKM 0x0100 /* b8: Automatic clock supply */ |
#define | M66592_HSE 0x0080 /* b7: Hi-speed enable */ |
#define | M66592_DCFM 0x0040 /* b6: Controller function select */ |
#define | M66592_DMRPD 0x0020 /* b5: D- pull down control */ |
#define | M66592_DPRPU 0x0010 /* b4: D+ pull up control */ |
#define | M66592_FSRPC 0x0004 /* b2: Full-speed receiver enable */ |
#define | M66592_PCUT 0x0002 /* b1: Low power sleep enable */ |
#define | M66592_USBE 0x0001 /* b0: USB module operation enable */ |
#define | M66592_SYSSTS 0x02 |
#define | M66592_LNST 0x0003 /* b1-0: D+, D- line status */ |
#define | M66592_SE1 0x0003 /* SE1 */ |
#define | M66592_KSTS 0x0002 /* K State */ |
#define | M66592_JSTS 0x0001 /* J State */ |
#define | M66592_SE0 0x0000 /* SE0 */ |
#define | M66592_DVSTCTR 0x04 |
#define | M66592_WKUP 0x0100 /* b8: Remote wakeup */ |
#define | M66592_RWUPE 0x0080 /* b7: Remote wakeup sense */ |
#define | M66592_USBRST 0x0040 /* b6: USB reset enable */ |
#define | M66592_RESUME 0x0020 /* b5: Resume enable */ |
#define | M66592_UACT 0x0010 /* b4: USB bus enable */ |
#define | M66592_RHST 0x0003 /* b1-0: Reset handshake status */ |
#define | M66592_HSMODE 0x0003 /* Hi-Speed mode */ |
#define | M66592_FSMODE 0x0002 /* Full-Speed mode */ |
#define | M66592_HSPROC 0x0001 /* HS handshake is processing */ |
#define | M66592_TESTMODE 0x06 |
#define | M66592_UTST 0x000F /* b4-0: Test select */ |
#define | M66592_H_TST_PACKET 0x000C /* HOST TEST Packet */ |
#define | M66592_H_TST_SE0_NAK 0x000B /* HOST TEST SE0 NAK */ |
#define | M66592_H_TST_K 0x000A /* HOST TEST K */ |
#define | M66592_H_TST_J 0x0009 /* HOST TEST J */ |
#define | M66592_H_TST_NORMAL 0x0000 /* HOST Normal Mode */ |
#define | M66592_P_TST_PACKET 0x0004 /* PERI TEST Packet */ |
#define | M66592_P_TST_SE0_NAK 0x0003 /* PERI TEST SE0 NAK */ |
#define | M66592_P_TST_K 0x0002 /* PERI TEST K */ |
#define | M66592_P_TST_J 0x0001 /* PERI TEST J */ |
#define | M66592_P_TST_NORMAL 0x0000 /* PERI Normal Mode */ |
#define | M66592_CFBCFG 0x0A |
#define | M66592_D0FBCFG 0x0C |
#define | M66592_LITTLE 0x0100 /* b8: Little endian mode */ |
#define | M66592_PINCFG 0x0A |
#define | M66592_LDRV 0x8000 /* b15: Drive Current Adjust */ |
#define | M66592_BIGEND 0x0100 /* b8: Big endian mode */ |
#define | M66592_DMA0CFG 0x0C |
#define | M66592_DMA1CFG 0x0E |
#define | M66592_DREQA 0x4000 /* b14: Dreq active select */ |
#define | M66592_BURST 0x2000 /* b13: Burst mode */ |
#define | M66592_DACKA 0x0400 /* b10: Dack active select */ |
#define | M66592_DFORM 0x0380 /* b9-7: DMA mode select */ |
#define | M66592_CPU_ADR_RD_WR 0x0000 /* Address + RD/WR mode (CPU bus) */ |
#define | M66592_CPU_DACK_RD_WR 0x0100 /* DACK + RD/WR mode (CPU bus) */ |
#define | M66592_CPU_DACK_ONLY 0x0180 /* DACK only mode (CPU bus) */ |
#define | M66592_SPLIT_DACK_ONLY 0x0200 /* DACK only mode (SPLIT bus) */ |
#define | M66592_SPLIT_DACK_DSTB 0x0300 /* DACK + DSTB0 mode (SPLIT bus) */ |
#define | M66592_DENDA 0x0040 /* b6: Dend active select */ |
#define | M66592_PKTM 0x0020 /* b5: Packet mode */ |
#define | M66592_DENDE 0x0010 /* b4: Dend enable */ |
#define | M66592_OBUS 0x0004 /* b2: OUTbus mode */ |
#define | M66592_CFIFO 0x10 |
#define | M66592_D0FIFO 0x14 |
#define | M66592_D1FIFO 0x18 |
#define | M66592_CFIFOSEL 0x1E |
#define | M66592_D0FIFOSEL 0x24 |
#define | M66592_D1FIFOSEL 0x2A |
#define | M66592_RCNT 0x8000 /* b15: Read count mode */ |
#define | M66592_REW 0x4000 /* b14: Buffer rewind */ |
#define | M66592_DCLRM 0x2000 /* b13: DMA buffer clear mode */ |
#define | M66592_DREQE 0x1000 /* b12: DREQ output enable */ |
#define | M66592_MBW_8 0x0000 /* 8bit */ |
#define | M66592_MBW_16 0x0400 /* 16bit */ |
#define | M66592_MBW_32 0x0800 /* 32bit */ |
#define | M66592_TRENB 0x0200 /* b9: Transaction counter enable */ |
#define | M66592_TRCLR 0x0100 /* b8: Transaction counter clear */ |
#define | M66592_DEZPM 0x0080 /* b7: Zero-length packet mode */ |
#define | M66592_ISEL 0x0020 /* b5: DCP FIFO port direction select */ |
#define | M66592_CURPIPE 0x0007 /* b2-0: PIPE select */ |
#define | M66592_CFIFOCTR 0x20 |
#define | M66592_D0FIFOCTR 0x26 |
#define | M66592_D1FIFOCTR 0x2c |
#define | M66592_BVAL 0x8000 /* b15: Buffer valid flag */ |
#define | M66592_BCLR 0x4000 /* b14: Buffer clear */ |
#define | M66592_FRDY 0x2000 /* b13: FIFO ready */ |
#define | M66592_DTLN 0x0FFF /* b11-0: FIFO received data length */ |
#define | M66592_CFIFOSIE 0x22 |
#define | M66592_TGL 0x8000 /* b15: Buffer toggle */ |
#define | M66592_SCLR 0x4000 /* b14: Buffer clear */ |
#define | M66592_SBUSY 0x2000 /* b13: SIE_FIFO busy */ |
#define | M66592_D0FIFOTRN 0x28 |
#define | M66592_D1FIFOTRN 0x2E |
#define | M66592_TRNCNT 0xFFFF /* b15-0: Transaction counter */ |
#define | M66592_INTENB0 0x30 |
#define | M66592_VBSE 0x8000 /* b15: VBUS interrupt */ |
#define | M66592_RSME 0x4000 /* b14: Resume interrupt */ |
#define | M66592_SOFE 0x2000 /* b13: Frame update interrupt */ |
#define | M66592_DVSE 0x1000 /* b12: Device state transition interrupt */ |
#define | M66592_CTRE 0x0800 /* b11: Control transfer stage transition irq */ |
#define | M66592_BEMPE 0x0400 /* b10: Buffer empty interrupt */ |
#define | M66592_NRDYE 0x0200 /* b9: Buffer not ready interrupt */ |
#define | M66592_BRDYE 0x0100 /* b8: Buffer ready interrupt */ |
#define | M66592_URST 0x0080 /* b7: USB reset detected interrupt */ |
#define | M66592_SADR 0x0040 /* b6: Set address executed interrupt */ |
#define | M66592_SCFG 0x0020 /* b5: Set configuration executed interrupt */ |
#define | M66592_SUSP 0x0010 /* b4: Suspend detected interrupt */ |
#define | M66592_WDST 0x0008 /* b3: Control write data stage completed irq */ |
#define | M66592_RDST 0x0004 /* b2: Control read data stage completed irq */ |
#define | M66592_CMPL 0x0002 /* b1: Control transfer complete interrupt */ |
#define | M66592_SERR 0x0001 /* b0: Sequence error interrupt */ |
#define | M66592_INTENB1 0x32 |
#define | M66592_BCHGE 0x4000 /* b14: USB us chenge interrupt */ |
#define | M66592_DTCHE 0x1000 /* b12: Detach sense interrupt */ |
#define | M66592_SIGNE 0x0020 /* b5: SETUP IGNORE interrupt */ |
#define | M66592_SACKE 0x0010 /* b4: SETUP ACK interrupt */ |
#define | M66592_BRDYM 0x0004 /* b2: BRDY clear timing */ |
#define | M66592_INTL 0x0002 /* b1: Interrupt sense select */ |
#define | M66592_PCSE 0x0001 /* b0: PCUT enable by CS assert */ |
#define | M66592_BRDYENB 0x36 |
#define | M66592_BRDYSTS 0x46 |
#define | M66592_BRDY7 0x0080 /* b7: PIPE7 */ |
#define | M66592_BRDY6 0x0040 /* b6: PIPE6 */ |
#define | M66592_BRDY5 0x0020 /* b5: PIPE5 */ |
#define | M66592_BRDY4 0x0010 /* b4: PIPE4 */ |
#define | M66592_BRDY3 0x0008 /* b3: PIPE3 */ |
#define | M66592_BRDY2 0x0004 /* b2: PIPE2 */ |
#define | M66592_BRDY1 0x0002 /* b1: PIPE1 */ |
#define | M66592_BRDY0 0x0001 /* b1: PIPE0 */ |
#define | M66592_NRDYENB 0x38 |
#define | M66592_NRDYSTS 0x48 |
#define | M66592_NRDY7 0x0080 /* b7: PIPE7 */ |
#define | M66592_NRDY6 0x0040 /* b6: PIPE6 */ |
#define | M66592_NRDY5 0x0020 /* b5: PIPE5 */ |
#define | M66592_NRDY4 0x0010 /* b4: PIPE4 */ |
#define | M66592_NRDY3 0x0008 /* b3: PIPE3 */ |
#define | M66592_NRDY2 0x0004 /* b2: PIPE2 */ |
#define | M66592_NRDY1 0x0002 /* b1: PIPE1 */ |
#define | M66592_NRDY0 0x0001 /* b1: PIPE0 */ |
#define | M66592_BEMPENB 0x3A |
#define | M66592_BEMPSTS 0x4A |
#define | M66592_BEMP7 0x0080 /* b7: PIPE7 */ |
#define | M66592_BEMP6 0x0040 /* b6: PIPE6 */ |
#define | M66592_BEMP5 0x0020 /* b5: PIPE5 */ |
#define | M66592_BEMP4 0x0010 /* b4: PIPE4 */ |
#define | M66592_BEMP3 0x0008 /* b3: PIPE3 */ |
#define | M66592_BEMP2 0x0004 /* b2: PIPE2 */ |
#define | M66592_BEMP1 0x0002 /* b1: PIPE1 */ |
#define | M66592_BEMP0 0x0001 /* b0: PIPE0 */ |
#define | M66592_SOFCFG 0x3C |
#define | M66592_SOFM 0x000C /* b3-2: SOF palse mode */ |
#define | M66592_SOF_125US 0x0008 /* SOF OUT 125us uFrame Signal */ |
#define | M66592_SOF_1MS 0x0004 /* SOF OUT 1ms Frame Signal */ |
#define | M66592_SOF_DISABLE 0x0000 /* SOF OUT Disable */ |
#define | M66592_INTSTS0 0x40 |
#define | M66592_VBINT 0x8000 /* b15: VBUS interrupt */ |
#define | M66592_RESM 0x4000 /* b14: Resume interrupt */ |
#define | M66592_SOFR 0x2000 /* b13: SOF frame update interrupt */ |
#define | M66592_DVST 0x1000 /* b12: Device state transition */ |
#define | M66592_CTRT 0x0800 /* b11: Control stage transition */ |
#define | M66592_BEMP 0x0400 /* b10: Buffer empty interrupt */ |
#define | M66592_NRDY 0x0200 /* b9: Buffer not ready interrupt */ |
#define | M66592_BRDY 0x0100 /* b8: Buffer ready interrupt */ |
#define | M66592_VBSTS 0x0080 /* b7: VBUS input port */ |
#define | M66592_DVSQ 0x0070 /* b6-4: Device state */ |
#define | M66592_DS_SPD_CNFG 0x0070 /* Suspend Configured */ |
#define | M66592_DS_SPD_ADDR 0x0060 /* Suspend Address */ |
#define | M66592_DS_SPD_DFLT 0x0050 /* Suspend Default */ |
#define | M66592_DS_SPD_POWR 0x0040 /* Suspend Powered */ |
#define | M66592_DS_SUSP 0x0040 /* Suspend */ |
#define | M66592_DS_CNFG 0x0030 /* Configured */ |
#define | M66592_DS_ADDS 0x0020 /* Address */ |
#define | M66592_DS_DFLT 0x0010 /* Default */ |
#define | M66592_DS_POWR 0x0000 /* Powered */ |
#define | M66592_DVSQS 0x0030 /* b5-4: Device state */ |
#define | M66592_VALID 0x0008 /* b3: Setup packet detected flag */ |
#define | M66592_CTSQ 0x0007 /* b2-0: Control transfer stage */ |
#define | M66592_CS_SQER 0x0006 /* Sequence error */ |
#define | M66592_CS_WRND 0x0005 /* Control write nodata status */ |
#define | M66592_CS_WRSS 0x0004 /* Control write status stage */ |
#define | M66592_CS_WRDS 0x0003 /* Control write data stage */ |
#define | M66592_CS_RDSS 0x0002 /* Control read status stage */ |
#define | M66592_CS_RDDS 0x0001 /* Control read data stage */ |
#define | M66592_CS_IDST 0x0000 /* Idle or setup stage */ |
#define | M66592_INTSTS1 0x42 |
#define | M66592_BCHG 0x4000 /* b14: USB bus chenge interrupt */ |
#define | M66592_DTCH 0x1000 /* b12: Detach sense interrupt */ |
#define | M66592_SIGN 0x0020 /* b5: SETUP IGNORE interrupt */ |
#define | M66592_SACK 0x0010 /* b4: SETUP ACK interrupt */ |
#define | M66592_FRMNUM 0x4C |
#define | M66592_OVRN 0x8000 /* b15: Overrun error */ |
#define | M66592_CRCE 0x4000 /* b14: Received data error */ |
#define | M66592_SOFRM 0x0800 /* b11: SOF output mode */ |
#define | M66592_FRNM 0x07FF /* b10-0: Frame number */ |
#define | M66592_UFRMNUM 0x4E |
#define | M66592_UFRNM 0x0007 /* b2-0: Micro frame number */ |
#define | M66592_RECOVER 0x50 |
#define | M66592_STSRECOV 0x0700 /* Status recovery */ |
#define | M66592_STSR_HI 0x0400 /* FULL(0) or HI(1) Speed */ |
#define | M66592_STSR_DEFAULT 0x0100 /* Default state */ |
#define | M66592_STSR_ADDRESS 0x0200 /* Address state */ |
#define | M66592_STSR_CONFIG 0x0300 /* Configured state */ |
#define | M66592_USBADDR 0x007F /* b6-0: USB address */ |
#define | M66592_USBREQ 0x54 |
#define | M66592_bRequest 0xFF00 /* b15-8: bRequest */ |
#define | M66592_GET_STATUS 0x0000 |
#define | M66592_CLEAR_FEATURE 0x0100 |
#define | M66592_ReqRESERVED 0x0200 |
#define | M66592_SET_FEATURE 0x0300 |
#define | M66592_ReqRESERVED1 0x0400 |
#define | M66592_SET_ADDRESS 0x0500 |
#define | M66592_GET_DESCRIPTOR 0x0600 |
#define | M66592_SET_DESCRIPTOR 0x0700 |
#define | M66592_GET_CONFIGURATION 0x0800 |
#define | M66592_SET_CONFIGURATION 0x0900 |
#define | M66592_GET_INTERFACE 0x0A00 |
#define | M66592_SET_INTERFACE 0x0B00 |
#define | M66592_SYNCH_FRAME 0x0C00 |
#define | M66592_bmRequestType 0x00FF /* b7-0: bmRequestType */ |
#define | M66592_bmRequestTypeDir 0x0080 /* b7 : Data direction */ |
#define | M66592_HOST_TO_DEVICE 0x0000 |
#define | M66592_DEVICE_TO_HOST 0x0080 |
#define | M66592_bmRequestTypeType 0x0060 /* b6-5: Type */ |
#define | M66592_STANDARD 0x0000 |
#define | M66592_CLASS 0x0020 |
#define | M66592_VENDOR 0x0040 |
#define | M66592_bmRequestTypeRecip 0x001F /* b4-0: Recipient */ |
#define | M66592_DEVICE 0x0000 |
#define | M66592_INTERFACE 0x0001 |
#define | M66592_ENDPOINT 0x0002 |
#define | M66592_USBVAL 0x56 |
#define | M66592_wValue 0xFFFF /* b15-0: wValue */ |
#define | M66592_ENDPOINT_HALT 0x0000 |
#define | M66592_DEVICE_REMOTE_WAKEUP 0x0001 |
#define | M66592_TEST_MODE 0x0002 |
#define | M66592_DT_TYPE 0xFF00 |
#define | M66592_GET_DT_TYPE(v) (((v) & DT_TYPE) >> 8) |
#define | M66592_DT_DEVICE 0x01 |
#define | M66592_DT_CONFIGURATION 0x02 |
#define | M66592_DT_STRING 0x03 |
#define | M66592_DT_INTERFACE 0x04 |
#define | M66592_DT_ENDPOINT 0x05 |
#define | M66592_DT_DEVICE_QUALIFIER 0x06 |
#define | M66592_DT_OTHER_SPEED_CONFIGURATION 0x07 |
#define | M66592_DT_INTERFACE_POWER 0x08 |
#define | M66592_DT_INDEX 0x00FF |
#define | M66592_CONF_NUM 0x00FF |
#define | M66592_ALT_SET 0x00FF |
#define | M66592_USBINDEX 0x58 |
#define | M66592_wIndex 0xFFFF /* b15-0: wIndex */ |
#define | M66592_TEST_SELECT 0xFF00 /* b15-b8: Test Mode */ |
#define | M66592_TEST_J 0x0100 /* Test_J */ |
#define | M66592_TEST_K 0x0200 /* Test_K */ |
#define | M66592_TEST_SE0_NAK 0x0300 /* Test_SE0_NAK */ |
#define | M66592_TEST_PACKET 0x0400 /* Test_Packet */ |
#define | M66592_TEST_FORCE_ENABLE 0x0500 /* Test_Force_Enable */ |
#define | M66592_TEST_STSelectors 0x0600 /* Standard test selectors */ |
#define | M66592_TEST_Reserved 0x4000 /* Reserved */ |
#define | M66592_TEST_VSTModes 0xC000 /* Vendor-specific tests */ |
#define | M66592_EP_DIR 0x0080 /* b7: Endpoint Direction */ |
#define | M66592_EP_DIR_IN 0x0080 |
#define | M66592_EP_DIR_OUT 0x0000 |
#define | M66592_USBLENG 0x5A |
#define | M66592_wLength 0xFFFF /* b15-0: wLength */ |
#define | M66592_DCPCFG 0x5C |
#define | M66592_CNTMD 0x0100 /* b8: Continuous transfer mode */ |
#define | M66592_DIR 0x0010 /* b4: Control transfer DIR select */ |
#define | M66592_DCPMAXP 0x5E |
#define | M66592_DEVSEL 0xC000 /* b15-14: Device address select */ |
#define | M66592_DEVICE_0 0x0000 /* Device address 0 */ |
#define | M66592_DEVICE_1 0x4000 /* Device address 1 */ |
#define | M66592_DEVICE_2 0x8000 /* Device address 2 */ |
#define | M66592_DEVICE_3 0xC000 /* Device address 3 */ |
#define | M66592_MAXP 0x007F /* b6-0: Maxpacket size of ep0 */ |
#define | M66592_DCPCTR 0x60 |
#define | M66592_BSTS 0x8000 /* b15: Buffer status */ |
#define | M66592_SUREQ 0x4000 /* b14: Send USB request */ |
#define | M66592_SQCLR 0x0100 /* b8: Sequence toggle bit clear */ |
#define | M66592_SQSET 0x0080 /* b7: Sequence toggle bit set */ |
#define | M66592_SQMON 0x0040 /* b6: Sequence toggle bit monitor */ |
#define | M66592_CCPL 0x0004 /* b2: control transfer complete */ |
#define | M66592_PID 0x0003 /* b1-0: Response PID */ |
#define | M66592_PID_STALL 0x0002 /* STALL */ |
#define | M66592_PID_BUF 0x0001 /* BUF */ |
#define | M66592_PID_NAK 0x0000 /* NAK */ |
#define | M66592_PIPESEL 0x64 |
#define | M66592_PIPENM 0x0007 /* b2-0: Pipe select */ |
#define | M66592_PIPE0 0x0000 /* PIPE 0 */ |
#define | M66592_PIPE1 0x0001 /* PIPE 1 */ |
#define | M66592_PIPE2 0x0002 /* PIPE 2 */ |
#define | M66592_PIPE3 0x0003 /* PIPE 3 */ |
#define | M66592_PIPE4 0x0004 /* PIPE 4 */ |
#define | M66592_PIPE5 0x0005 /* PIPE 5 */ |
#define | M66592_PIPE6 0x0006 /* PIPE 6 */ |
#define | M66592_PIPE7 0x0007 /* PIPE 7 */ |
#define | M66592_PIPECFG 0x66 |
#define | M66592_TYP 0xC000 /* b15-14: Transfer type */ |
#define | M66592_ISO 0xC000 /* Isochronous */ |
#define | M66592_INT 0x8000 /* Interrupt */ |
#define | M66592_BULK 0x4000 /* Bulk */ |
#define | M66592_BFRE 0x0400 /* b10: Buffer ready interrupt mode */ |
#define | M66592_DBLB 0x0200 /* b9: Double buffer mode select */ |
#define | M66592_CNTMD 0x0100 /* b8: Continuous transfer mode */ |
#define | M66592_SHTNAK 0x0080 /* b7: Transfer end NAK */ |
#define | M66592_DIR 0x0010 /* b4: Transfer direction select */ |
#define | M66592_DIR_H_OUT 0x0010 /* HOST OUT */ |
#define | M66592_DIR_P_IN 0x0010 /* PERI IN */ |
#define | M66592_DIR_H_IN 0x0000 /* HOST IN */ |
#define | M66592_DIR_P_OUT 0x0000 /* PERI OUT */ |
#define | M66592_EPNUM 0x000F /* b3-0: Eendpoint number select */ |
#define | M66592_EP1 0x0001 |
#define | M66592_EP2 0x0002 |
#define | M66592_EP3 0x0003 |
#define | M66592_EP4 0x0004 |
#define | M66592_EP5 0x0005 |
#define | M66592_EP6 0x0006 |
#define | M66592_EP7 0x0007 |
#define | M66592_EP8 0x0008 |
#define | M66592_EP9 0x0009 |
#define | M66592_EP10 0x000A |
#define | M66592_EP11 0x000B |
#define | M66592_EP12 0x000C |
#define | M66592_EP13 0x000D |
#define | M66592_EP14 0x000E |
#define | M66592_EP15 0x000F |
#define | M66592_PIPEBUF 0x68 |
#define | M66592_BUFSIZE 0x7C00 /* b14-10: Pipe buffer size */ |
#define | M66592_BUF_SIZE(x) ((((x) / 64) - 1) << 10) |
#define | M66592_BUFNMB 0x00FF /* b7-0: Pipe buffer number */ |
#define | M66592_PIPEMAXP 0x6A |
#define | M66592_MXPS 0x07FF /* b10-0: Maxpacket size */ |
#define | M66592_PIPEPERI 0x6C |
#define | M66592_IFIS 0x1000 /* b12: ISO in-buffer flush mode */ |
#define | M66592_IITV 0x0007 /* b2-0: ISO interval */ |
#define | M66592_PIPE1CTR 0x70 |
#define | M66592_PIPE2CTR 0x72 |
#define | M66592_PIPE3CTR 0x74 |
#define | M66592_PIPE4CTR 0x76 |
#define | M66592_PIPE5CTR 0x78 |
#define | M66592_PIPE6CTR 0x7A |
#define | M66592_PIPE7CTR 0x7C |
#define | M66592_BSTS 0x8000 /* b15: Buffer status */ |
#define | M66592_INBUFM 0x4000 /* b14: IN buffer monitor (PIPE 1-5) */ |
#define | M66592_ACLRM 0x0200 /* b9: Out buffer auto clear mode */ |
#define | M66592_SQCLR 0x0100 /* b8: Sequence toggle bit clear */ |
#define | M66592_SQSET 0x0080 /* b7: Sequence toggle bit set */ |
#define | M66592_SQMON 0x0040 /* b6: Sequence toggle bit monitor */ |
#define | M66592_PID 0x0003 /* b1-0: Response PID */ |
#define | M66592_INVALID_REG 0x7E |
#define | get_pipectr_addr(pipenum) (M66592_PIPE1CTR + (pipenum - 1) * 2) |
#define | M66592_MAX_SAMPLING 10 |
#define | M66592_MAX_NUM_PIPE 8 |
#define | M66592_MAX_NUM_BULK 3 |
#define | M66592_MAX_NUM_ISOC 2 |
#define | M66592_MAX_NUM_INT 2 |
#define | M66592_BASE_PIPENUM_BULK 3 |
#define | M66592_BASE_PIPENUM_ISOC 1 |
#define | M66592_BASE_PIPENUM_INT 6 |
#define | M66592_BASE_BUFNUM 6 |
#define | M66592_MAX_BUFNUM 0x4F |
#define | gadget_to_m66592(_gadget) container_of(_gadget, struct m66592, gadget) |
#define | m66592_to_gadget(m66592) (&m66592->gadget) |
#define | is_bulk_pipe(pipenum) |
#define | is_interrupt_pipe(pipenum) |
#define | is_isoc_pipe(pipenum) |
#define | enable_irq_ready(m66592, pipenum) enable_pipe_irq(m66592, pipenum, M66592_BRDYENB) |
#define | disable_irq_ready(m66592, pipenum) disable_pipe_irq(m66592, pipenum, M66592_BRDYENB) |
#define | enable_irq_empty(m66592, pipenum) enable_pipe_irq(m66592, pipenum, M66592_BEMPENB) |
#define | disable_irq_empty(m66592, pipenum) disable_pipe_irq(m66592, pipenum, M66592_BEMPENB) |
#define | enable_irq_nrdy(m66592, pipenum) enable_pipe_irq(m66592, pipenum, M66592_NRDYENB) |
#define | disable_irq_nrdy(m66592, pipenum) disable_pipe_irq(m66592, pipenum, M66592_NRDYENB) |
#define | m66592_bclr(m66592, val, offset) m66592_mdfy(m66592, 0, val, offset) |
#define | m66592_bset(m66592, val, offset) m66592_mdfy(m66592, val, 0, offset) |
#define disable_irq_empty | ( | m66592, | |
pipenum | |||
) | disable_pipe_irq(m66592, pipenum, M66592_BEMPENB) |
Definition at line 515 of file m66592-udc.h.
#define disable_irq_nrdy | ( | m66592, | |
pipenum | |||
) | disable_pipe_irq(m66592, pipenum, M66592_NRDYENB) |
Definition at line 519 of file m66592-udc.h.
#define disable_irq_ready | ( | m66592, | |
pipenum | |||
) | disable_pipe_irq(m66592, pipenum, M66592_BRDYENB) |
Definition at line 511 of file m66592-udc.h.
#define enable_irq_empty | ( | m66592, | |
pipenum | |||
) | enable_pipe_irq(m66592, pipenum, M66592_BEMPENB) |
Definition at line 513 of file m66592-udc.h.
#define enable_irq_nrdy | ( | m66592, | |
pipenum | |||
) | enable_pipe_irq(m66592, pipenum, M66592_NRDYENB) |
Definition at line 517 of file m66592-udc.h.
#define enable_irq_ready | ( | m66592, | |
pipenum | |||
) | enable_pipe_irq(m66592, pipenum, M66592_BRDYENB) |
Definition at line 509 of file m66592-udc.h.
#define gadget_to_m66592 | ( | _gadget | ) | container_of(_gadget, struct m66592, gadget) |
Definition at line 496 of file m66592-udc.h.
#define get_pipectr_addr | ( | pipenum | ) | (M66592_PIPE1CTR + (pipenum - 1) * 2) |
Definition at line 414 of file m66592-udc.h.
#define is_bulk_pipe | ( | pipenum | ) |
Definition at line 499 of file m66592-udc.h.
#define is_interrupt_pipe | ( | pipenum | ) |
Definition at line 502 of file m66592-udc.h.
#define is_isoc_pipe | ( | pipenum | ) |
Definition at line 505 of file m66592-udc.h.
#define M66592_ACLRM 0x0200 /* b9: Out buffer auto clear mode */ |
Definition at line 405 of file m66592-udc.h.
#define M66592_ALT_SET 0x00FF |
Definition at line 298 of file m66592-udc.h.
#define M66592_ATCKM 0x0100 /* b8: Automatic clock supply */ |
Definition at line 28 of file m66592-udc.h.
#define M66592_BASE_BUFNUM 6 |
Definition at line 427 of file m66592-udc.h.
#define M66592_BASE_PIPENUM_BULK 3 |
Definition at line 423 of file m66592-udc.h.
#define M66592_BASE_PIPENUM_INT 6 |
Definition at line 425 of file m66592-udc.h.
#define M66592_BASE_PIPENUM_ISOC 1 |
Definition at line 424 of file m66592-udc.h.
#define M66592_BCHG 0x4000 /* b14: USB bus chenge interrupt */ |
Definition at line 229 of file m66592-udc.h.
#define M66592_BCHGE 0x4000 /* b14: USB us chenge interrupt */ |
Definition at line 150 of file m66592-udc.h.
#define M66592_BCLR 0x4000 /* b14: Buffer clear */ |
Definition at line 118 of file m66592-udc.h.
Definition at line 559 of file m66592-udc.h.
#define M66592_BEMP 0x0400 /* b10: Buffer empty interrupt */ |
Definition at line 203 of file m66592-udc.h.
#define M66592_BEMP0 0x0001 /* b0: PIPE0 */ |
Definition at line 189 of file m66592-udc.h.
#define M66592_BEMP1 0x0002 /* b1: PIPE1 */ |
Definition at line 188 of file m66592-udc.h.
#define M66592_BEMP2 0x0004 /* b2: PIPE2 */ |
Definition at line 187 of file m66592-udc.h.
#define M66592_BEMP3 0x0008 /* b3: PIPE3 */ |
Definition at line 186 of file m66592-udc.h.
#define M66592_BEMP4 0x0010 /* b4: PIPE4 */ |
Definition at line 185 of file m66592-udc.h.
#define M66592_BEMP5 0x0020 /* b5: PIPE5 */ |
Definition at line 184 of file m66592-udc.h.
#define M66592_BEMP6 0x0040 /* b6: PIPE6 */ |
Definition at line 183 of file m66592-udc.h.
#define M66592_BEMP7 0x0080 /* b7: PIPE7 */ |
Definition at line 182 of file m66592-udc.h.
#define M66592_BEMPE 0x0400 /* b10: Buffer empty interrupt */ |
Definition at line 137 of file m66592-udc.h.
#define M66592_BEMPENB 0x3A |
Definition at line 180 of file m66592-udc.h.
#define M66592_BEMPSTS 0x4A |
Definition at line 181 of file m66592-udc.h.
#define M66592_BFRE 0x0400 /* b10: Buffer ready interrupt mode */ |
Definition at line 358 of file m66592-udc.h.
#define M66592_BIGEND 0x0100 /* b8: Big endian mode */ |
Definition at line 75 of file m66592-udc.h.
#define M66592_bmRequestType 0x00FF /* b7-0: bmRequestType */ |
Definition at line 266 of file m66592-udc.h.
#define M66592_bmRequestTypeDir 0x0080 /* b7 : Data direction */ |
Definition at line 267 of file m66592-udc.h.
#define M66592_bmRequestTypeRecip 0x001F /* b4-0: Recipient */ |
Definition at line 274 of file m66592-udc.h.
#define M66592_bmRequestTypeType 0x0060 /* b6-5: Type */ |
Definition at line 270 of file m66592-udc.h.
#define M66592_BRDY 0x0100 /* b8: Buffer ready interrupt */ |
Definition at line 205 of file m66592-udc.h.
#define M66592_BRDY0 0x0001 /* b1: PIPE0 */ |
Definition at line 167 of file m66592-udc.h.
#define M66592_BRDY1 0x0002 /* b1: PIPE1 */ |
Definition at line 166 of file m66592-udc.h.
#define M66592_BRDY2 0x0004 /* b2: PIPE2 */ |
Definition at line 165 of file m66592-udc.h.
#define M66592_BRDY3 0x0008 /* b3: PIPE3 */ |
Definition at line 164 of file m66592-udc.h.
#define M66592_BRDY4 0x0010 /* b4: PIPE4 */ |
Definition at line 163 of file m66592-udc.h.
#define M66592_BRDY5 0x0020 /* b5: PIPE5 */ |
Definition at line 162 of file m66592-udc.h.
#define M66592_BRDY6 0x0040 /* b6: PIPE6 */ |
Definition at line 161 of file m66592-udc.h.
#define M66592_BRDY7 0x0080 /* b7: PIPE7 */ |
Definition at line 160 of file m66592-udc.h.
#define M66592_BRDYE 0x0100 /* b8: Buffer ready interrupt */ |
Definition at line 139 of file m66592-udc.h.
#define M66592_BRDYENB 0x36 |
Definition at line 158 of file m66592-udc.h.
#define M66592_BRDYM 0x0004 /* b2: BRDY clear timing */ |
Definition at line 154 of file m66592-udc.h.
#define M66592_BRDYSTS 0x46 |
Definition at line 159 of file m66592-udc.h.
#define M66592_bRequest 0xFF00 /* b15-8: bRequest */ |
Definition at line 252 of file m66592-udc.h.
Definition at line 561 of file m66592-udc.h.
#define M66592_BSTS 0x8000 /* b15: Buffer status */ |
Definition at line 403 of file m66592-udc.h.
#define M66592_BSTS 0x8000 /* b15: Buffer status */ |
Definition at line 403 of file m66592-udc.h.
Definition at line 386 of file m66592-udc.h.
#define M66592_BUFNMB 0x00FF /* b7-0: Pipe buffer number */ |
Definition at line 387 of file m66592-udc.h.
#define M66592_BUFSIZE 0x7C00 /* b14-10: Pipe buffer size */ |
Definition at line 385 of file m66592-udc.h.
#define M66592_BULK 0x4000 /* Bulk */ |
Definition at line 357 of file m66592-udc.h.
#define M66592_BURST 0x2000 /* b13: Burst mode */ |
Definition at line 80 of file m66592-udc.h.
#define M66592_BVAL 0x8000 /* b15: Buffer valid flag */ |
Definition at line 117 of file m66592-udc.h.
#define M66592_CCPL 0x0004 /* b2: control transfer complete */ |
Definition at line 336 of file m66592-udc.h.
#define M66592_CFBCFG 0x0A |
Definition at line 69 of file m66592-udc.h.
#define M66592_CFIFO 0x10 |
Definition at line 94 of file m66592-udc.h.
#define M66592_CFIFOCTR 0x20 |
Definition at line 114 of file m66592-udc.h.
#define M66592_CFIFOSEL 0x1E |
Definition at line 98 of file m66592-udc.h.
#define M66592_CFIFOSIE 0x22 |
Definition at line 122 of file m66592-udc.h.
#define M66592_CLASS 0x0020 |
Definition at line 272 of file m66592-udc.h.
#define M66592_CLEAR_FEATURE 0x0100 |
Definition at line 254 of file m66592-udc.h.
#define M66592_CMPL 0x0002 /* b1: Control transfer complete interrupt */ |
Definition at line 146 of file m66592-udc.h.
#define M66592_CNTMD 0x0100 /* b8: Continuous transfer mode */ |
Definition at line 360 of file m66592-udc.h.
#define M66592_CNTMD 0x0100 /* b8: Continuous transfer mode */ |
Definition at line 360 of file m66592-udc.h.
#define M66592_CONF_NUM 0x00FF |
Definition at line 297 of file m66592-udc.h.
#define M66592_CPU_ADR_RD_WR 0x0000 /* Address + RD/WR mode (CPU bus) */ |
Definition at line 83 of file m66592-udc.h.
#define M66592_CPU_DACK_ONLY 0x0180 /* DACK only mode (CPU bus) */ |
Definition at line 85 of file m66592-udc.h.
#define M66592_CPU_DACK_RD_WR 0x0100 /* DACK + RD/WR mode (CPU bus) */ |
Definition at line 84 of file m66592-udc.h.
#define M66592_CRCE 0x4000 /* b14: Received data error */ |
Definition at line 236 of file m66592-udc.h.
#define M66592_CS_IDST 0x0000 /* Idle or setup stage */ |
Definition at line 226 of file m66592-udc.h.
#define M66592_CS_RDDS 0x0001 /* Control read data stage */ |
Definition at line 225 of file m66592-udc.h.
#define M66592_CS_RDSS 0x0002 /* Control read status stage */ |
Definition at line 224 of file m66592-udc.h.
#define M66592_CS_SQER 0x0006 /* Sequence error */ |
Definition at line 220 of file m66592-udc.h.
#define M66592_CS_WRDS 0x0003 /* Control write data stage */ |
Definition at line 223 of file m66592-udc.h.
#define M66592_CS_WRND 0x0005 /* Control write nodata status */ |
Definition at line 221 of file m66592-udc.h.
#define M66592_CS_WRSS 0x0004 /* Control write status stage */ |
Definition at line 222 of file m66592-udc.h.
#define M66592_CTRE 0x0800 /* b11: Control transfer stage transition irq */ |
Definition at line 136 of file m66592-udc.h.
#define M66592_CTRT 0x0800 /* b11: Control stage transition */ |
Definition at line 202 of file m66592-udc.h.
#define M66592_CTSQ 0x0007 /* b2-0: Control transfer stage */ |
Definition at line 219 of file m66592-udc.h.
#define M66592_CURPIPE 0x0007 /* b2-0: PIPE select */ |
Definition at line 112 of file m66592-udc.h.
#define M66592_D0FBCFG 0x0C |
Definition at line 70 of file m66592-udc.h.
#define M66592_D0FIFO 0x14 |
Definition at line 95 of file m66592-udc.h.
#define M66592_D0FIFOCTR 0x26 |
Definition at line 115 of file m66592-udc.h.
#define M66592_D0FIFOSEL 0x24 |
Definition at line 99 of file m66592-udc.h.
#define M66592_D0FIFOTRN 0x28 |
Definition at line 127 of file m66592-udc.h.
#define M66592_D1FIFO 0x18 |
Definition at line 96 of file m66592-udc.h.
#define M66592_D1FIFOCTR 0x2c |
Definition at line 116 of file m66592-udc.h.
#define M66592_D1FIFOSEL 0x2A |
Definition at line 100 of file m66592-udc.h.
#define M66592_D1FIFOTRN 0x2E |
Definition at line 128 of file m66592-udc.h.
#define M66592_DACKA 0x0400 /* b10: Dack active select */ |
Definition at line 81 of file m66592-udc.h.
#define M66592_DBLB 0x0200 /* b9: Double buffer mode select */ |
Definition at line 359 of file m66592-udc.h.
#define M66592_DCFM 0x0040 /* b6: Controller function select */ |
Definition at line 30 of file m66592-udc.h.
#define M66592_DCLRM 0x2000 /* b13: DMA buffer clear mode */ |
Definition at line 103 of file m66592-udc.h.
#define M66592_DCPCFG 0x5C |
Definition at line 318 of file m66592-udc.h.
#define M66592_DCPCTR 0x60 |
Definition at line 330 of file m66592-udc.h.
#define M66592_DCPMAXP 0x5E |
Definition at line 322 of file m66592-udc.h.
#define M66592_DENDA 0x0040 /* b6: Dend active select */ |
Definition at line 88 of file m66592-udc.h.
#define M66592_DENDE 0x0010 /* b4: Dend enable */ |
Definition at line 90 of file m66592-udc.h.
#define M66592_DEVICE 0x0000 |
Definition at line 275 of file m66592-udc.h.
#define M66592_DEVICE_0 0x0000 /* Device address 0 */ |
Definition at line 324 of file m66592-udc.h.
#define M66592_DEVICE_1 0x4000 /* Device address 1 */ |
Definition at line 325 of file m66592-udc.h.
#define M66592_DEVICE_2 0x8000 /* Device address 2 */ |
Definition at line 326 of file m66592-udc.h.
#define M66592_DEVICE_3 0xC000 /* Device address 3 */ |
Definition at line 327 of file m66592-udc.h.
#define M66592_DEVICE_REMOTE_WAKEUP 0x0001 |
Definition at line 283 of file m66592-udc.h.
#define M66592_DEVICE_TO_HOST 0x0080 |
Definition at line 269 of file m66592-udc.h.
#define M66592_DEVSEL 0xC000 /* b15-14: Device address select */ |
Definition at line 323 of file m66592-udc.h.
#define M66592_DEZPM 0x0080 /* b7: Zero-length packet mode */ |
Definition at line 110 of file m66592-udc.h.
#define M66592_DFORM 0x0380 /* b9-7: DMA mode select */ |
Definition at line 82 of file m66592-udc.h.
#define M66592_DIR 0x0010 /* b4: Control transfer DIR select */ |
Definition at line 362 of file m66592-udc.h.
#define M66592_DIR 0x0010 /* b4: Transfer direction select */ |
Definition at line 362 of file m66592-udc.h.
#define M66592_DIR_H_IN 0x0000 /* HOST IN */ |
Definition at line 365 of file m66592-udc.h.
#define M66592_DIR_H_OUT 0x0010 /* HOST OUT */ |
Definition at line 363 of file m66592-udc.h.
#define M66592_DIR_P_IN 0x0010 /* PERI IN */ |
Definition at line 364 of file m66592-udc.h.
#define M66592_DIR_P_OUT 0x0000 /* PERI OUT */ |
Definition at line 366 of file m66592-udc.h.
#define M66592_DMA0CFG 0x0C |
Definition at line 77 of file m66592-udc.h.
#define M66592_DMA1CFG 0x0E |
Definition at line 78 of file m66592-udc.h.
#define M66592_DMRPD 0x0020 /* b5: D- pull down control */ |
Definition at line 31 of file m66592-udc.h.
#define M66592_DPRPU 0x0010 /* b4: D+ pull up control */ |
Definition at line 32 of file m66592-udc.h.
#define M66592_DREQA 0x4000 /* b14: Dreq active select */ |
Definition at line 79 of file m66592-udc.h.
#define M66592_DREQE 0x1000 /* b12: DREQ output enable */ |
Definition at line 104 of file m66592-udc.h.
#define M66592_DS_ADDS 0x0020 /* Address */ |
Definition at line 214 of file m66592-udc.h.
#define M66592_DS_CNFG 0x0030 /* Configured */ |
Definition at line 213 of file m66592-udc.h.
#define M66592_DS_DFLT 0x0010 /* Default */ |
Definition at line 215 of file m66592-udc.h.
#define M66592_DS_POWR 0x0000 /* Powered */ |
Definition at line 216 of file m66592-udc.h.
#define M66592_DS_SPD_ADDR 0x0060 /* Suspend Address */ |
Definition at line 209 of file m66592-udc.h.
#define M66592_DS_SPD_CNFG 0x0070 /* Suspend Configured */ |
Definition at line 208 of file m66592-udc.h.
#define M66592_DS_SPD_DFLT 0x0050 /* Suspend Default */ |
Definition at line 210 of file m66592-udc.h.
#define M66592_DS_SPD_POWR 0x0040 /* Suspend Powered */ |
Definition at line 211 of file m66592-udc.h.
#define M66592_DS_SUSP 0x0040 /* Suspend */ |
Definition at line 212 of file m66592-udc.h.
#define M66592_DT_CONFIGURATION 0x02 |
Definition at line 289 of file m66592-udc.h.
#define M66592_DT_DEVICE 0x01 |
Definition at line 288 of file m66592-udc.h.
#define M66592_DT_DEVICE_QUALIFIER 0x06 |
Definition at line 293 of file m66592-udc.h.
#define M66592_DT_ENDPOINT 0x05 |
Definition at line 292 of file m66592-udc.h.
#define M66592_DT_INDEX 0x00FF |
Definition at line 296 of file m66592-udc.h.
#define M66592_DT_INTERFACE 0x04 |
Definition at line 291 of file m66592-udc.h.
#define M66592_DT_INTERFACE_POWER 0x08 |
Definition at line 295 of file m66592-udc.h.
#define M66592_DT_OTHER_SPEED_CONFIGURATION 0x07 |
Definition at line 294 of file m66592-udc.h.
#define M66592_DT_STRING 0x03 |
Definition at line 290 of file m66592-udc.h.
#define M66592_DT_TYPE 0xFF00 |
Definition at line 286 of file m66592-udc.h.
#define M66592_DTCH 0x1000 /* b12: Detach sense interrupt */ |
Definition at line 230 of file m66592-udc.h.
#define M66592_DTCHE 0x1000 /* b12: Detach sense interrupt */ |
Definition at line 151 of file m66592-udc.h.
#define M66592_DTLN 0x0FFF /* b11-0: FIFO received data length */ |
Definition at line 120 of file m66592-udc.h.
#define M66592_DVSE 0x1000 /* b12: Device state transition interrupt */ |
Definition at line 135 of file m66592-udc.h.
#define M66592_DVSQ 0x0070 /* b6-4: Device state */ |
Definition at line 207 of file m66592-udc.h.
#define M66592_DVSQS 0x0030 /* b5-4: Device state */ |
Definition at line 217 of file m66592-udc.h.
#define M66592_DVST 0x1000 /* b12: Device state transition */ |
Definition at line 201 of file m66592-udc.h.
#define M66592_DVSTCTR 0x04 |
Definition at line 44 of file m66592-udc.h.
#define M66592_ENDPOINT 0x0002 |
Definition at line 277 of file m66592-udc.h.
#define M66592_ENDPOINT_HALT 0x0000 |
Definition at line 282 of file m66592-udc.h.
#define M66592_EP1 0x0001 |
Definition at line 368 of file m66592-udc.h.
#define M66592_EP10 0x000A |
Definition at line 377 of file m66592-udc.h.
#define M66592_EP11 0x000B |
Definition at line 378 of file m66592-udc.h.
#define M66592_EP12 0x000C |
Definition at line 379 of file m66592-udc.h.
#define M66592_EP13 0x000D |
Definition at line 380 of file m66592-udc.h.
#define M66592_EP14 0x000E |
Definition at line 381 of file m66592-udc.h.
#define M66592_EP15 0x000F |
Definition at line 382 of file m66592-udc.h.
#define M66592_EP2 0x0002 |
Definition at line 369 of file m66592-udc.h.
#define M66592_EP3 0x0003 |
Definition at line 370 of file m66592-udc.h.
#define M66592_EP4 0x0004 |
Definition at line 371 of file m66592-udc.h.
#define M66592_EP5 0x0005 |
Definition at line 372 of file m66592-udc.h.
#define M66592_EP6 0x0006 |
Definition at line 373 of file m66592-udc.h.
#define M66592_EP7 0x0007 |
Definition at line 374 of file m66592-udc.h.
#define M66592_EP8 0x0008 |
Definition at line 375 of file m66592-udc.h.
#define M66592_EP9 0x0009 |
Definition at line 376 of file m66592-udc.h.
#define M66592_EP_DIR 0x0080 /* b7: Endpoint Direction */ |
Definition at line 311 of file m66592-udc.h.
#define M66592_EP_DIR_IN 0x0080 |
Definition at line 312 of file m66592-udc.h.
#define M66592_EP_DIR_OUT 0x0000 |
Definition at line 313 of file m66592-udc.h.
#define M66592_EPNUM 0x000F /* b3-0: Eendpoint number select */ |
Definition at line 367 of file m66592-udc.h.
#define M66592_FRDY 0x2000 /* b13: FIFO ready */ |
Definition at line 119 of file m66592-udc.h.
#define M66592_FRMNUM 0x4C |
Definition at line 234 of file m66592-udc.h.
#define M66592_FRNM 0x07FF /* b10-0: Frame number */ |
Definition at line 238 of file m66592-udc.h.
#define M66592_FSMODE 0x0002 /* Full-Speed mode */ |
Definition at line 52 of file m66592-udc.h.
#define M66592_FSRPC 0x0004 /* b2: Full-speed receiver enable */ |
Definition at line 33 of file m66592-udc.h.
#define M66592_GET_CONFIGURATION 0x0800 |
Definition at line 261 of file m66592-udc.h.
#define M66592_GET_DESCRIPTOR 0x0600 |
Definition at line 259 of file m66592-udc.h.
Definition at line 287 of file m66592-udc.h.
#define M66592_GET_INTERFACE 0x0A00 |
Definition at line 263 of file m66592-udc.h.
#define M66592_GET_STATUS 0x0000 |
Definition at line 253 of file m66592-udc.h.
#define M66592_H_TST_J 0x0009 /* HOST TEST J */ |
Definition at line 60 of file m66592-udc.h.
#define M66592_H_TST_K 0x000A /* HOST TEST K */ |
Definition at line 59 of file m66592-udc.h.
#define M66592_H_TST_NORMAL 0x0000 /* HOST Normal Mode */ |
Definition at line 61 of file m66592-udc.h.
#define M66592_H_TST_PACKET 0x000C /* HOST TEST Packet */ |
Definition at line 57 of file m66592-udc.h.
#define M66592_H_TST_SE0_NAK 0x000B /* HOST TEST SE0 NAK */ |
Definition at line 58 of file m66592-udc.h.
#define M66592_HOST_TO_DEVICE 0x0000 |
Definition at line 268 of file m66592-udc.h.
#define M66592_HSE 0x0080 /* b7: Hi-speed enable */ |
Definition at line 29 of file m66592-udc.h.
#define M66592_HSMODE 0x0003 /* Hi-Speed mode */ |
Definition at line 51 of file m66592-udc.h.
#define M66592_HSPROC 0x0001 /* HS handshake is processing */ |
Definition at line 53 of file m66592-udc.h.
#define M66592_IFIS 0x1000 /* b12: ISO in-buffer flush mode */ |
Definition at line 393 of file m66592-udc.h.
#define M66592_IITV 0x0007 /* b2-0: ISO interval */ |
Definition at line 394 of file m66592-udc.h.
#define M66592_INBUFM 0x4000 /* b14: IN buffer monitor (PIPE 1-5) */ |
Definition at line 404 of file m66592-udc.h.
#define M66592_INT 0x8000 /* Interrupt */ |
Definition at line 356 of file m66592-udc.h.
#define M66592_INTENB0 0x30 |
Definition at line 131 of file m66592-udc.h.
#define M66592_INTENB1 0x32 |
Definition at line 149 of file m66592-udc.h.
#define M66592_INTERFACE 0x0001 |
Definition at line 276 of file m66592-udc.h.
#define M66592_INTL 0x0002 /* b1: Interrupt sense select */ |
Definition at line 155 of file m66592-udc.h.
#define M66592_INTSTS0 0x40 |
Definition at line 197 of file m66592-udc.h.
#define M66592_INTSTS1 0x42 |
Definition at line 228 of file m66592-udc.h.
#define M66592_INVALID_REG 0x7E |
Definition at line 411 of file m66592-udc.h.
#define M66592_ISEL 0x0020 /* b5: DCP FIFO port direction select */ |
Definition at line 111 of file m66592-udc.h.
#define M66592_ISO 0xC000 /* Isochronous */ |
Definition at line 355 of file m66592-udc.h.
#define M66592_JSTS 0x0001 /* J State */ |
Definition at line 41 of file m66592-udc.h.
#define M66592_KSTS 0x0002 /* K State */ |
Definition at line 40 of file m66592-udc.h.
#define M66592_LDRV 0x8000 /* b15: Drive Current Adjust */ |
Definition at line 74 of file m66592-udc.h.
#define M66592_LITTLE 0x0100 /* b8: Little endian mode */ |
Definition at line 71 of file m66592-udc.h.
#define M66592_LNST 0x0003 /* b1-0: D+, D- line status */ |
Definition at line 38 of file m66592-udc.h.
#define M66592_MAX_BUFNUM 0x4F |
Definition at line 428 of file m66592-udc.h.
#define M66592_MAX_NUM_BULK 3 |
Definition at line 419 of file m66592-udc.h.
#define M66592_MAX_NUM_INT 2 |
Definition at line 421 of file m66592-udc.h.
#define M66592_MAX_NUM_ISOC 2 |
Definition at line 420 of file m66592-udc.h.
#define M66592_MAX_NUM_PIPE 8 |
Definition at line 418 of file m66592-udc.h.
#define M66592_MAX_SAMPLING 10 |
Definition at line 416 of file m66592-udc.h.
#define M66592_MAXP 0x007F /* b6-0: Maxpacket size of ep0 */ |
Definition at line 328 of file m66592-udc.h.
#define M66592_MBW_16 0x0400 /* 16bit */ |
Definition at line 106 of file m66592-udc.h.
#define M66592_MBW_32 0x0800 /* 32bit */ |
Definition at line 107 of file m66592-udc.h.
#define M66592_MBW_8 0x0000 /* 8bit */ |
Definition at line 105 of file m66592-udc.h.
#define M66592_MXPS 0x07FF /* b10-0: Maxpacket size */ |
Definition at line 390 of file m66592-udc.h.
#define M66592_NRDY 0x0200 /* b9: Buffer not ready interrupt */ |
Definition at line 204 of file m66592-udc.h.
#define M66592_NRDY0 0x0001 /* b1: PIPE0 */ |
Definition at line 178 of file m66592-udc.h.
#define M66592_NRDY1 0x0002 /* b1: PIPE1 */ |
Definition at line 177 of file m66592-udc.h.
#define M66592_NRDY2 0x0004 /* b2: PIPE2 */ |
Definition at line 176 of file m66592-udc.h.
#define M66592_NRDY3 0x0008 /* b3: PIPE3 */ |
Definition at line 175 of file m66592-udc.h.
#define M66592_NRDY4 0x0010 /* b4: PIPE4 */ |
Definition at line 174 of file m66592-udc.h.
#define M66592_NRDY5 0x0020 /* b5: PIPE5 */ |
Definition at line 173 of file m66592-udc.h.
#define M66592_NRDY6 0x0040 /* b6: PIPE6 */ |
Definition at line 172 of file m66592-udc.h.
#define M66592_NRDY7 0x0080 /* b7: PIPE7 */ |
Definition at line 171 of file m66592-udc.h.
#define M66592_NRDYE 0x0200 /* b9: Buffer not ready interrupt */ |
Definition at line 138 of file m66592-udc.h.
#define M66592_NRDYENB 0x38 |
Definition at line 169 of file m66592-udc.h.
#define M66592_NRDYSTS 0x48 |
Definition at line 170 of file m66592-udc.h.
#define M66592_OBUS 0x0004 /* b2: OUTbus mode */ |
Definition at line 91 of file m66592-udc.h.
#define M66592_OVRN 0x8000 /* b15: Overrun error */ |
Definition at line 235 of file m66592-udc.h.
#define M66592_P_TST_J 0x0001 /* PERI TEST J */ |
Definition at line 65 of file m66592-udc.h.
#define M66592_P_TST_K 0x0002 /* PERI TEST K */ |
Definition at line 64 of file m66592-udc.h.
#define M66592_P_TST_NORMAL 0x0000 /* PERI Normal Mode */ |
Definition at line 66 of file m66592-udc.h.
#define M66592_P_TST_PACKET 0x0004 /* PERI TEST Packet */ |
Definition at line 62 of file m66592-udc.h.
#define M66592_P_TST_SE0_NAK 0x0003 /* PERI TEST SE0 NAK */ |
Definition at line 63 of file m66592-udc.h.
#define M66592_PCSE 0x0001 /* b0: PCUT enable by CS assert */ |
Definition at line 156 of file m66592-udc.h.
#define M66592_PCUT 0x0002 /* b1: Low power sleep enable */ |
Definition at line 34 of file m66592-udc.h.
#define M66592_PID 0x0003 /* b1-0: Response PID */ |
Definition at line 409 of file m66592-udc.h.
#define M66592_PID 0x0003 /* b1-0: Response PID */ |
Definition at line 409 of file m66592-udc.h.
#define M66592_PID_BUF 0x0001 /* BUF */ |
Definition at line 339 of file m66592-udc.h.
#define M66592_PID_NAK 0x0000 /* NAK */ |
Definition at line 340 of file m66592-udc.h.
#define M66592_PID_STALL 0x0002 /* STALL */ |
Definition at line 338 of file m66592-udc.h.
#define M66592_PINCFG 0x0A |
Definition at line 73 of file m66592-udc.h.
#define M66592_PIPE0 0x0000 /* PIPE 0 */ |
Definition at line 344 of file m66592-udc.h.
#define M66592_PIPE1 0x0001 /* PIPE 1 */ |
Definition at line 345 of file m66592-udc.h.
#define M66592_PIPE1CTR 0x70 |
Definition at line 396 of file m66592-udc.h.
#define M66592_PIPE2 0x0002 /* PIPE 2 */ |
Definition at line 346 of file m66592-udc.h.
#define M66592_PIPE2CTR 0x72 |
Definition at line 397 of file m66592-udc.h.
#define M66592_PIPE3 0x0003 /* PIPE 3 */ |
Definition at line 347 of file m66592-udc.h.
#define M66592_PIPE3CTR 0x74 |
Definition at line 398 of file m66592-udc.h.
#define M66592_PIPE4 0x0004 /* PIPE 4 */ |
Definition at line 348 of file m66592-udc.h.
#define M66592_PIPE4CTR 0x76 |
Definition at line 399 of file m66592-udc.h.
#define M66592_PIPE5 0x0005 /* PIPE 5 */ |
Definition at line 349 of file m66592-udc.h.
#define M66592_PIPE5CTR 0x78 |
Definition at line 400 of file m66592-udc.h.
#define M66592_PIPE6 0x0006 /* PIPE 6 */ |
Definition at line 350 of file m66592-udc.h.
#define M66592_PIPE6CTR 0x7A |
Definition at line 401 of file m66592-udc.h.
#define M66592_PIPE7 0x0007 /* PIPE 7 */ |
Definition at line 351 of file m66592-udc.h.
#define M66592_PIPE7CTR 0x7C |
Definition at line 402 of file m66592-udc.h.
#define M66592_PIPEBUF 0x68 |
Definition at line 384 of file m66592-udc.h.
#define M66592_PIPECFG 0x66 |
Definition at line 353 of file m66592-udc.h.
#define M66592_PIPEMAXP 0x6A |
Definition at line 389 of file m66592-udc.h.
#define M66592_PIPENM 0x0007 /* b2-0: Pipe select */ |
Definition at line 343 of file m66592-udc.h.
#define M66592_PIPEPERI 0x6C |
Definition at line 392 of file m66592-udc.h.
#define M66592_PIPESEL 0x64 |
Definition at line 342 of file m66592-udc.h.
#define M66592_PKTM 0x0020 /* b5: Packet mode */ |
Definition at line 89 of file m66592-udc.h.
#define M66592_PLLC 0x0800 /* b11: PLL control */ |
Definition at line 26 of file m66592-udc.h.
#define M66592_RCKE 0x1000 /* b12: Register clock enable */ |
Definition at line 25 of file m66592-udc.h.
#define M66592_RCNT 0x8000 /* b15: Read count mode */ |
Definition at line 101 of file m66592-udc.h.
#define M66592_RDST 0x0004 /* b2: Control read data stage completed irq */ |
Definition at line 145 of file m66592-udc.h.
#define M66592_RECOVER 0x50 |
Definition at line 243 of file m66592-udc.h.
#define M66592_ReqRESERVED 0x0200 |
Definition at line 255 of file m66592-udc.h.
#define M66592_ReqRESERVED1 0x0400 |
Definition at line 257 of file m66592-udc.h.
#define M66592_RESM 0x4000 /* b14: Resume interrupt */ |
Definition at line 199 of file m66592-udc.h.
#define M66592_RESUME 0x0020 /* b5: Resume enable */ |
Definition at line 48 of file m66592-udc.h.
#define M66592_REW 0x4000 /* b14: Buffer rewind */ |
Definition at line 102 of file m66592-udc.h.
#define M66592_RHST 0x0003 /* b1-0: Reset handshake status */ |
Definition at line 50 of file m66592-udc.h.
#define M66592_RSME 0x4000 /* b14: Resume interrupt */ |
Definition at line 133 of file m66592-udc.h.
#define M66592_RWUPE 0x0080 /* b7: Remote wakeup sense */ |
Definition at line 46 of file m66592-udc.h.
#define M66592_SACK 0x0010 /* b4: SETUP ACK interrupt */ |
Definition at line 232 of file m66592-udc.h.
#define M66592_SACKE 0x0010 /* b4: SETUP ACK interrupt */ |
Definition at line 153 of file m66592-udc.h.
#define M66592_SADR 0x0040 /* b6: Set address executed interrupt */ |
Definition at line 141 of file m66592-udc.h.
#define M66592_SBUSY 0x2000 /* b13: SIE_FIFO busy */ |
Definition at line 125 of file m66592-udc.h.
#define M66592_SCFG 0x0020 /* b5: Set configuration executed interrupt */ |
Definition at line 142 of file m66592-udc.h.
#define M66592_SCKE 0x0400 /* b10: USB clock enable */ |
Definition at line 27 of file m66592-udc.h.
#define M66592_SCLR 0x4000 /* b14: Buffer clear */ |
Definition at line 124 of file m66592-udc.h.
#define M66592_SE0 0x0000 /* SE0 */ |
Definition at line 42 of file m66592-udc.h.
#define M66592_SE1 0x0003 /* SE1 */ |
Definition at line 39 of file m66592-udc.h.
#define M66592_SERR 0x0001 /* b0: Sequence error interrupt */ |
Definition at line 147 of file m66592-udc.h.
#define M66592_SET_ADDRESS 0x0500 |
Definition at line 258 of file m66592-udc.h.
#define M66592_SET_CONFIGURATION 0x0900 |
Definition at line 262 of file m66592-udc.h.
#define M66592_SET_DESCRIPTOR 0x0700 |
Definition at line 260 of file m66592-udc.h.
#define M66592_SET_FEATURE 0x0300 |
Definition at line 256 of file m66592-udc.h.
#define M66592_SET_INTERFACE 0x0B00 |
Definition at line 264 of file m66592-udc.h.
#define M66592_SHTNAK 0x0080 /* b7: Transfer end NAK */ |
Definition at line 361 of file m66592-udc.h.
#define M66592_SIGN 0x0020 /* b5: SETUP IGNORE interrupt */ |
Definition at line 231 of file m66592-udc.h.
#define M66592_SIGNE 0x0020 /* b5: SETUP IGNORE interrupt */ |
Definition at line 152 of file m66592-udc.h.
#define M66592_SOF_125US 0x0008 /* SOF OUT 125us uFrame Signal */ |
Definition at line 193 of file m66592-udc.h.
#define M66592_SOF_1MS 0x0004 /* SOF OUT 1ms Frame Signal */ |
Definition at line 194 of file m66592-udc.h.
#define M66592_SOF_DISABLE 0x0000 /* SOF OUT Disable */ |
Definition at line 195 of file m66592-udc.h.
#define M66592_SOFCFG 0x3C |
Definition at line 191 of file m66592-udc.h.
#define M66592_SOFE 0x2000 /* b13: Frame update interrupt */ |
Definition at line 134 of file m66592-udc.h.
#define M66592_SOFM 0x000C /* b3-2: SOF palse mode */ |
Definition at line 192 of file m66592-udc.h.
#define M66592_SOFR 0x2000 /* b13: SOF frame update interrupt */ |
Definition at line 200 of file m66592-udc.h.
#define M66592_SOFRM 0x0800 /* b11: SOF output mode */ |
Definition at line 237 of file m66592-udc.h.
#define M66592_SPLIT_DACK_DSTB 0x0300 /* DACK + DSTB0 mode (SPLIT bus) */ |
Definition at line 87 of file m66592-udc.h.
#define M66592_SPLIT_DACK_ONLY 0x0200 /* DACK only mode (SPLIT bus) */ |
Definition at line 86 of file m66592-udc.h.
#define M66592_SQCLR 0x0100 /* b8: Sequence toggle bit clear */ |
Definition at line 406 of file m66592-udc.h.
#define M66592_SQCLR 0x0100 /* b8: Sequence toggle bit clear */ |
Definition at line 406 of file m66592-udc.h.
#define M66592_SQMON 0x0040 /* b6: Sequence toggle bit monitor */ |
Definition at line 408 of file m66592-udc.h.
#define M66592_SQMON 0x0040 /* b6: Sequence toggle bit monitor */ |
Definition at line 408 of file m66592-udc.h.
#define M66592_SQSET 0x0080 /* b7: Sequence toggle bit set */ |
Definition at line 407 of file m66592-udc.h.
#define M66592_SQSET 0x0080 /* b7: Sequence toggle bit set */ |
Definition at line 407 of file m66592-udc.h.
#define M66592_STANDARD 0x0000 |
Definition at line 271 of file m66592-udc.h.
#define M66592_STSR_ADDRESS 0x0200 /* Address state */ |
Definition at line 247 of file m66592-udc.h.
#define M66592_STSR_CONFIG 0x0300 /* Configured state */ |
Definition at line 248 of file m66592-udc.h.
#define M66592_STSR_DEFAULT 0x0100 /* Default state */ |
Definition at line 246 of file m66592-udc.h.
#define M66592_STSR_HI 0x0400 /* FULL(0) or HI(1) Speed */ |
Definition at line 245 of file m66592-udc.h.
#define M66592_STSRECOV 0x0700 /* Status recovery */ |
Definition at line 244 of file m66592-udc.h.
#define M66592_SUREQ 0x4000 /* b14: Send USB request */ |
Definition at line 332 of file m66592-udc.h.
#define M66592_SUSP 0x0010 /* b4: Suspend detected interrupt */ |
Definition at line 143 of file m66592-udc.h.
#define M66592_SYNCH_FRAME 0x0C00 |
Definition at line 265 of file m66592-udc.h.
#define M66592_SYSCFG 0x00 |
Definition at line 19 of file m66592-udc.h.
#define M66592_SYSSTS 0x02 |
Definition at line 37 of file m66592-udc.h.
#define M66592_TEST_FORCE_ENABLE 0x0500 /* Test_Force_Enable */ |
Definition at line 307 of file m66592-udc.h.
#define M66592_TEST_J 0x0100 /* Test_J */ |
Definition at line 303 of file m66592-udc.h.
#define M66592_TEST_K 0x0200 /* Test_K */ |
Definition at line 304 of file m66592-udc.h.
#define M66592_TEST_MODE 0x0002 |
Definition at line 284 of file m66592-udc.h.
#define M66592_TEST_PACKET 0x0400 /* Test_Packet */ |
Definition at line 306 of file m66592-udc.h.
#define M66592_TEST_Reserved 0x4000 /* Reserved */ |
Definition at line 309 of file m66592-udc.h.
#define M66592_TEST_SE0_NAK 0x0300 /* Test_SE0_NAK */ |
Definition at line 305 of file m66592-udc.h.
#define M66592_TEST_SELECT 0xFF00 /* b15-b8: Test Mode */ |
Definition at line 302 of file m66592-udc.h.
#define M66592_TEST_STSelectors 0x0600 /* Standard test selectors */ |
Definition at line 308 of file m66592-udc.h.
#define M66592_TEST_VSTModes 0xC000 /* Vendor-specific tests */ |
Definition at line 310 of file m66592-udc.h.
#define M66592_TESTMODE 0x06 |
Definition at line 55 of file m66592-udc.h.
#define M66592_TGL 0x8000 /* b15: Buffer toggle */ |
Definition at line 123 of file m66592-udc.h.
Definition at line 497 of file m66592-udc.h.
#define M66592_TRCLR 0x0100 /* b8: Transaction counter clear */ |
Definition at line 109 of file m66592-udc.h.
#define M66592_TRENB 0x0200 /* b9: Transaction counter enable */ |
Definition at line 108 of file m66592-udc.h.
#define M66592_TRNCNT 0xFFFF /* b15-0: Transaction counter */ |
Definition at line 129 of file m66592-udc.h.
#define M66592_TYP 0xC000 /* b15-14: Transfer type */ |
Definition at line 354 of file m66592-udc.h.
#define M66592_UACT 0x0010 /* b4: USB bus enable */ |
Definition at line 49 of file m66592-udc.h.
#define M66592_UFRMNUM 0x4E |
Definition at line 240 of file m66592-udc.h.
#define M66592_UFRNM 0x0007 /* b2-0: Micro frame number */ |
Definition at line 241 of file m66592-udc.h.
#define M66592_URST 0x0080 /* b7: USB reset detected interrupt */ |
Definition at line 140 of file m66592-udc.h.
#define M66592_USBADDR 0x007F /* b6-0: USB address */ |
Definition at line 249 of file m66592-udc.h.
#define M66592_USBE 0x0001 /* b0: USB module operation enable */ |
Definition at line 35 of file m66592-udc.h.
#define M66592_USBINDEX 0x58 |
Definition at line 300 of file m66592-udc.h.
#define M66592_USBLENG 0x5A |
Definition at line 315 of file m66592-udc.h.
#define M66592_USBREQ 0x54 |
Definition at line 251 of file m66592-udc.h.
#define M66592_USBRST 0x0040 /* b6: USB reset enable */ |
Definition at line 47 of file m66592-udc.h.
#define M66592_USBVAL 0x56 |
Definition at line 279 of file m66592-udc.h.
#define M66592_UTST 0x000F /* b4-0: Test select */ |
Definition at line 56 of file m66592-udc.h.
#define M66592_VALID 0x0008 /* b3: Setup packet detected flag */ |
Definition at line 218 of file m66592-udc.h.
#define M66592_VBINT 0x8000 /* b15: VBUS interrupt */ |
Definition at line 198 of file m66592-udc.h.
#define M66592_VBSE 0x8000 /* b15: VBUS interrupt */ |
Definition at line 132 of file m66592-udc.h.
#define M66592_VBSTS 0x0080 /* b7: VBUS input port */ |
Definition at line 206 of file m66592-udc.h.
#define M66592_VENDOR 0x0040 |
Definition at line 273 of file m66592-udc.h.
#define M66592_WDST 0x0008 /* b3: Control write data stage completed irq */ |
Definition at line 144 of file m66592-udc.h.
#define M66592_wIndex 0xFFFF /* b15-0: wIndex */ |
Definition at line 301 of file m66592-udc.h.
#define M66592_WKUP 0x0100 /* b8: Remote wakeup */ |
Definition at line 45 of file m66592-udc.h.
#define M66592_wLength 0xFFFF /* b15-0: wLength */ |
Definition at line 316 of file m66592-udc.h.
#define M66592_wValue 0xFFFF /* b15-0: wValue */ |
Definition at line 280 of file m66592-udc.h.
#define M66592_XCKE 0x2000 /* b13: External clock enable */ |
Definition at line 24 of file m66592-udc.h.
#define M66592_XTAL 0xC000 /* b15-14: Crystal selection */ |
Definition at line 20 of file m66592-udc.h.
#define M66592_XTAL12 0x0000 /* 12MHz */ |
Definition at line 23 of file m66592-udc.h.
#define M66592_XTAL24 0x4000 /* 24MHz */ |
Definition at line 22 of file m66592-udc.h.
#define M66592_XTAL48 0x8000 /* 48MHz */ |
Definition at line 21 of file m66592-udc.h.