Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | __REGS_USB_HSOTG_H __FILE__ |
#define | HSOTG_REG(x) (x) |
#define | GOTGCTL HSOTG_REG(0x000) |
#define | GOTGCTL_BSESVLD (1 << 19) |
#define | GOTGCTL_ASESVLD (1 << 18) |
#define | GOTGCTL_DBNC_SHORT (1 << 17) |
#define | GOTGCTL_CONID_B (1 << 16) |
#define | GOTGCTL_DEVHNPEN (1 << 11) |
#define | GOTGCTL_HSSETHNPEN (1 << 10) |
#define | GOTGCTL_HNPREQ (1 << 9) |
#define | GOTGCTL_HSTNEGSCS (1 << 8) |
#define | GOTGCTL_SESREQ (1 << 1) |
#define | GOTGCTL_SESREQSCS (1 << 0) |
#define | GOTGINT HSOTG_REG(0x004) |
#define | GOTGINT_DbnceDone (1 << 19) |
#define | GOTGINT_ADevTOUTChg (1 << 18) |
#define | GOTGINT_HstNegDet (1 << 17) |
#define | GOTGINT_HstnegSucStsChng (1 << 9) |
#define | GOTGINT_SesReqSucStsChng (1 << 8) |
#define | GOTGINT_SesEndDet (1 << 2) |
#define | GAHBCFG HSOTG_REG(0x008) |
#define | GAHBCFG_PTxFEmpLvl (1 << 8) |
#define | GAHBCFG_NPTxFEmpLvl (1 << 7) |
#define | GAHBCFG_DMAEn (1 << 5) |
#define | GAHBCFG_HBstLen_MASK (0xf << 1) |
#define | GAHBCFG_HBstLen_SHIFT (1) |
#define | GAHBCFG_HBstLen_Single (0x0 << 1) |
#define | GAHBCFG_HBstLen_Incr (0x1 << 1) |
#define | GAHBCFG_HBstLen_Incr4 (0x3 << 1) |
#define | GAHBCFG_HBstLen_Incr8 (0x5 << 1) |
#define | GAHBCFG_HBstLen_Incr16 (0x7 << 1) |
#define | GAHBCFG_GlblIntrEn (1 << 0) |
#define | GUSBCFG HSOTG_REG(0x00C) |
#define | GUSBCFG_PHYLPClkSel (1 << 15) |
#define | GUSBCFG_HNPCap (1 << 9) |
#define | GUSBCFG_SRPCap (1 << 8) |
#define | GUSBCFG_PHYIf16 (1 << 3) |
#define | GUSBCFG_TOutCal_MASK (0x7 << 0) |
#define | GUSBCFG_TOutCal_SHIFT (0) |
#define | GUSBCFG_TOutCal_LIMIT (0x7) |
#define | GUSBCFG_TOutCal(_x) ((_x) << 0) |
#define | GRSTCTL HSOTG_REG(0x010) |
#define | GRSTCTL_AHBIdle (1 << 31) |
#define | GRSTCTL_DMAReq (1 << 30) |
#define | GRSTCTL_TxFNum_MASK (0x1f << 6) |
#define | GRSTCTL_TxFNum_SHIFT (6) |
#define | GRSTCTL_TxFNum_LIMIT (0x1f) |
#define | GRSTCTL_TxFNum(_x) ((_x) << 6) |
#define | GRSTCTL_TxFFlsh (1 << 5) |
#define | GRSTCTL_RxFFlsh (1 << 4) |
#define | GRSTCTL_INTknQFlsh (1 << 3) |
#define | GRSTCTL_FrmCntrRst (1 << 2) |
#define | GRSTCTL_HSftRst (1 << 1) |
#define | GRSTCTL_CSftRst (1 << 0) |
#define | GINTSTS HSOTG_REG(0x014) |
#define | GINTMSK HSOTG_REG(0x018) |
#define | GINTSTS_WkUpInt (1 << 31) |
#define | GINTSTS_SessReqInt (1 << 30) |
#define | GINTSTS_DisconnInt (1 << 29) |
#define | GINTSTS_ConIDStsChng (1 << 28) |
#define | GINTSTS_PTxFEmp (1 << 26) |
#define | GINTSTS_HChInt (1 << 25) |
#define | GINTSTS_PrtInt (1 << 24) |
#define | GINTSTS_FetSusp (1 << 22) |
#define | GINTSTS_incompIP (1 << 21) |
#define | GINTSTS_IncomplSOIN (1 << 20) |
#define | GINTSTS_OEPInt (1 << 19) |
#define | GINTSTS_IEPInt (1 << 18) |
#define | GINTSTS_EPMis (1 << 17) |
#define | GINTSTS_EOPF (1 << 15) |
#define | GINTSTS_ISOutDrop (1 << 14) |
#define | GINTSTS_EnumDone (1 << 13) |
#define | GINTSTS_USBRst (1 << 12) |
#define | GINTSTS_USBSusp (1 << 11) |
#define | GINTSTS_ErlySusp (1 << 10) |
#define | GINTSTS_GOUTNakEff (1 << 7) |
#define | GINTSTS_GINNakEff (1 << 6) |
#define | GINTSTS_NPTxFEmp (1 << 5) |
#define | GINTSTS_RxFLvl (1 << 4) |
#define | GINTSTS_SOF (1 << 3) |
#define | GINTSTS_OTGInt (1 << 2) |
#define | GINTSTS_ModeMis (1 << 1) |
#define | GINTSTS_CurMod_Host (1 << 0) |
#define | GRXSTSR HSOTG_REG(0x01C) |
#define | GRXSTSP HSOTG_REG(0x020) |
#define | GRXSTS_FN_MASK (0x7f << 25) |
#define | GRXSTS_FN_SHIFT (25) |
#define | GRXSTS_PktSts_MASK (0xf << 17) |
#define | GRXSTS_PktSts_SHIFT (17) |
#define | GRXSTS_PktSts_GlobalOutNAK (0x1 << 17) |
#define | GRXSTS_PktSts_OutRX (0x2 << 17) |
#define | GRXSTS_PktSts_OutDone (0x3 << 17) |
#define | GRXSTS_PktSts_SetupDone (0x4 << 17) |
#define | GRXSTS_PktSts_SetupRX (0x6 << 17) |
#define | GRXSTS_DPID_MASK (0x3 << 15) |
#define | GRXSTS_DPID_SHIFT (15) |
#define | GRXSTS_ByteCnt_MASK (0x7ff << 4) |
#define | GRXSTS_ByteCnt_SHIFT (4) |
#define | GRXSTS_EPNum_MASK (0xf << 0) |
#define | GRXSTS_EPNum_SHIFT (0) |
#define | GRXFSIZ HSOTG_REG(0x024) |
#define | GNPTXFSIZ HSOTG_REG(0x028) |
#define | GNPTXFSIZ_NPTxFDep_MASK (0xffff << 16) |
#define | GNPTXFSIZ_NPTxFDep_SHIFT (16) |
#define | GNPTXFSIZ_NPTxFDep_LIMIT (0xffff) |
#define | GNPTXFSIZ_NPTxFDep(_x) ((_x) << 16) |
#define | GNPTXFSIZ_NPTxFStAddr_MASK (0xffff << 0) |
#define | GNPTXFSIZ_NPTxFStAddr_SHIFT (0) |
#define | GNPTXFSIZ_NPTxFStAddr_LIMIT (0xffff) |
#define | GNPTXFSIZ_NPTxFStAddr(_x) ((_x) << 0) |
#define | GNPTXSTS HSOTG_REG(0x02C) |
#define | GNPTXSTS_NPtxQTop_MASK (0x7f << 24) |
#define | GNPTXSTS_NPtxQTop_SHIFT (24) |
#define | GNPTXSTS_NPTxQSpcAvail_MASK (0xff << 16) |
#define | GNPTXSTS_NPTxQSpcAvail_SHIFT (16) |
#define | GNPTXSTS_NPTxQSpcAvail_GET(_v) (((_v) >> 16) & 0xff) |
#define | GNPTXSTS_NPTxFSpcAvail_MASK (0xffff << 0) |
#define | GNPTXSTS_NPTxFSpcAvail_SHIFT (0) |
#define | GNPTXSTS_NPTxFSpcAvail_GET(_v) (((_v) >> 0) & 0xffff) |
#define | HPTXFSIZ HSOTG_REG(0x100) |
#define | DPTXFSIZn(_a) HSOTG_REG(0x104 + (((_a) - 1) * 4)) |
#define | DPTXFSIZn_DPTxFSize_MASK (0xffff << 16) |
#define | DPTXFSIZn_DPTxFSize_SHIFT (16) |
#define | DPTXFSIZn_DPTxFSize_GET(_v) (((_v) >> 16) & 0xffff) |
#define | DPTXFSIZn_DPTxFSize_LIMIT (0xffff) |
#define | DPTXFSIZn_DPTxFSize(_x) ((_x) << 16) |
#define | DPTXFSIZn_DPTxFStAddr_MASK (0xffff << 0) |
#define | DPTXFSIZn_DPTxFStAddr_SHIFT (0) |
#define | DCFG HSOTG_REG(0x800) |
#define | DCFG_EPMisCnt_MASK (0x1f << 18) |
#define | DCFG_EPMisCnt_SHIFT (18) |
#define | DCFG_EPMisCnt_LIMIT (0x1f) |
#define | DCFG_EPMisCnt(_x) ((_x) << 18) |
#define | DCFG_PerFrInt_MASK (0x3 << 11) |
#define | DCFG_PerFrInt_SHIFT (11) |
#define | DCFG_PerFrInt_LIMIT (0x3) |
#define | DCFG_PerFrInt(_x) ((_x) << 11) |
#define | DCFG_DevAddr_MASK (0x7f << 4) |
#define | DCFG_DevAddr_SHIFT (4) |
#define | DCFG_DevAddr_LIMIT (0x7f) |
#define | DCFG_DevAddr(_x) ((_x) << 4) |
#define | DCFG_NZStsOUTHShk (1 << 2) |
#define | DCFG_DevSpd_MASK (0x3 << 0) |
#define | DCFG_DevSpd_SHIFT (0) |
#define | DCFG_DevSpd_HS (0x0 << 0) |
#define | DCFG_DevSpd_FS (0x1 << 0) |
#define | DCFG_DevSpd_LS (0x2 << 0) |
#define | DCFG_DevSpd_FS48 (0x3 << 0) |
#define | DCTL HSOTG_REG(0x804) |
#define | DCTL_PWROnPrgDone (1 << 11) |
#define | DCTL_CGOUTNak (1 << 10) |
#define | DCTL_SGOUTNak (1 << 9) |
#define | DCTL_CGNPInNAK (1 << 8) |
#define | DCTL_SGNPInNAK (1 << 7) |
#define | DCTL_TstCtl_MASK (0x7 << 4) |
#define | DCTL_TstCtl_SHIFT (4) |
#define | DCTL_GOUTNakSts (1 << 3) |
#define | DCTL_GNPINNakSts (1 << 2) |
#define | DCTL_SftDiscon (1 << 1) |
#define | DCTL_RmtWkUpSig (1 << 0) |
#define | DSTS HSOTG_REG(0x808) |
#define | DSTS_SOFFN_MASK (0x3fff << 8) |
#define | DSTS_SOFFN_SHIFT (8) |
#define | DSTS_SOFFN_LIMIT (0x3fff) |
#define | DSTS_SOFFN(_x) ((_x) << 8) |
#define | DSTS_ErraticErr (1 << 3) |
#define | DSTS_EnumSpd_MASK (0x3 << 1) |
#define | DSTS_EnumSpd_SHIFT (1) |
#define | DSTS_EnumSpd_HS (0x0 << 1) |
#define | DSTS_EnumSpd_FS (0x1 << 1) |
#define | DSTS_EnumSpd_LS (0x2 << 1) |
#define | DSTS_EnumSpd_FS48 (0x3 << 1) |
#define | DSTS_SuspSts (1 << 0) |
#define | DIEPMSK HSOTG_REG(0x810) |
#define | DIEPMSK_TxFIFOEmpty (1 << 7) |
#define | DIEPMSK_INEPNakEffMsk (1 << 6) |
#define | DIEPMSK_INTknEPMisMsk (1 << 5) |
#define | DIEPMSK_INTknTXFEmpMsk (1 << 4) |
#define | DIEPMSK_TimeOUTMsk (1 << 3) |
#define | DIEPMSK_AHBErrMsk (1 << 2) |
#define | DIEPMSK_EPDisbldMsk (1 << 1) |
#define | DIEPMSK_XferComplMsk (1 << 0) |
#define | DOEPMSK HSOTG_REG(0x814) |
#define | DOEPMSK_Back2BackSetup (1 << 6) |
#define | DOEPMSK_OUTTknEPdisMsk (1 << 4) |
#define | DOEPMSK_SetupMsk (1 << 3) |
#define | DOEPMSK_AHBErrMsk (1 << 2) |
#define | DOEPMSK_EPDisbldMsk (1 << 1) |
#define | DOEPMSK_XferComplMsk (1 << 0) |
#define | DAINT HSOTG_REG(0x818) |
#define | DAINTMSK HSOTG_REG(0x81C) |
#define | DAINT_OutEP_SHIFT (16) |
#define | DAINT_OutEP(x) (1 << ((x) + 16)) |
#define | DAINT_InEP(x) (1 << (x)) |
#define | DTKNQR1 HSOTG_REG(0x820) |
#define | DTKNQR2 HSOTG_REG(0x824) |
#define | DTKNQR3 HSOTG_REG(0x830) |
#define | DTKNQR4 HSOTG_REG(0x834) |
#define | DVBUSDIS HSOTG_REG(0x828) |
#define | DVBUSPULSE HSOTG_REG(0x82C) |
#define | DIEPCTL0 HSOTG_REG(0x900) |
#define | DOEPCTL0 HSOTG_REG(0xB00) |
#define | DIEPCTL(_a) HSOTG_REG(0x900 + ((_a) * 0x20)) |
#define | DOEPCTL(_a) HSOTG_REG(0xB00 + ((_a) * 0x20)) |
#define | D0EPCTL_MPS_MASK (0x3 << 0) |
#define | D0EPCTL_MPS_SHIFT (0) |
#define | D0EPCTL_MPS_64 (0x0 << 0) |
#define | D0EPCTL_MPS_32 (0x1 << 0) |
#define | D0EPCTL_MPS_16 (0x2 << 0) |
#define | D0EPCTL_MPS_8 (0x3 << 0) |
#define | DxEPCTL_EPEna (1 << 31) |
#define | DxEPCTL_EPDis (1 << 30) |
#define | DxEPCTL_SetD1PID (1 << 29) |
#define | DxEPCTL_SetOddFr (1 << 29) |
#define | DxEPCTL_SetD0PID (1 << 28) |
#define | DxEPCTL_SetEvenFr (1 << 28) |
#define | DxEPCTL_SNAK (1 << 27) |
#define | DxEPCTL_CNAK (1 << 26) |
#define | DxEPCTL_TxFNum_MASK (0xf << 22) |
#define | DxEPCTL_TxFNum_SHIFT (22) |
#define | DxEPCTL_TxFNum_LIMIT (0xf) |
#define | DxEPCTL_TxFNum(_x) ((_x) << 22) |
#define | DxEPCTL_Stall (1 << 21) |
#define | DxEPCTL_Snp (1 << 20) |
#define | DxEPCTL_EPType_MASK (0x3 << 18) |
#define | DxEPCTL_EPType_SHIFT (18) |
#define | DxEPCTL_EPType_Control (0x0 << 18) |
#define | DxEPCTL_EPType_Iso (0x1 << 18) |
#define | DxEPCTL_EPType_Bulk (0x2 << 18) |
#define | DxEPCTL_EPType_Intterupt (0x3 << 18) |
#define | DxEPCTL_NAKsts (1 << 17) |
#define | DxEPCTL_DPID (1 << 16) |
#define | DxEPCTL_EOFrNum (1 << 16) |
#define | DxEPCTL_USBActEp (1 << 15) |
#define | DxEPCTL_NextEp_MASK (0xf << 11) |
#define | DxEPCTL_NextEp_SHIFT (11) |
#define | DxEPCTL_NextEp_LIMIT (0xf) |
#define | DxEPCTL_NextEp(_x) ((_x) << 11) |
#define | DxEPCTL_MPS_MASK (0x7ff << 0) |
#define | DxEPCTL_MPS_SHIFT (0) |
#define | DxEPCTL_MPS_LIMIT (0x7ff) |
#define | DxEPCTL_MPS(_x) ((_x) << 0) |
#define | DIEPINT(_a) HSOTG_REG(0x908 + ((_a) * 0x20)) |
#define | DOEPINT(_a) HSOTG_REG(0xB08 + ((_a) * 0x20)) |
#define | DxEPINT_INEPNakEff (1 << 6) |
#define | DxEPINT_Back2BackSetup (1 << 6) |
#define | DxEPINT_INTknEPMis (1 << 5) |
#define | DxEPINT_INTknTXFEmp (1 << 4) |
#define | DxEPINT_OUTTknEPdis (1 << 4) |
#define | DxEPINT_Timeout (1 << 3) |
#define | DxEPINT_Setup (1 << 3) |
#define | DxEPINT_AHBErr (1 << 2) |
#define | DxEPINT_EPDisbld (1 << 1) |
#define | DxEPINT_XferCompl (1 << 0) |
#define | DIEPTSIZ0 HSOTG_REG(0x910) |
#define | DIEPTSIZ0_PktCnt_MASK (0x3 << 19) |
#define | DIEPTSIZ0_PktCnt_SHIFT (19) |
#define | DIEPTSIZ0_PktCnt_LIMIT (0x3) |
#define | DIEPTSIZ0_PktCnt(_x) ((_x) << 19) |
#define | DIEPTSIZ0_XferSize_MASK (0x7f << 0) |
#define | DIEPTSIZ0_XferSize_SHIFT (0) |
#define | DIEPTSIZ0_XferSize_LIMIT (0x7f) |
#define | DIEPTSIZ0_XferSize(_x) ((_x) << 0) |
#define | DOEPTSIZ0 HSOTG_REG(0xB10) |
#define | DOEPTSIZ0_SUPCnt_MASK (0x3 << 29) |
#define | DOEPTSIZ0_SUPCnt_SHIFT (29) |
#define | DOEPTSIZ0_SUPCnt_LIMIT (0x3) |
#define | DOEPTSIZ0_SUPCnt(_x) ((_x) << 29) |
#define | DOEPTSIZ0_PktCnt (1 << 19) |
#define | DOEPTSIZ0_XferSize_MASK (0x7f << 0) |
#define | DOEPTSIZ0_XferSize_SHIFT (0) |
#define | DIEPTSIZ(_a) HSOTG_REG(0x910 + ((_a) * 0x20)) |
#define | DOEPTSIZ(_a) HSOTG_REG(0xB10 + ((_a) * 0x20)) |
#define | DxEPTSIZ_MC_MASK (0x3 << 29) |
#define | DxEPTSIZ_MC_SHIFT (29) |
#define | DxEPTSIZ_MC_LIMIT (0x3) |
#define | DxEPTSIZ_MC(_x) ((_x) << 29) |
#define | DxEPTSIZ_PktCnt_MASK (0x3ff << 19) |
#define | DxEPTSIZ_PktCnt_SHIFT (19) |
#define | DxEPTSIZ_PktCnt_GET(_v) (((_v) >> 19) & 0x3ff) |
#define | DxEPTSIZ_PktCnt_LIMIT (0x3ff) |
#define | DxEPTSIZ_PktCnt(_x) ((_x) << 19) |
#define | DxEPTSIZ_XferSize_MASK (0x7ffff << 0) |
#define | DxEPTSIZ_XferSize_SHIFT (0) |
#define | DxEPTSIZ_XferSize_GET(_v) (((_v) >> 0) & 0x7ffff) |
#define | DxEPTSIZ_XferSize_LIMIT (0x7ffff) |
#define | DxEPTSIZ_XferSize(_x) ((_x) << 0) |
#define | DIEPDMA(_a) HSOTG_REG(0x914 + ((_a) * 0x20)) |
#define | DOEPDMA(_a) HSOTG_REG(0xB14 + ((_a) * 0x20)) |
#define | DTXFSTS(_a) HSOTG_REG(0x918 + ((_a) * 0x20)) |
#define | EPFIFO(_a) HSOTG_REG(0x1000 + ((_a) * 0x1000)) |
#define __REGS_USB_HSOTG_H __FILE__ |
Definition at line 16 of file s3c-hsotg.h.
#define D0EPCTL_MPS_16 (0x2 << 0) |
Definition at line 276 of file s3c-hsotg.h.
#define D0EPCTL_MPS_32 (0x1 << 0) |
Definition at line 275 of file s3c-hsotg.h.
#define D0EPCTL_MPS_64 (0x0 << 0) |
Definition at line 274 of file s3c-hsotg.h.
#define D0EPCTL_MPS_8 (0x3 << 0) |
Definition at line 277 of file s3c-hsotg.h.
#define D0EPCTL_MPS_MASK (0x3 << 0) |
Definition at line 272 of file s3c-hsotg.h.
#define D0EPCTL_MPS_SHIFT (0) |
Definition at line 273 of file s3c-hsotg.h.
#define DAINT HSOTG_REG(0x818) |
Definition at line 247 of file s3c-hsotg.h.
Definition at line 252 of file s3c-hsotg.h.
Definition at line 251 of file s3c-hsotg.h.
#define DAINT_OutEP_SHIFT (16) |
Definition at line 250 of file s3c-hsotg.h.
#define DAINTMSK HSOTG_REG(0x81C) |
Definition at line 248 of file s3c-hsotg.h.
#define DCFG HSOTG_REG(0x800) |
Definition at line 171 of file s3c-hsotg.h.
#define DCFG_DevAddr | ( | _x | ) | ((_x) << 4) |
Definition at line 186 of file s3c-hsotg.h.
#define DCFG_DevAddr_LIMIT (0x7f) |
Definition at line 185 of file s3c-hsotg.h.
#define DCFG_DevAddr_MASK (0x7f << 4) |
Definition at line 183 of file s3c-hsotg.h.
#define DCFG_DevAddr_SHIFT (4) |
Definition at line 184 of file s3c-hsotg.h.
#define DCFG_DevSpd_FS (0x1 << 0) |
Definition at line 193 of file s3c-hsotg.h.
#define DCFG_DevSpd_FS48 (0x3 << 0) |
Definition at line 195 of file s3c-hsotg.h.
#define DCFG_DevSpd_HS (0x0 << 0) |
Definition at line 192 of file s3c-hsotg.h.
#define DCFG_DevSpd_LS (0x2 << 0) |
Definition at line 194 of file s3c-hsotg.h.
#define DCFG_DevSpd_MASK (0x3 << 0) |
Definition at line 190 of file s3c-hsotg.h.
#define DCFG_DevSpd_SHIFT (0) |
Definition at line 191 of file s3c-hsotg.h.
#define DCFG_EPMisCnt | ( | _x | ) | ((_x) << 18) |
Definition at line 176 of file s3c-hsotg.h.
#define DCFG_EPMisCnt_LIMIT (0x1f) |
Definition at line 175 of file s3c-hsotg.h.
#define DCFG_EPMisCnt_MASK (0x1f << 18) |
Definition at line 173 of file s3c-hsotg.h.
#define DCFG_EPMisCnt_SHIFT (18) |
Definition at line 174 of file s3c-hsotg.h.
#define DCFG_NZStsOUTHShk (1 << 2) |
Definition at line 188 of file s3c-hsotg.h.
#define DCFG_PerFrInt | ( | _x | ) | ((_x) << 11) |
Definition at line 181 of file s3c-hsotg.h.
#define DCFG_PerFrInt_LIMIT (0x3) |
Definition at line 180 of file s3c-hsotg.h.
#define DCFG_PerFrInt_MASK (0x3 << 11) |
Definition at line 178 of file s3c-hsotg.h.
#define DCFG_PerFrInt_SHIFT (11) |
Definition at line 179 of file s3c-hsotg.h.
#define DCTL HSOTG_REG(0x804) |
Definition at line 197 of file s3c-hsotg.h.
#define DCTL_CGNPInNAK (1 << 8) |
Definition at line 202 of file s3c-hsotg.h.
#define DCTL_CGOUTNak (1 << 10) |
Definition at line 200 of file s3c-hsotg.h.
#define DCTL_GNPINNakSts (1 << 2) |
Definition at line 207 of file s3c-hsotg.h.
#define DCTL_GOUTNakSts (1 << 3) |
Definition at line 206 of file s3c-hsotg.h.
#define DCTL_PWROnPrgDone (1 << 11) |
Definition at line 199 of file s3c-hsotg.h.
#define DCTL_RmtWkUpSig (1 << 0) |
Definition at line 209 of file s3c-hsotg.h.
#define DCTL_SftDiscon (1 << 1) |
Definition at line 208 of file s3c-hsotg.h.
#define DCTL_SGNPInNAK (1 << 7) |
Definition at line 203 of file s3c-hsotg.h.
#define DCTL_SGOUTNak (1 << 9) |
Definition at line 201 of file s3c-hsotg.h.
#define DCTL_TstCtl_MASK (0x7 << 4) |
Definition at line 204 of file s3c-hsotg.h.
#define DCTL_TstCtl_SHIFT (4) |
Definition at line 205 of file s3c-hsotg.h.
#define DIEPCTL | ( | _a | ) | HSOTG_REG(0x900 + ((_a) * 0x20)) |
Definition at line 264 of file s3c-hsotg.h.
#define DIEPCTL0 HSOTG_REG(0x900) |
Definition at line 262 of file s3c-hsotg.h.
#define DIEPDMA | ( | _a | ) | HSOTG_REG(0x914 + ((_a) * 0x20)) |
Definition at line 371 of file s3c-hsotg.h.
#define DIEPINT | ( | _a | ) | HSOTG_REG(0x908 + ((_a) * 0x20)) |
Definition at line 315 of file s3c-hsotg.h.
#define DIEPMSK HSOTG_REG(0x810) |
Definition at line 227 of file s3c-hsotg.h.
#define DIEPMSK_AHBErrMsk (1 << 2) |
Definition at line 234 of file s3c-hsotg.h.
#define DIEPMSK_EPDisbldMsk (1 << 1) |
Definition at line 235 of file s3c-hsotg.h.
#define DIEPMSK_INEPNakEffMsk (1 << 6) |
Definition at line 230 of file s3c-hsotg.h.
#define DIEPMSK_INTknEPMisMsk (1 << 5) |
Definition at line 231 of file s3c-hsotg.h.
#define DIEPMSK_INTknTXFEmpMsk (1 << 4) |
Definition at line 232 of file s3c-hsotg.h.
#define DIEPMSK_TimeOUTMsk (1 << 3) |
Definition at line 233 of file s3c-hsotg.h.
#define DIEPMSK_TxFIFOEmpty (1 << 7) |
Definition at line 229 of file s3c-hsotg.h.
#define DIEPMSK_XferComplMsk (1 << 0) |
Definition at line 236 of file s3c-hsotg.h.
#define DIEPTSIZ | ( | _a | ) | HSOTG_REG(0x910 + ((_a) * 0x20)) |
Definition at line 351 of file s3c-hsotg.h.
#define DIEPTSIZ0 HSOTG_REG(0x910) |
Definition at line 329 of file s3c-hsotg.h.
#define DIEPTSIZ0_PktCnt | ( | _x | ) | ((_x) << 19) |
Definition at line 334 of file s3c-hsotg.h.
#define DIEPTSIZ0_PktCnt_LIMIT (0x3) |
Definition at line 333 of file s3c-hsotg.h.
#define DIEPTSIZ0_PktCnt_MASK (0x3 << 19) |
Definition at line 331 of file s3c-hsotg.h.
#define DIEPTSIZ0_PktCnt_SHIFT (19) |
Definition at line 332 of file s3c-hsotg.h.
#define DIEPTSIZ0_XferSize | ( | _x | ) | ((_x) << 0) |
Definition at line 339 of file s3c-hsotg.h.
#define DIEPTSIZ0_XferSize_LIMIT (0x7f) |
Definition at line 338 of file s3c-hsotg.h.
#define DIEPTSIZ0_XferSize_MASK (0x7f << 0) |
Definition at line 336 of file s3c-hsotg.h.
#define DIEPTSIZ0_XferSize_SHIFT (0) |
Definition at line 337 of file s3c-hsotg.h.
#define DOEPCTL | ( | _a | ) | HSOTG_REG(0xB00 + ((_a) * 0x20)) |
Definition at line 265 of file s3c-hsotg.h.
#define DOEPCTL0 HSOTG_REG(0xB00) |
Definition at line 263 of file s3c-hsotg.h.
#define DOEPDMA | ( | _a | ) | HSOTG_REG(0xB14 + ((_a) * 0x20)) |
Definition at line 372 of file s3c-hsotg.h.
#define DOEPINT | ( | _a | ) | HSOTG_REG(0xB08 + ((_a) * 0x20)) |
Definition at line 316 of file s3c-hsotg.h.
#define DOEPMSK HSOTG_REG(0x814) |
Definition at line 238 of file s3c-hsotg.h.
#define DOEPMSK_AHBErrMsk (1 << 2) |
Definition at line 243 of file s3c-hsotg.h.
#define DOEPMSK_Back2BackSetup (1 << 6) |
Definition at line 240 of file s3c-hsotg.h.
#define DOEPMSK_EPDisbldMsk (1 << 1) |
Definition at line 244 of file s3c-hsotg.h.
#define DOEPMSK_OUTTknEPdisMsk (1 << 4) |
Definition at line 241 of file s3c-hsotg.h.
#define DOEPMSK_SetupMsk (1 << 3) |
Definition at line 242 of file s3c-hsotg.h.
#define DOEPMSK_XferComplMsk (1 << 0) |
Definition at line 245 of file s3c-hsotg.h.
#define DOEPTSIZ | ( | _a | ) | HSOTG_REG(0xB10 + ((_a) * 0x20)) |
Definition at line 352 of file s3c-hsotg.h.
#define DOEPTSIZ0 HSOTG_REG(0xB10) |
Definition at line 341 of file s3c-hsotg.h.
#define DOEPTSIZ0_PktCnt (1 << 19) |
Definition at line 347 of file s3c-hsotg.h.
#define DOEPTSIZ0_SUPCnt | ( | _x | ) | ((_x) << 29) |
Definition at line 345 of file s3c-hsotg.h.
#define DOEPTSIZ0_SUPCnt_LIMIT (0x3) |
Definition at line 344 of file s3c-hsotg.h.
#define DOEPTSIZ0_SUPCnt_MASK (0x3 << 29) |
Definition at line 342 of file s3c-hsotg.h.
#define DOEPTSIZ0_SUPCnt_SHIFT (29) |
Definition at line 343 of file s3c-hsotg.h.
#define DOEPTSIZ0_XferSize_MASK (0x7f << 0) |
Definition at line 348 of file s3c-hsotg.h.
#define DOEPTSIZ0_XferSize_SHIFT (0) |
Definition at line 349 of file s3c-hsotg.h.
#define DPTXFSIZn | ( | _a | ) | HSOTG_REG(0x104 + (((_a) - 1) * 4)) |
Definition at line 159 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFSize | ( | _x | ) | ((_x) << 16) |
Definition at line 165 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFSize_GET | ( | _v | ) | (((_v) >> 16) & 0xffff) |
Definition at line 163 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFSize_LIMIT (0xffff) |
Definition at line 164 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFSize_MASK (0xffff << 16) |
Definition at line 161 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFSize_SHIFT (16) |
Definition at line 162 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFStAddr_MASK (0xffff << 0) |
Definition at line 167 of file s3c-hsotg.h.
#define DPTXFSIZn_DPTxFStAddr_SHIFT (0) |
Definition at line 168 of file s3c-hsotg.h.
#define DSTS HSOTG_REG(0x808) |
Definition at line 211 of file s3c-hsotg.h.
#define DSTS_EnumSpd_FS (0x1 << 1) |
Definition at line 221 of file s3c-hsotg.h.
#define DSTS_EnumSpd_FS48 (0x3 << 1) |
Definition at line 223 of file s3c-hsotg.h.
#define DSTS_EnumSpd_HS (0x0 << 1) |
Definition at line 220 of file s3c-hsotg.h.
#define DSTS_EnumSpd_LS (0x2 << 1) |
Definition at line 222 of file s3c-hsotg.h.
#define DSTS_EnumSpd_MASK (0x3 << 1) |
Definition at line 218 of file s3c-hsotg.h.
#define DSTS_EnumSpd_SHIFT (1) |
Definition at line 219 of file s3c-hsotg.h.
#define DSTS_ErraticErr (1 << 3) |
Definition at line 217 of file s3c-hsotg.h.
#define DSTS_SOFFN | ( | _x | ) | ((_x) << 8) |
Definition at line 216 of file s3c-hsotg.h.
#define DSTS_SOFFN_LIMIT (0x3fff) |
Definition at line 215 of file s3c-hsotg.h.
#define DSTS_SOFFN_MASK (0x3fff << 8) |
Definition at line 213 of file s3c-hsotg.h.
#define DSTS_SOFFN_SHIFT (8) |
Definition at line 214 of file s3c-hsotg.h.
#define DSTS_SuspSts (1 << 0) |
Definition at line 225 of file s3c-hsotg.h.
#define DTKNQR1 HSOTG_REG(0x820) |
Definition at line 254 of file s3c-hsotg.h.
#define DTKNQR2 HSOTG_REG(0x824) |
Definition at line 255 of file s3c-hsotg.h.
#define DTKNQR3 HSOTG_REG(0x830) |
Definition at line 256 of file s3c-hsotg.h.
#define DTKNQR4 HSOTG_REG(0x834) |
Definition at line 257 of file s3c-hsotg.h.
#define DTXFSTS | ( | _a | ) | HSOTG_REG(0x918 + ((_a) * 0x20)) |
Definition at line 373 of file s3c-hsotg.h.
#define DVBUSDIS HSOTG_REG(0x828) |
Definition at line 259 of file s3c-hsotg.h.
#define DVBUSPULSE HSOTG_REG(0x82C) |
Definition at line 260 of file s3c-hsotg.h.
#define DxEPCTL_CNAK (1 << 26) |
Definition at line 286 of file s3c-hsotg.h.
#define DxEPCTL_DPID (1 << 16) |
Definition at line 302 of file s3c-hsotg.h.
#define DxEPCTL_EOFrNum (1 << 16) |
Definition at line 303 of file s3c-hsotg.h.
#define DxEPCTL_EPDis (1 << 30) |
Definition at line 280 of file s3c-hsotg.h.
#define DxEPCTL_EPEna (1 << 31) |
Definition at line 279 of file s3c-hsotg.h.
#define DxEPCTL_EPType_Bulk (0x2 << 18) |
Definition at line 298 of file s3c-hsotg.h.
#define DxEPCTL_EPType_Control (0x0 << 18) |
Definition at line 296 of file s3c-hsotg.h.
#define DxEPCTL_EPType_Intterupt (0x3 << 18) |
Definition at line 299 of file s3c-hsotg.h.
#define DxEPCTL_EPType_Iso (0x1 << 18) |
Definition at line 297 of file s3c-hsotg.h.
#define DxEPCTL_EPType_MASK (0x3 << 18) |
Definition at line 294 of file s3c-hsotg.h.
#define DxEPCTL_EPType_SHIFT (18) |
Definition at line 295 of file s3c-hsotg.h.
#define DxEPCTL_MPS | ( | _x | ) | ((_x) << 0) |
Definition at line 313 of file s3c-hsotg.h.
#define DxEPCTL_MPS_LIMIT (0x7ff) |
Definition at line 312 of file s3c-hsotg.h.
#define DxEPCTL_MPS_MASK (0x7ff << 0) |
Definition at line 310 of file s3c-hsotg.h.
#define DxEPCTL_MPS_SHIFT (0) |
Definition at line 311 of file s3c-hsotg.h.
#define DxEPCTL_NAKsts (1 << 17) |
Definition at line 301 of file s3c-hsotg.h.
#define DxEPCTL_NextEp | ( | _x | ) | ((_x) << 11) |
Definition at line 308 of file s3c-hsotg.h.
#define DxEPCTL_NextEp_LIMIT (0xf) |
Definition at line 307 of file s3c-hsotg.h.
#define DxEPCTL_NextEp_MASK (0xf << 11) |
Definition at line 305 of file s3c-hsotg.h.
#define DxEPCTL_NextEp_SHIFT (11) |
Definition at line 306 of file s3c-hsotg.h.
#define DxEPCTL_SetD0PID (1 << 28) |
Definition at line 283 of file s3c-hsotg.h.
#define DxEPCTL_SetD1PID (1 << 29) |
Definition at line 281 of file s3c-hsotg.h.
#define DxEPCTL_SetEvenFr (1 << 28) |
Definition at line 284 of file s3c-hsotg.h.
#define DxEPCTL_SetOddFr (1 << 29) |
Definition at line 282 of file s3c-hsotg.h.
#define DxEPCTL_SNAK (1 << 27) |
Definition at line 285 of file s3c-hsotg.h.
#define DxEPCTL_Snp (1 << 20) |
Definition at line 293 of file s3c-hsotg.h.
#define DxEPCTL_Stall (1 << 21) |
Definition at line 292 of file s3c-hsotg.h.
#define DxEPCTL_TxFNum | ( | _x | ) | ((_x) << 22) |
Definition at line 290 of file s3c-hsotg.h.
#define DxEPCTL_TxFNum_LIMIT (0xf) |
Definition at line 289 of file s3c-hsotg.h.
#define DxEPCTL_TxFNum_MASK (0xf << 22) |
Definition at line 287 of file s3c-hsotg.h.
#define DxEPCTL_TxFNum_SHIFT (22) |
Definition at line 288 of file s3c-hsotg.h.
#define DxEPCTL_USBActEp (1 << 15) |
Definition at line 304 of file s3c-hsotg.h.
#define DxEPINT_AHBErr (1 << 2) |
Definition at line 325 of file s3c-hsotg.h.
#define DxEPINT_Back2BackSetup (1 << 6) |
Definition at line 319 of file s3c-hsotg.h.
#define DxEPINT_EPDisbld (1 << 1) |
Definition at line 326 of file s3c-hsotg.h.
#define DxEPINT_INEPNakEff (1 << 6) |
Definition at line 318 of file s3c-hsotg.h.
#define DxEPINT_INTknEPMis (1 << 5) |
Definition at line 320 of file s3c-hsotg.h.
#define DxEPINT_INTknTXFEmp (1 << 4) |
Definition at line 321 of file s3c-hsotg.h.
#define DxEPINT_OUTTknEPdis (1 << 4) |
Definition at line 322 of file s3c-hsotg.h.
#define DxEPINT_Setup (1 << 3) |
Definition at line 324 of file s3c-hsotg.h.
#define DxEPINT_Timeout (1 << 3) |
Definition at line 323 of file s3c-hsotg.h.
#define DxEPINT_XferCompl (1 << 0) |
Definition at line 327 of file s3c-hsotg.h.
#define DxEPTSIZ_MC | ( | _x | ) | ((_x) << 29) |
Definition at line 357 of file s3c-hsotg.h.
#define DxEPTSIZ_MC_LIMIT (0x3) |
Definition at line 356 of file s3c-hsotg.h.
#define DxEPTSIZ_MC_MASK (0x3 << 29) |
Definition at line 354 of file s3c-hsotg.h.
#define DxEPTSIZ_MC_SHIFT (29) |
Definition at line 355 of file s3c-hsotg.h.
#define DxEPTSIZ_PktCnt | ( | _x | ) | ((_x) << 19) |
Definition at line 363 of file s3c-hsotg.h.
#define DxEPTSIZ_PktCnt_GET | ( | _v | ) | (((_v) >> 19) & 0x3ff) |
Definition at line 361 of file s3c-hsotg.h.
#define DxEPTSIZ_PktCnt_LIMIT (0x3ff) |
Definition at line 362 of file s3c-hsotg.h.
#define DxEPTSIZ_PktCnt_MASK (0x3ff << 19) |
Definition at line 359 of file s3c-hsotg.h.
#define DxEPTSIZ_PktCnt_SHIFT (19) |
Definition at line 360 of file s3c-hsotg.h.
#define DxEPTSIZ_XferSize | ( | _x | ) | ((_x) << 0) |
Definition at line 369 of file s3c-hsotg.h.
#define DxEPTSIZ_XferSize_GET | ( | _v | ) | (((_v) >> 0) & 0x7ffff) |
Definition at line 367 of file s3c-hsotg.h.
#define DxEPTSIZ_XferSize_LIMIT (0x7ffff) |
Definition at line 368 of file s3c-hsotg.h.
#define DxEPTSIZ_XferSize_MASK (0x7ffff << 0) |
Definition at line 365 of file s3c-hsotg.h.
#define DxEPTSIZ_XferSize_SHIFT (0) |
Definition at line 366 of file s3c-hsotg.h.
#define EPFIFO | ( | _a | ) | HSOTG_REG(0x1000 + ((_a) * 0x1000)) |
Definition at line 375 of file s3c-hsotg.h.
#define GAHBCFG HSOTG_REG(0x008) |
Definition at line 40 of file s3c-hsotg.h.
#define GAHBCFG_DMAEn (1 << 5) |
Definition at line 43 of file s3c-hsotg.h.
#define GAHBCFG_GlblIntrEn (1 << 0) |
Definition at line 51 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_Incr (0x1 << 1) |
Definition at line 47 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_Incr16 (0x7 << 1) |
Definition at line 50 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_Incr4 (0x3 << 1) |
Definition at line 48 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_Incr8 (0x5 << 1) |
Definition at line 49 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_MASK (0xf << 1) |
Definition at line 44 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_SHIFT (1) |
Definition at line 45 of file s3c-hsotg.h.
#define GAHBCFG_HBstLen_Single (0x0 << 1) |
Definition at line 46 of file s3c-hsotg.h.
#define GAHBCFG_NPTxFEmpLvl (1 << 7) |
Definition at line 42 of file s3c-hsotg.h.
#define GAHBCFG_PTxFEmpLvl (1 << 8) |
Definition at line 41 of file s3c-hsotg.h.
#define GINTMSK HSOTG_REG(0x018) |
Definition at line 79 of file s3c-hsotg.h.
#define GINTSTS HSOTG_REG(0x014) |
Definition at line 78 of file s3c-hsotg.h.
#define GINTSTS_ConIDStsChng (1 << 28) |
Definition at line 84 of file s3c-hsotg.h.
#define GINTSTS_CurMod_Host (1 << 0) |
Definition at line 107 of file s3c-hsotg.h.
#define GINTSTS_DisconnInt (1 << 29) |
Definition at line 83 of file s3c-hsotg.h.
#define GINTSTS_EnumDone (1 << 13) |
Definition at line 96 of file s3c-hsotg.h.
#define GINTSTS_EOPF (1 << 15) |
Definition at line 94 of file s3c-hsotg.h.
#define GINTSTS_EPMis (1 << 17) |
Definition at line 93 of file s3c-hsotg.h.
#define GINTSTS_ErlySusp (1 << 10) |
Definition at line 99 of file s3c-hsotg.h.
#define GINTSTS_FetSusp (1 << 22) |
Definition at line 88 of file s3c-hsotg.h.
#define GINTSTS_GINNakEff (1 << 6) |
Definition at line 101 of file s3c-hsotg.h.
#define GINTSTS_GOUTNakEff (1 << 7) |
Definition at line 100 of file s3c-hsotg.h.
#define GINTSTS_HChInt (1 << 25) |
Definition at line 86 of file s3c-hsotg.h.
#define GINTSTS_IEPInt (1 << 18) |
Definition at line 92 of file s3c-hsotg.h.
#define GINTSTS_incompIP (1 << 21) |
Definition at line 89 of file s3c-hsotg.h.
#define GINTSTS_IncomplSOIN (1 << 20) |
Definition at line 90 of file s3c-hsotg.h.
#define GINTSTS_ISOutDrop (1 << 14) |
Definition at line 95 of file s3c-hsotg.h.
#define GINTSTS_ModeMis (1 << 1) |
Definition at line 106 of file s3c-hsotg.h.
#define GINTSTS_NPTxFEmp (1 << 5) |
Definition at line 102 of file s3c-hsotg.h.
#define GINTSTS_OEPInt (1 << 19) |
Definition at line 91 of file s3c-hsotg.h.
#define GINTSTS_OTGInt (1 << 2) |
Definition at line 105 of file s3c-hsotg.h.
#define GINTSTS_PrtInt (1 << 24) |
Definition at line 87 of file s3c-hsotg.h.
#define GINTSTS_PTxFEmp (1 << 26) |
Definition at line 85 of file s3c-hsotg.h.
#define GINTSTS_RxFLvl (1 << 4) |
Definition at line 103 of file s3c-hsotg.h.
#define GINTSTS_SessReqInt (1 << 30) |
Definition at line 82 of file s3c-hsotg.h.
#define GINTSTS_SOF (1 << 3) |
Definition at line 104 of file s3c-hsotg.h.
#define GINTSTS_USBRst (1 << 12) |
Definition at line 97 of file s3c-hsotg.h.
#define GINTSTS_USBSusp (1 << 11) |
Definition at line 98 of file s3c-hsotg.h.
#define GINTSTS_WkUpInt (1 << 31) |
Definition at line 81 of file s3c-hsotg.h.
#define GNPTXFSIZ HSOTG_REG(0x028) |
Definition at line 132 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFDep | ( | _x | ) | ((_x) << 16) |
Definition at line 137 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFDep_LIMIT (0xffff) |
Definition at line 136 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFDep_MASK (0xffff << 16) |
Definition at line 134 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFDep_SHIFT (16) |
Definition at line 135 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFStAddr | ( | _x | ) | ((_x) << 0) |
Definition at line 141 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFStAddr_LIMIT (0xffff) |
Definition at line 140 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFStAddr_MASK (0xffff << 0) |
Definition at line 138 of file s3c-hsotg.h.
#define GNPTXFSIZ_NPTxFStAddr_SHIFT (0) |
Definition at line 139 of file s3c-hsotg.h.
#define GNPTXSTS HSOTG_REG(0x02C) |
Definition at line 143 of file s3c-hsotg.h.
#define GNPTXSTS_NPTxFSpcAvail_GET | ( | _v | ) | (((_v) >> 0) & 0xffff) |
Definition at line 154 of file s3c-hsotg.h.
#define GNPTXSTS_NPTxFSpcAvail_MASK (0xffff << 0) |
Definition at line 152 of file s3c-hsotg.h.
#define GNPTXSTS_NPTxFSpcAvail_SHIFT (0) |
Definition at line 153 of file s3c-hsotg.h.
#define GNPTXSTS_NPTxQSpcAvail_GET | ( | _v | ) | (((_v) >> 16) & 0xff) |
Definition at line 150 of file s3c-hsotg.h.
#define GNPTXSTS_NPTxQSpcAvail_MASK (0xff << 16) |
Definition at line 148 of file s3c-hsotg.h.
#define GNPTXSTS_NPTxQSpcAvail_SHIFT (16) |
Definition at line 149 of file s3c-hsotg.h.
#define GNPTXSTS_NPtxQTop_MASK (0x7f << 24) |
Definition at line 145 of file s3c-hsotg.h.
#define GNPTXSTS_NPtxQTop_SHIFT (24) |
Definition at line 146 of file s3c-hsotg.h.
#define GOTGCTL HSOTG_REG(0x000) |
Definition at line 20 of file s3c-hsotg.h.
#define GOTGCTL_ASESVLD (1 << 18) |
Definition at line 22 of file s3c-hsotg.h.
#define GOTGCTL_BSESVLD (1 << 19) |
Definition at line 21 of file s3c-hsotg.h.
#define GOTGCTL_CONID_B (1 << 16) |
Definition at line 24 of file s3c-hsotg.h.
#define GOTGCTL_DBNC_SHORT (1 << 17) |
Definition at line 23 of file s3c-hsotg.h.
#define GOTGCTL_DEVHNPEN (1 << 11) |
Definition at line 25 of file s3c-hsotg.h.
#define GOTGCTL_HNPREQ (1 << 9) |
Definition at line 27 of file s3c-hsotg.h.
#define GOTGCTL_HSSETHNPEN (1 << 10) |
Definition at line 26 of file s3c-hsotg.h.
#define GOTGCTL_HSTNEGSCS (1 << 8) |
Definition at line 28 of file s3c-hsotg.h.
#define GOTGCTL_SESREQ (1 << 1) |
Definition at line 29 of file s3c-hsotg.h.
#define GOTGCTL_SESREQSCS (1 << 0) |
Definition at line 30 of file s3c-hsotg.h.
#define GOTGINT HSOTG_REG(0x004) |
Definition at line 32 of file s3c-hsotg.h.
#define GOTGINT_ADevTOUTChg (1 << 18) |
Definition at line 34 of file s3c-hsotg.h.
#define GOTGINT_DbnceDone (1 << 19) |
Definition at line 33 of file s3c-hsotg.h.
#define GOTGINT_HstNegDet (1 << 17) |
Definition at line 35 of file s3c-hsotg.h.
#define GOTGINT_HstnegSucStsChng (1 << 9) |
Definition at line 36 of file s3c-hsotg.h.
#define GOTGINT_SesEndDet (1 << 2) |
Definition at line 38 of file s3c-hsotg.h.
#define GOTGINT_SesReqSucStsChng (1 << 8) |
Definition at line 37 of file s3c-hsotg.h.
#define GRSTCTL HSOTG_REG(0x010) |
Definition at line 63 of file s3c-hsotg.h.
#define GRSTCTL_AHBIdle (1 << 31) |
Definition at line 65 of file s3c-hsotg.h.
#define GRSTCTL_CSftRst (1 << 0) |
Definition at line 76 of file s3c-hsotg.h.
#define GRSTCTL_DMAReq (1 << 30) |
Definition at line 66 of file s3c-hsotg.h.
#define GRSTCTL_FrmCntrRst (1 << 2) |
Definition at line 74 of file s3c-hsotg.h.
#define GRSTCTL_HSftRst (1 << 1) |
Definition at line 75 of file s3c-hsotg.h.
#define GRSTCTL_INTknQFlsh (1 << 3) |
Definition at line 73 of file s3c-hsotg.h.
#define GRSTCTL_RxFFlsh (1 << 4) |
Definition at line 72 of file s3c-hsotg.h.
#define GRSTCTL_TxFFlsh (1 << 5) |
Definition at line 71 of file s3c-hsotg.h.
#define GRSTCTL_TxFNum | ( | _x | ) | ((_x) << 6) |
Definition at line 70 of file s3c-hsotg.h.
#define GRSTCTL_TxFNum_LIMIT (0x1f) |
Definition at line 69 of file s3c-hsotg.h.
#define GRSTCTL_TxFNum_MASK (0x1f << 6) |
Definition at line 67 of file s3c-hsotg.h.
#define GRSTCTL_TxFNum_SHIFT (6) |
Definition at line 68 of file s3c-hsotg.h.
#define GRXFSIZ HSOTG_REG(0x024) |
Definition at line 130 of file s3c-hsotg.h.
#define GRXSTS_ByteCnt_MASK (0x7ff << 4) |
Definition at line 125 of file s3c-hsotg.h.
#define GRXSTS_ByteCnt_SHIFT (4) |
Definition at line 126 of file s3c-hsotg.h.
#define GRXSTS_DPID_MASK (0x3 << 15) |
Definition at line 123 of file s3c-hsotg.h.
#define GRXSTS_DPID_SHIFT (15) |
Definition at line 124 of file s3c-hsotg.h.
#define GRXSTS_EPNum_MASK (0xf << 0) |
Definition at line 127 of file s3c-hsotg.h.
#define GRXSTS_EPNum_SHIFT (0) |
Definition at line 128 of file s3c-hsotg.h.
#define GRXSTS_FN_MASK (0x7f << 25) |
Definition at line 112 of file s3c-hsotg.h.
#define GRXSTS_FN_SHIFT (25) |
Definition at line 113 of file s3c-hsotg.h.
#define GRXSTS_PktSts_GlobalOutNAK (0x1 << 17) |
Definition at line 117 of file s3c-hsotg.h.
#define GRXSTS_PktSts_MASK (0xf << 17) |
Definition at line 115 of file s3c-hsotg.h.
#define GRXSTS_PktSts_OutDone (0x3 << 17) |
Definition at line 119 of file s3c-hsotg.h.
#define GRXSTS_PktSts_OutRX (0x2 << 17) |
Definition at line 118 of file s3c-hsotg.h.
#define GRXSTS_PktSts_SetupDone (0x4 << 17) |
Definition at line 120 of file s3c-hsotg.h.
#define GRXSTS_PktSts_SetupRX (0x6 << 17) |
Definition at line 121 of file s3c-hsotg.h.
#define GRXSTS_PktSts_SHIFT (17) |
Definition at line 116 of file s3c-hsotg.h.
#define GRXSTSP HSOTG_REG(0x020) |
Definition at line 110 of file s3c-hsotg.h.
#define GRXSTSR HSOTG_REG(0x01C) |
Definition at line 109 of file s3c-hsotg.h.
#define GUSBCFG HSOTG_REG(0x00C) |
Definition at line 53 of file s3c-hsotg.h.
#define GUSBCFG_HNPCap (1 << 9) |
Definition at line 55 of file s3c-hsotg.h.
#define GUSBCFG_PHYIf16 (1 << 3) |
Definition at line 57 of file s3c-hsotg.h.
#define GUSBCFG_PHYLPClkSel (1 << 15) |
Definition at line 54 of file s3c-hsotg.h.
#define GUSBCFG_SRPCap (1 << 8) |
Definition at line 56 of file s3c-hsotg.h.
#define GUSBCFG_TOutCal | ( | _x | ) | ((_x) << 0) |
Definition at line 61 of file s3c-hsotg.h.
#define GUSBCFG_TOutCal_LIMIT (0x7) |
Definition at line 60 of file s3c-hsotg.h.
#define GUSBCFG_TOutCal_MASK (0x7 << 0) |
Definition at line 58 of file s3c-hsotg.h.
#define GUSBCFG_TOutCal_SHIFT (0) |
Definition at line 59 of file s3c-hsotg.h.
#define HPTXFSIZ HSOTG_REG(0x100) |
Definition at line 157 of file s3c-hsotg.h.
Definition at line 18 of file s3c-hsotg.h.