\hypertarget{musb__otg_8h_source}{}\doxysection{musb\+\_\+otg.\+h}
\label{musb__otg_8h_source}\index{dev/usb/controller/musb\_otg.h@{dev/usb/controller/musb\_otg.h}}
\mbox{\hyperlink{musb__otg_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00001}00001 \textcolor{comment}{/* \$FreeBSD\$ */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00002}00002 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00003}00003 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00004}00004 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00005}00005 \textcolor{comment}{ * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00015}00015 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00016}00016 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00017}00017 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00018}00018 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00019}00019 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00020}00020 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00021}00021 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00022}00022 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00023}00023 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00024}00024 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00025}00025 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00026}00026 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00027}00027 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00028}00028 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00029}00029 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00030}00030 \textcolor{comment}{ * This header file defines the registers of the Mentor Graphics USB OnTheGo}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00031}00031 \textcolor{comment}{ * Inventra chip.}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00032}00032 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00033}00033 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifndef \_MUSB2\_OTG\_H\_}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00035}00035 \textcolor{preprocessor}{\#define \_MUSB2\_OTG\_H\_}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00037}\mbox{\hyperlink{musb__otg_8h_a644d05c6b2fc305237e0ac02f78d3379}{00037}} \textcolor{preprocessor}{\#define MUSB2\_MAX\_DEVICES USB\_MAX\_DEVICES}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00039}00039 \textcolor{comment}{/* Common registers */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00040}00040 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00041}\mbox{\hyperlink{musb__otg_8h_aa6580ec7abf1a4cadeafafa98d7628ba}{00041}} \textcolor{preprocessor}{\#define MUSB2\_REG\_FADDR 0x0000          }\textcolor{comment}{/* function address register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00042}\mbox{\hyperlink{musb__otg_8h_a546b620ce7099cea2063744a8a267160}{00042}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_FADDR 0x7F}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00043}00043 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00044}\mbox{\hyperlink{musb__otg_8h_ac16c97c65fb8893438efd2e4f96614fc}{00044}} \textcolor{preprocessor}{\#define MUSB2\_REG\_POWER 0x0001          }\textcolor{comment}{/* power register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00045}\mbox{\hyperlink{musb__otg_8h_afcf88ae49cf0cd3895b74d99cc6d9bda}{00045}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_SUSPM\_ENA 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00046}\mbox{\hyperlink{musb__otg_8h_a959dade3ec1efd23ad90339d13e17c1f}{00046}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_SUSPMODE 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00047}\mbox{\hyperlink{musb__otg_8h_a85f137d562632ba9e1851a662c66b23a}{00047}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_RESUME 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00048}\mbox{\hyperlink{musb__otg_8h_a7033fa6c2e1123323e5eb4add9c6a7ef}{00048}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_RESET 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00049}\mbox{\hyperlink{musb__otg_8h_a48592e646a98b6a1300c3c1aa7028056}{00049}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_HSMODE 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00050}\mbox{\hyperlink{musb__otg_8h_a91c132c6e3264ec0e7f42c060e60ed1e}{00050}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_HSENAB 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00051}\mbox{\hyperlink{musb__otg_8h_a85c93d365638bfeb3ec517cd4da6f894}{00051}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_SOFTC 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00052}\mbox{\hyperlink{musb__otg_8h_ace8b1310947ed056cce87294961bc4c5}{00052}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_ISOUPD 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00054}00054 \textcolor{comment}{/* Endpoint interrupt handling */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00055}00055 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00056}\mbox{\hyperlink{musb__otg_8h_a3ade4f4b051d61c1306511722e733c1b}{00056}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INTTX 0x0002          }\textcolor{comment}{/* transmit interrupt register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00057}\mbox{\hyperlink{musb__otg_8h_aa69e8febd771058a9506809f4b6fc513}{00057}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INTRX 0x0004          }\textcolor{comment}{/* receive interrupt register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00058}\mbox{\hyperlink{musb__otg_8h_a4154814d4802b97ab00d7a6ea99ba49a}{00058}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INTTXE 0x0006         }\textcolor{comment}{/* transmit interrupt enable register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00059}\mbox{\hyperlink{musb__otg_8h_ad3b21f445a2b075fd8a37e42b10c2c5b}{00059}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INTRXE 0x0008         }\textcolor{comment}{/* receive interrupt enable register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00060}\mbox{\hyperlink{musb__otg_8h_a941d08dcfaafff33a350819616d597f6}{00060}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_EPINT(epn) (1 << (epn))      }\textcolor{comment}{/* epn = [0..15] */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00061}00061 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00062}00062 \textcolor{comment}{/* Common interrupt handling */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00063}00063 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00064}\mbox{\hyperlink{musb__otg_8h_a92da91648fde9d97956c56fd48e82098}{00064}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INTUSB 0x000A         }\textcolor{comment}{/* USB interrupt register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00065}\mbox{\hyperlink{musb__otg_8h_a201f2b9a40f6de8885353216e6b91438}{00065}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_ISUSP 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00066}\mbox{\hyperlink{musb__otg_8h_a99d81320f5914f17478d825d69273449}{00066}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_IRESUME 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00067}\mbox{\hyperlink{musb__otg_8h_a210c928ed790bd8af9d79b0ffc50fd1f}{00067}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_IRESET 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00068}\mbox{\hyperlink{musb__otg_8h_a2ba698ab7379b0f3a82db7bed88e372f}{00068}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_IBABBLE 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00069}\mbox{\hyperlink{musb__otg_8h_a45cab928663d0a57dae304cfc50b6a0a}{00069}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_ISOF 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00070}\mbox{\hyperlink{musb__otg_8h_af76b9b1e7d12545ed2127d6ee2cf3c0a}{00070}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_ICONN 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00071}\mbox{\hyperlink{musb__otg_8h_ad478b1b38f44df32369811765916f061}{00071}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_IDISC 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00072}\mbox{\hyperlink{musb__otg_8h_adbb48157a20175dec250e8fc61114002}{00072}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_ISESSRQ 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00073}\mbox{\hyperlink{musb__otg_8h_ae8b34d79e19d77d0881a0d8ea4d14559}{00073}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_IVBUSERR 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00074}00074 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00075}\mbox{\hyperlink{musb__otg_8h_a9e2b5ef5e972e985618aab92872e7eec}{00075}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INTUSBE 0x000B        }\textcolor{comment}{/* USB interrupt enable register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00076}\mbox{\hyperlink{musb__otg_8h_aa225ceac3df3ff7c6b1aa907e17d1286}{00076}} \textcolor{preprocessor}{\#define MUSB2\_REG\_FRAME 0x000C          }\textcolor{comment}{/* USB frame register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00077}\mbox{\hyperlink{musb__otg_8h_ae7f35c152b90fa0f3e29128cffeca93b}{00077}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_FRAME 0x3FF          }\textcolor{comment}{/* 0..1023 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00078}00078 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00079}\mbox{\hyperlink{musb__otg_8h_af02be81864c6da38ef8b1411c9b810ce}{00079}} \textcolor{preprocessor}{\#define MUSB2\_REG\_EPINDEX 0x000E        }\textcolor{comment}{/* endpoint index register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00080}\mbox{\hyperlink{musb__otg_8h_ac37efd6862d1c9352110f9f39ae21bf0}{00080}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_EPINDEX 0x0F}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00081}00081 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00082}\mbox{\hyperlink{musb__otg_8h_a752df19ccfe5f9c32b11b4fa41de748b}{00082}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TESTMODE 0x000F       }\textcolor{comment}{/* test mode register */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00083}\mbox{\hyperlink{musb__otg_8h_a9ba78129ce0565280db7431bee46a4b5}{00083}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TSE0\_NAK 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00084}\mbox{\hyperlink{musb__otg_8h_a19641dfd81179f51c604c9113fed889b}{00084}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TJ 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00085}\mbox{\hyperlink{musb__otg_8h_a38109be2c1e124ff02cbaefc0e8b5209}{00085}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TK 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00086}\mbox{\hyperlink{musb__otg_8h_abecc08855a09f13ff8734b5a5474ab7a}{00086}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TPACKET 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00087}\mbox{\hyperlink{musb__otg_8h_a5e079642eb88c97c0c22d40912500566}{00087}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TFORCE\_HS 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00088}\mbox{\hyperlink{musb__otg_8h_ab78e9078f4c0c9a57bdb009852eccc7c}{00088}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TFORCE\_LS 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00089}\mbox{\hyperlink{musb__otg_8h_a2c07c9adabe6cc64a109e6e9c622ef1d}{00089}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TFIFO\_ACC 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00090}\mbox{\hyperlink{musb__otg_8h_ac0c5e3075a2ffff7824aad96ba1a9d52}{00090}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TFORCE\_HC 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00091}00091 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00092}\mbox{\hyperlink{musb__otg_8h_ad9bd3829403fc4d59ddb4e9769ca3cbc}{00092}} \textcolor{preprocessor}{\#define MUSB2\_REG\_INDEXED\_CSR 0x0010    }\textcolor{comment}{/* EP control status register offset */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00093}00093 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00094}\mbox{\hyperlink{musb__otg_8h_a5c19d06ce847b79582a2dd52620fe2d3}{00094}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXMAXP (0x0000 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00095}\mbox{\hyperlink{musb__otg_8h_a6e50bd3d050a035c1301e59d641cf216}{00095}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXMAXP (0x0004 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00096}\mbox{\hyperlink{musb__otg_8h_a6c652ba9eb4d5e4c50866ad1090cacd7}{00096}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_PKTSIZE 0x03FF       }\textcolor{comment}{/* in bytes, should be even */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00097}\mbox{\hyperlink{musb__otg_8h_a99b6a166b933a63b3ffe54c542228424}{00097}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_PKTMULT 0xFC00       }\textcolor{comment}{/* HS packet multiplier: 0..2 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00098}00098 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00099}\mbox{\hyperlink{musb__otg_8h_a1ee053832a03d8c7bf2eb3de4fc1624e}{00099}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXCSRL (0x0002 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00100}\mbox{\hyperlink{musb__otg_8h_a1d06ab43618220e2a9c7fe90ffb0a6f3}{00100}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXPKTRDY 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00101}\mbox{\hyperlink{musb__otg_8h_acddcd5dcb5468a44244c8e48565dc73c}{00101}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXFIFONEMPTY 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00102}\mbox{\hyperlink{musb__otg_8h_a23aa799b41646f45bd5a5c3be7cda5ae}{00102}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXUNDERRUN 0x04 }\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00103}\mbox{\hyperlink{musb__otg_8h_a7e74493f6693b5d069dfbc80a482a0c1}{00103}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXERROR 0x04    }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00104}\mbox{\hyperlink{musb__otg_8h_abd85f5917e6bf5f1097a0d77338f483b}{00104}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXFFLUSH 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00105}\mbox{\hyperlink{musb__otg_8h_ac3fd4d98393ba6264a0e66e251f911e1}{00105}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXSENDSTALL 0x10}\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00106}\mbox{\hyperlink{musb__otg_8h_a0514144f3496f6927cddff678e42aaf5}{00106}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXSETUPPKT 0x10 }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00107}\mbox{\hyperlink{musb__otg_8h_a3a0663262eff3f6752cd903049c97901}{00107}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXSENTSTALL 0x20}\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00108}\mbox{\hyperlink{musb__otg_8h_a76e6b99152e3a057d99c57aa39d65b5e}{00108}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXSTALLED 0x20  }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00109}\mbox{\hyperlink{musb__otg_8h_aeff4758ee10a822287885abcdc32472d}{00109}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXDT\_CLR 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00110}\mbox{\hyperlink{musb__otg_8h_a4d6c98be907ecb46cc3b07bbf44f2a6b}{00110}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXINCOMP 0x80 }\textcolor{comment}{/* Device mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00111}\mbox{\hyperlink{musb__otg_8h_aae9ad910abb8d4c3236aae6c8df28779}{00111}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_TXNAKTO 0x80 }\textcolor{comment}{/* Host mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00112}00112 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00113}00113 \textcolor{comment}{/* Device Side Mode */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00114}\mbox{\hyperlink{musb__otg_8h_a64f8a785fa44582c3667dc637a940c35}{00114}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_RXPKTRDY 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00115}\mbox{\hyperlink{musb__otg_8h_a62949b97d25437471b7f8842d2e388dc}{00115}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_TXPKTRDY 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00116}\mbox{\hyperlink{musb__otg_8h_a5ca3a7642b6dae6f8aed13612de344fc}{00116}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_SENTSTALL 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00117}\mbox{\hyperlink{musb__otg_8h_a520074413db49158b9b61c9c9125019f}{00117}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_DATAEND 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00118}\mbox{\hyperlink{musb__otg_8h_a1905c37e601f7bcafd7f7c86d94b4579}{00118}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_SETUPEND 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00119}\mbox{\hyperlink{musb__otg_8h_aee7d401e9674a20761056d4fcb9294fc}{00119}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_SENDSTALL 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00120}\mbox{\hyperlink{musb__otg_8h_aa5c64f119bc3ae688a6dc7b6414f9308}{00120}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_RXPKTRDY\_CLR 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00121}\mbox{\hyperlink{musb__otg_8h_a2dc79fea4c337eff52c8f3d9c4bf460d}{00121}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_SETUPEND\_CLR 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00122}00122 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00123}00123 \textcolor{comment}{/* Host Side Mode */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00124}\mbox{\hyperlink{musb__otg_8h_a99b1bf95c32f8e63fe061a2fe05a7d85}{00124}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_TXFIFONEMPTY 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00125}\mbox{\hyperlink{musb__otg_8h_abd4a9387959cb4049ba5e023b103fa00}{00125}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_RXSTALL 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00126}\mbox{\hyperlink{musb__otg_8h_af1d7a97b85cffb6b1a5d5afb6ca66275}{00126}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_SETUPPKT 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00127}\mbox{\hyperlink{musb__otg_8h_a0274c9e1b215a6d5dd42d53ec152ac1f}{00127}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_ERROR 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00128}\mbox{\hyperlink{musb__otg_8h_a534f337191b8c8d814025b738602a03d}{00128}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_REQPKT 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00129}\mbox{\hyperlink{musb__otg_8h_a0ae62faca453a14528472942ab8785aa}{00129}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_STATUSPKT 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00130}\mbox{\hyperlink{musb__otg_8h_a9546b0253bdde0c4e248ffb93ad777aa}{00130}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0L\_NAKTIMO 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00132}\mbox{\hyperlink{musb__otg_8h_ac1fa2fbcb401c8afd9f473866daffffe}{00132}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXCSRH (0x0003 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00133}\mbox{\hyperlink{musb__otg_8h_a4c09bca807afe66d976b1a54d881fc22}{00133}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXDT\_VAL 0x01   }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00134}\mbox{\hyperlink{musb__otg_8h_ad1849188695f135315de8c2df7f5aa66}{00134}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXDT\_WREN 0x02  }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00135}\mbox{\hyperlink{musb__otg_8h_ad24167f25129075f87c9e17dfcdeccb1}{00135}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXDMAREQMODE 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00136}\mbox{\hyperlink{musb__otg_8h_a093a59a18a9919fdeaa8a18e83273ebf}{00136}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXDT\_SWITCH 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00137}\mbox{\hyperlink{musb__otg_8h_a7cb52c4d8f8846b1912b8427bc46ed76}{00137}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXDMAREQENA 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00138}\mbox{\hyperlink{musb__otg_8h_a6e3e8eb26ab6694e258a08bb0b5e0b6e}{00138}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXMODE 0x00}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00139}\mbox{\hyperlink{musb__otg_8h_ac1c250322b02b998ddcfb4b05ffebcc0}{00139}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXMODE 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00140}\mbox{\hyperlink{musb__otg_8h_a9f477550185824ac5a0cec514cfd2468}{00140}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXISO 0x40      }\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00141}\mbox{\hyperlink{musb__otg_8h_a902cc1f0f647794756c623ff56cca376}{00141}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_TXAUTOSET 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00142}00142 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00143}\mbox{\hyperlink{musb__otg_8h_a64b608ef8f34ac583f6392f245961454}{00143}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0H\_FFLUSH 0x01    }\textcolor{comment}{/* Device Side flush FIFO */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00144}\mbox{\hyperlink{musb__otg_8h_ab2a3f4127b1ae2027d29e511afdbfd63}{00144}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0H\_DT 0x02        }\textcolor{comment}{/* Host Side data toggle */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00145}\mbox{\hyperlink{musb__otg_8h_a50d4be6f984660d080e4f8852c82de91}{00145}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0H\_DT\_WREN 0x04   }\textcolor{comment}{/* Host Side */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00146}\mbox{\hyperlink{musb__otg_8h_a9a2942ef8c0866543cdff752449ddf36}{00146}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSR0H\_PING\_DIS 0x08  }\textcolor{comment}{/* Host Side */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00147}00147 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00148}\mbox{\hyperlink{musb__otg_8h_a45043d95e6180647b8fb717233500ae0}{00148}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXCSRL (0x0006 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00149}\mbox{\hyperlink{musb__otg_8h_acabe58cb61f452594acd432117e017c0}{00149}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXPKTRDY 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00150}\mbox{\hyperlink{musb__otg_8h_ae2fba989f6a51eecf1366ca88a5b9bb3}{00150}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXFIFOFULL 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00151}\mbox{\hyperlink{musb__otg_8h_a1ed4c22eaa51e670531d9a03f111e0ef}{00151}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXOVERRUN 0x04 }\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00152}\mbox{\hyperlink{musb__otg_8h_a4ba4b36e5eb33e4641feedce5e2c5cef}{00152}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXERROR 0x04 }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00153}\mbox{\hyperlink{musb__otg_8h_a391da2eba0b9205916bd6f4bed332fcd}{00153}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXDATAERR 0x08 }\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00154}\mbox{\hyperlink{musb__otg_8h_aaa8781f7e95e247752930dac9ff78955}{00154}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXNAKTO 0x08 }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00155}\mbox{\hyperlink{musb__otg_8h_a1538e9823f364520cab0fadd54277270}{00155}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXFFLUSH 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00156}\mbox{\hyperlink{musb__otg_8h_a9d02d470e3d0f6b37b1343e5b662c39e}{00156}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXSENDSTALL 0x20}\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00157}\mbox{\hyperlink{musb__otg_8h_ab37f1ee3b8dfbd698e5b136b7b9f45c3}{00157}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXREQPKT 0x20   }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00158}\mbox{\hyperlink{musb__otg_8h_a260677da4f384a4c4f2cd33c5ecd80d3}{00158}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXSENTSTALL 0x40}\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00159}\mbox{\hyperlink{musb__otg_8h_a3d89266c5f2515063e53d303756e26c1}{00159}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXSTALL 0x40    }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00160}\mbox{\hyperlink{musb__otg_8h_a9bdb6de22ea7e754439eebbfbdab7049}{00160}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRL\_RXDT\_CLR 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00161}00161 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00162}\mbox{\hyperlink{musb__otg_8h_a36709d1c1280ca7f5b151be85487052d}{00162}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXCSRH (0x0007 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00163}\mbox{\hyperlink{musb__otg_8h_a223e10d1438b7ab583c8b2123244fee5}{00163}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXINCOMP 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00164}\mbox{\hyperlink{musb__otg_8h_aa099e3249edebe98038ba31092390eb7}{00164}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXDT\_VAL 0x02   }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00165}\mbox{\hyperlink{musb__otg_8h_acff2b802e793612be6b5a130bb6c48e1}{00165}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXDT\_WREN 0x04  }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00166}\mbox{\hyperlink{musb__otg_8h_a3d39d689e1338c52e9f591647cb0fea9}{00166}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXDMAREQMODE 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00167}\mbox{\hyperlink{musb__otg_8h_a2ee43a881a098dc0a349fc12032a2c0b}{00167}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXNYET 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00168}\mbox{\hyperlink{musb__otg_8h_ab9fc9250aa720fcb17d25cb33aded3df}{00168}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXDMAREQENA 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00169}\mbox{\hyperlink{musb__otg_8h_a0755a5d3f038855473b8d85162b82f69}{00169}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXISO 0x40      }\textcolor{comment}{/* Device Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00170}\mbox{\hyperlink{musb__otg_8h_a5d2eddb6fe244be27cb333c4c5d9c985}{00170}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXAUTOREQ 0x40  }\textcolor{comment}{/* Host Mode */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00171}\mbox{\hyperlink{musb__otg_8h_a0f00bd928ef1f7c6a79159a86ac6531d}{00171}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CSRH\_RXAUTOCLEAR 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00172}00172 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00173}\mbox{\hyperlink{musb__otg_8h_a7ec5360731c584bde3fbb3b39c271883}{00173}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXCOUNT (0x0008 + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00174}\mbox{\hyperlink{musb__otg_8h_a30d6b59713428cb751669b31ac13e30a}{00174}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_RXCOUNT 0xFFFF}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00175}00175 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00176}\mbox{\hyperlink{musb__otg_8h_ab75cf527e9284fc2403ee465bd74516f}{00176}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXTI (0x000A + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00177}\mbox{\hyperlink{musb__otg_8h_ad16ec9b788e2ce54739bdd66163b1405}{00177}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXTI (0x000C + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00178}00178 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00179}00179 \textcolor{comment}{/* Host Mode */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00180}\mbox{\hyperlink{musb__otg_8h_a62ee5a50ab8594503348ee8321923bc7}{00180}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_SPEED 0xC0}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00181}\mbox{\hyperlink{musb__otg_8h_a2fc37bffdaabc5bf9a04f68c76629f70}{00181}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_SPEED\_LO 0xC0}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00182}\mbox{\hyperlink{musb__otg_8h_a716f6351b8e727a4ef666a5232d99ac7}{00182}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_SPEED\_FS 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00183}\mbox{\hyperlink{musb__otg_8h_a0c7e7c456c899ef5bf28ca29b110e86d}{00183}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_SPEED\_HS 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00184}\mbox{\hyperlink{musb__otg_8h_af52c3c063182da9d222f051bbc607f1c}{00184}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_PROTO\_CTRL 0x00}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00185}\mbox{\hyperlink{musb__otg_8h_a954b65355708881ed511e0b9ab3c1837}{00185}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_PROTO\_ISOC 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00186}\mbox{\hyperlink{musb__otg_8h_a7abdc32fdfea6a5a9649445e8813fa52}{00186}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_PROTO\_BULK 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00187}\mbox{\hyperlink{musb__otg_8h_aead301f854dfd6fdd66d656f002b9570}{00187}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_PROTO\_INTR 0x30}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00188}\mbox{\hyperlink{musb__otg_8h_acdc540117f616203bbaaea72c68f0e59}{00188}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TI\_EP\_NUM 0x0F}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00189}00189 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00190}\mbox{\hyperlink{musb__otg_8h_a56faf3ead0c8bcced41a309b8945f5dc}{00190}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXNAKLIMIT (0x000B }\textcolor{comment}{/* EPN=0 */}\textcolor{preprocessor}{ + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00191}\mbox{\hyperlink{musb__otg_8h_a1e5f103f826b19be0814ca305f0120e4}{00191}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXNAKLIMIT (0x000D }\textcolor{comment}{/* EPN=0 */}\textcolor{preprocessor}{ + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00192}\mbox{\hyperlink{musb__otg_8h_a9717611adf92786b9d4d75677b44fd11}{00192}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_NAKLIMIT 0xFF}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00193}00193 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00194}\mbox{\hyperlink{musb__otg_8h_af06ab39c57b312eb8e262eebfd0f9f6c}{00194}} \textcolor{preprocessor}{\#define MUSB2\_REG\_FSIZE (0x000F + MUSB2\_REG\_INDEXED\_CSR)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00195}\mbox{\hyperlink{musb__otg_8h_af7085f5b6a70ffc46bf3a9b869e04566}{00195}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_RX\_FSIZE 0xF0        }\textcolor{comment}{/* 3..13, 2**n bytes */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00196}\mbox{\hyperlink{musb__otg_8h_abf90f702f540bdc0d677503bf0971168}{00196}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TX\_FSIZE 0x0F        }\textcolor{comment}{/* 3..13, 2**n bytes */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00197}00197 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00198}\mbox{\hyperlink{musb__otg_8h_a9d57ce3a2386b1a08f1cb8a4291db092}{00198}} \textcolor{preprocessor}{\#define MUSB2\_REG\_EPFIFO(n) (0x0020 + (4*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00199}00199 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00200}\mbox{\hyperlink{musb__otg_8h_ab62cde3823c51edf9ffc0436c6169655}{00200}} \textcolor{preprocessor}{\#define MUSB2\_REG\_CONFDATA (0x000F + MUSB2\_REG\_INDEXED\_CSR)     }\textcolor{comment}{/* EPN=0 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00201}\mbox{\hyperlink{musb__otg_8h_a29bf2e0bee883a9b69163d9f90b3458c}{00201}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_UTMI\_DW 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00202}\mbox{\hyperlink{musb__otg_8h_a6990ae964ff707f39495e348d42712db}{00202}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_SOFTCONE 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00203}\mbox{\hyperlink{musb__otg_8h_a8421f99322833397d13ca88adc5ea085}{00203}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_DYNFIFOSZ 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00204}\mbox{\hyperlink{musb__otg_8h_ae0326f8c4e0eda6e152641b2c58108ba}{00204}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_HBTXE 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00205}\mbox{\hyperlink{musb__otg_8h_a63346264d7ad513f1749bda461210585}{00205}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_HBRXE 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00206}\mbox{\hyperlink{musb__otg_8h_a855a434675b63ba01d1bfa73a6b1bb4f}{00206}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_BIGEND 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00207}\mbox{\hyperlink{musb__otg_8h_abdb73d03a4e7afd9af8529216dd40f96}{00207}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_MPTXE 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00208}\mbox{\hyperlink{musb__otg_8h_ac34d6128cdb1bba09bb12e97a43ae20c}{00208}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_CD\_MPRXE 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00209}00209 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00210}00210 \textcolor{comment}{/* Various registers */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00211}00211 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00212}\mbox{\hyperlink{musb__otg_8h_aabd3a2555a4e7f1955927df12a3b0151}{00212}} \textcolor{preprocessor}{\#define MUSB2\_REG\_DEVCTL 0x0060}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00213}\mbox{\hyperlink{musb__otg_8h_aa4dedbc6069b83b512c01bac87be785a}{00213}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_SESS 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00214}\mbox{\hyperlink{musb__otg_8h_a26476f7f3dc40603d2ca872a37566595}{00214}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_HOSTREQ 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00215}\mbox{\hyperlink{musb__otg_8h_a034c7f6450a8da87bb42f456ad7c0b59}{00215}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_HOSTMD 0x04}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00216}\mbox{\hyperlink{musb__otg_8h_ac11ab8e3ea27ef32087250aace21d8a2}{00216}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_VBUS0 0x08}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00217}\mbox{\hyperlink{musb__otg_8h_abe36db124275431b9b5c0dc3f7c149b5}{00217}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_VBUS1 0x10}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00218}\mbox{\hyperlink{musb__otg_8h_af36d5e998dbede90472081312e2965ec}{00218}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_LSDEV 0x20}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00219}\mbox{\hyperlink{musb__otg_8h_a8a2354bb86c030f288825b225aae6559}{00219}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_FSDEV 0x40}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00220}\mbox{\hyperlink{musb__otg_8h_aa2d7050ee283ff0fd7a22741240a2b41}{00220}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_BDEV 0x80}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00221}00221 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00222}\mbox{\hyperlink{musb__otg_8h_ac66dd1dd0bf1d04c84335f4779c99e5b}{00222}} \textcolor{preprocessor}{\#define MUSB2\_REG\_MISC 0x0061}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00223}\mbox{\hyperlink{musb__otg_8h_a29486612442a3dc880abd3d79462a305}{00223}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_RXEDMA 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00224}\mbox{\hyperlink{musb__otg_8h_aa2c68268dbd8e64c1e4e300ef1dd0b9d}{00224}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_TXEDMA 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00225}00225 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00226}\mbox{\hyperlink{musb__otg_8h_a8f26f2144ad9e2c86f9eff190c63c6de}{00226}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXFIFOSZ 0x0062}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00227}\mbox{\hyperlink{musb__otg_8h_a4d9ce8e032af8def71e7ccd1865c7261}{00227}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXFIFOSZ 0x0063}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00228}\mbox{\hyperlink{musb__otg_8h_a1ad5b42a5a114ade28bca4eabe815417}{00228}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_FIFODB 0x10          }\textcolor{comment}{/* set if double buffering, r/w */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00229}\mbox{\hyperlink{musb__otg_8h_ad4429ab01d80aa795126e8da67c0f5bf}{00229}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_FIFOSZ 0x0F}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00230}\mbox{\hyperlink{musb__otg_8h_a10d05deaa5c09d5b071a33e9cc14555b}{00230}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_8 0}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00231}\mbox{\hyperlink{musb__otg_8h_a39fe4659376ed8124c385506bac11fea}{00231}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_16 1}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00232}\mbox{\hyperlink{musb__otg_8h_ac4893ea383b220de4b4954cd94237e82}{00232}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_32 2}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00233}\mbox{\hyperlink{musb__otg_8h_acc2a891c2c2c71209f2019485fc6d715}{00233}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_64 3}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00234}\mbox{\hyperlink{musb__otg_8h_ab3b73f5f766855ae0f04cc3847cb4dab}{00234}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_128 4}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00235}\mbox{\hyperlink{musb__otg_8h_a43c2e4ebbdbdac2fba5abee0d21a8c10}{00235}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_256 5}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00236}\mbox{\hyperlink{musb__otg_8h_aaed98e1843777014b5d74e3e4cfe6a5c}{00236}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_512 6}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00237}\mbox{\hyperlink{musb__otg_8h_ac43a808eb230c1c6e01726c7528da152}{00237}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_1024 7}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00238}\mbox{\hyperlink{musb__otg_8h_a42db2af5919575611c2467458f5438b5}{00238}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_2048 8}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00239}\mbox{\hyperlink{musb__otg_8h_a21bb39e563d21c10118b9533f316030e}{00239}} \textcolor{preprocessor}{\#define MUSB2\_VAL\_FIFOSZ\_4096 9}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00240}00240 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00241}\mbox{\hyperlink{musb__otg_8h_a5cb8103eed69af0939bc92d49ffabde9}{00241}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXFIFOADD 0x0064}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00242}\mbox{\hyperlink{musb__otg_8h_a3b87422241d923465ebc03e795e75f52}{00242}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXFIFOADD 0x0066}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00243}\mbox{\hyperlink{musb__otg_8h_a549be0f2ac4aa755abbda58760598ca4}{00243}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_FIFOADD 0xFFF        }\textcolor{comment}{/* unit is 8-\/bytes */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00244}00244 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00245}\mbox{\hyperlink{musb__otg_8h_afd3977da602f523e431f764cc302cf98}{00245}} \textcolor{preprocessor}{\#define MUSB2\_REG\_VSTATUS 0x0068}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00246}\mbox{\hyperlink{musb__otg_8h_a4d63f61edb62425609db3fe97390a26e}{00246}} \textcolor{preprocessor}{\#define MUSB2\_REG\_VCONTROL 0x0068}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00247}\mbox{\hyperlink{musb__otg_8h_aff943a558305dcb09a32b1144e33a2df}{00247}} \textcolor{preprocessor}{\#define MUSB2\_REG\_HWVERS 0x006C}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00248}\mbox{\hyperlink{musb__otg_8h_a1f63071408d3249c57160272480a9025}{00248}} \textcolor{preprocessor}{\#define MUSB2\_REG\_ULPI\_BASE 0x0070}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00249}00249 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00250}\mbox{\hyperlink{musb__otg_8h_a6e0082373ce70466f5a07bcdfec8e699}{00250}} \textcolor{preprocessor}{\#define MUSB2\_REG\_EPINFO 0x0078}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00251}\mbox{\hyperlink{musb__otg_8h_a0d557458554082e9c098239c1ef49e94}{00251}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_NRXEP 0xF0}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00252}\mbox{\hyperlink{musb__otg_8h_a28efeb0e2115b1d2a6dda45e151ad2bf}{00252}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_NTXEP 0x0F}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00253}00253 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00254}\mbox{\hyperlink{musb__otg_8h_a1c10ed7c9d216516a92dc371fb02b805}{00254}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RAMINFO 0x0079}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00255}\mbox{\hyperlink{musb__otg_8h_a14eee6d302b61d533624ed924b9707df}{00255}} \textcolor{preprocessor}{\#define MUSB2\_REG\_LINKINFO 0x007A}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00256}00256 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00257}\mbox{\hyperlink{musb__otg_8h_af037ed4e200d483ac6ce3a546c8a8d35}{00257}} \textcolor{preprocessor}{\#define MUSB2\_REG\_VPLEN 0x007B}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00258}\mbox{\hyperlink{musb__otg_8h_a1c393eba7bbdc3bdd342f11b81ace38e}{00258}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_VPLEN 0xFF}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00259}00259 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00260}\mbox{\hyperlink{musb__otg_8h_a9bf4151a8b21b5cd034447f415fe9914}{00260}} \textcolor{preprocessor}{\#define MUSB2\_REG\_HS\_EOF1 0x007C}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00261}\mbox{\hyperlink{musb__otg_8h_a2f2881eca6a8f6e01d6ccf25b8f46409}{00261}} \textcolor{preprocessor}{\#define MUSB2\_REG\_FS\_EOF1 0x007D}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00262}\mbox{\hyperlink{musb__otg_8h_ad17e2255e12a60a678abb5fc08fe8e7b}{00262}} \textcolor{preprocessor}{\#define MUSB2\_REG\_LS\_EOF1 0x007E}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00263}\mbox{\hyperlink{musb__otg_8h_a75ac4c4f4049bf1757a3b3f8e0940532}{00263}} \textcolor{preprocessor}{\#define MUSB2\_REG\_SOFT\_RST 0x007F}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00264}\mbox{\hyperlink{musb__otg_8h_ad5c8fb6e740e6d2801d224ca378889ba}{00264}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_SRST 0x01}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00265}\mbox{\hyperlink{musb__otg_8h_aff12058131f9eabd85218d8a38faf7a3}{00265}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_SRSTX 0x02}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00266}00266 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00267}\mbox{\hyperlink{musb__otg_8h_a0b884184a4a523db55ce57b097aa438e}{00267}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RQPKTCOUNT(n) (0x0300 + (4*(n))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00268}\mbox{\hyperlink{musb__otg_8h_a068eed4968065d06a8f158fdc377e95b}{00268}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXDBDIS 0x0340}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00269}\mbox{\hyperlink{musb__otg_8h_a850fd031f28094e27499ef0eeaa73bcb}{00269}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXDBDIS 0x0342}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00270}\mbox{\hyperlink{musb__otg_8h_a1cfdee98029376a83cbb21d03969ca96}{00270}} \textcolor{preprocessor}{\#define MUSB2\_MASK\_DB(n) (1 << (n))     }\textcolor{comment}{/* disable double buffer, n = [0..15] */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00271}00271 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00272}\mbox{\hyperlink{musb__otg_8h_ad64a1de450ee4b5caad79ad1f6c3cdcd}{00272}} \textcolor{preprocessor}{\#define MUSB2\_REG\_CHIRPTO 0x0344}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00273}\mbox{\hyperlink{musb__otg_8h_a6ab2c7806c7662ca11dc339639b10e2c}{00273}} \textcolor{preprocessor}{\#define MUSB2\_REG\_HSRESUM 0x0346}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00274}00274 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00275}00275 \textcolor{comment}{/* Host Mode only registers */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00276}00276 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00277}\mbox{\hyperlink{musb__otg_8h_ab788a7d27fbca54751df44ad46844041}{00277}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXFADDR(n) (0x0080 + (8*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00278}\mbox{\hyperlink{musb__otg_8h_afac5c7896b1b8fa9601d4055b549afd8}{00278}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXHADDR(n) (0x0082 + (8*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00279}\mbox{\hyperlink{musb__otg_8h_acc8ecd6e2870fc7c6afd07aeb9004e03}{00279}} \textcolor{preprocessor}{\#define MUSB2\_REG\_TXHUBPORT(n) (0x0083 + (8*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00280}\mbox{\hyperlink{musb__otg_8h_a8363c6d8a609926925f578fa4b275142}{00280}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXFADDR(n) (0x0084 + (8*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00281}\mbox{\hyperlink{musb__otg_8h_abdbb5a3f0da47f04b35344dc9d9d6a48}{00281}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXHADDR(n) (0x0086 + (8*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00282}\mbox{\hyperlink{musb__otg_8h_a32743598146a7f29410b1981743e6613}{00282}} \textcolor{preprocessor}{\#define MUSB2\_REG\_RXHUBPORT(n) (0x0087 + (8*(n)))}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00283}00283 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00284}\mbox{\hyperlink{musb__otg_8h_a1dd35732e505c47b5fa7d1f8144c1ef9}{00284}} \textcolor{preprocessor}{\#define MUSB2\_EP\_MAX 16                 }\textcolor{comment}{/* maximum number of endpoints */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00285}00285 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00286}\mbox{\hyperlink{musb__otg_8h_a3109825c14123927ce707671c1342686}{00286}} \textcolor{preprocessor}{\#define MUSB2\_DEVICE\_MODE       0}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00287}\mbox{\hyperlink{musb__otg_8h_a9c7e43e44523cbb92161efc1aca7326a}{00287}} \textcolor{preprocessor}{\#define MUSB2\_HOST\_MODE         1}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00288}00288 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00289}\mbox{\hyperlink{musb__otg_8h_ad06f9642c6aa018184bc9d00be293861}{00289}} \textcolor{preprocessor}{\#define MUSB2\_READ\_2(sc, reg) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00290}00290 \textcolor{preprocessor}{  bus\_space\_read\_2((sc)-\/>sc\_io\_tag, (sc)-\/>sc\_io\_hdl, reg)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00291}00291 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00292}\mbox{\hyperlink{musb__otg_8h_a7fa04b0b12caaadd9b529c47e0e52b05}{00292}} \textcolor{preprocessor}{\#define MUSB2\_WRITE\_2(sc, reg, data)    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00293}00293 \textcolor{preprocessor}{  bus\_space\_write\_2((sc)-\/>sc\_io\_tag, (sc)-\/>sc\_io\_hdl, reg, data)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00294}00294 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00295}\mbox{\hyperlink{musb__otg_8h_a12437f19bf85946fb0a2eb2d98977408}{00295}} \textcolor{preprocessor}{\#define MUSB2\_READ\_1(sc, reg) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00296}00296 \textcolor{preprocessor}{  bus\_space\_read\_1((sc)-\/>sc\_io\_tag, (sc)-\/>sc\_io\_hdl, reg)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00297}00297 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00298}\mbox{\hyperlink{musb__otg_8h_a7ed75973d2bd9ba0fd7a3ad7a28a6dea}{00298}} \textcolor{preprocessor}{\#define MUSB2\_WRITE\_1(sc, reg, data)    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00299}00299 \textcolor{preprocessor}{  bus\_space\_write\_1((sc)-\/>sc\_io\_tag, (sc)-\/>sc\_io\_hdl, reg, data)}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00300}00300 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00301}00301 \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__td}{musbotg\_td}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00302}00302 \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00303}00303 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00304}\mbox{\hyperlink{musb__otg_8h_afd0258dc9eb0d9d206c66a48888221a2}{00304}} \textcolor{keyword}{typedef} uint8\_t (\mbox{\hyperlink{musb__otg_8h_afd0258dc9eb0d9d206c66a48888221a2}{musbotg\_cmd\_t}})(\textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__td}{musbotg\_td}} *td);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00305}00305 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00306}\mbox{\hyperlink{structmusbotg__dma}{00306}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__dma}{musbotg\_dma}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00307}\mbox{\hyperlink{structmusbotg__dma_a14e85d42ee2a256c99e4ae61be7ec626}{00307}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *\mbox{\hyperlink{structmusbotg__dma_a14e85d42ee2a256c99e4ae61be7ec626}{sc}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00308}\mbox{\hyperlink{structmusbotg__dma_a079a58e655b456de22bd77aafbbfcbf7}{00308}}         uint32\_t \mbox{\hyperlink{structmusbotg__dma_a079a58e655b456de22bd77aafbbfcbf7}{dma\_chan}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00309}\mbox{\hyperlink{structmusbotg__dma_a360396acfb63b5977a3b3d2f681c5eb8}{00309}}         uint8\_t \mbox{\hyperlink{structmusbotg__dma_a360396acfb63b5977a3b3d2f681c5eb8}{busy}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00310}\mbox{\hyperlink{structmusbotg__dma_a1b8ca7c827141ec96d5ac85f88ec27c5}{00310}}         uint8\_t \mbox{\hyperlink{structmusbotg__dma_a1b8ca7c827141ec96d5ac85f88ec27c5}{complete}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00311}\mbox{\hyperlink{structmusbotg__dma_abfac4dd38b2fbd543759ad466ce3b2a1}{00311}}         uint8\_t \mbox{\hyperlink{structmusbotg__dma_abfac4dd38b2fbd543759ad466ce3b2a1}{error}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00312}00312 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00313}00313 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00314}\mbox{\hyperlink{structmusbotg__td}{00314}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__td}{musbotg\_td}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00315}\mbox{\hyperlink{structmusbotg__td_a4dd6755ead022a7b2fe06731be6fd737}{00315}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__td}{musbotg\_td}} *\mbox{\hyperlink{structmusbotg__td_a4dd6755ead022a7b2fe06731be6fd737}{obj\_next}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00316}\mbox{\hyperlink{structmusbotg__td_a0aea48732b99b9d798e51870577276fa}{00316}}         \mbox{\hyperlink{musb__otg_8h_afd0258dc9eb0d9d206c66a48888221a2}{musbotg\_cmd\_t}} *\mbox{\hyperlink{structmusbotg__td_a0aea48732b99b9d798e51870577276fa}{func}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00317}\mbox{\hyperlink{structmusbotg__td_a744fdd7bc37728c7de491ceab1949de9}{00317}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__page__cache}{usb\_page\_cache}} *\mbox{\hyperlink{structmusbotg__td_a744fdd7bc37728c7de491ceab1949de9}{pc}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00318}\mbox{\hyperlink{structmusbotg__td_ab3a0941fc25d1fd45814054569304595}{00318}}         uint32\_t \mbox{\hyperlink{structmusbotg__td_ab3a0941fc25d1fd45814054569304595}{offset}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00319}\mbox{\hyperlink{structmusbotg__td_aa0ea3b1e2c3d6a529bed498b0fa911c2}{00319}}         uint32\_t \mbox{\hyperlink{structmusbotg__td_aa0ea3b1e2c3d6a529bed498b0fa911c2}{remainder}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00320}\mbox{\hyperlink{structmusbotg__td_a7890e7e2318f56c8599f0272d825c357}{00320}}         uint16\_t \mbox{\hyperlink{structmusbotg__td_a7890e7e2318f56c8599f0272d825c357}{max\_frame\_size}};  \textcolor{comment}{/* packet\_size * mult */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00321}\mbox{\hyperlink{structmusbotg__td_a79f162ac5e9c1b8f5609764bd4db06c7}{00321}}         uint16\_t \mbox{\hyperlink{structmusbotg__td_a79f162ac5e9c1b8f5609764bd4db06c7}{reg\_max\_packet}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00322}\mbox{\hyperlink{structmusbotg__td_ae1aa29bb83b689eada5da44c335d2ae0}{00322}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_ae1aa29bb83b689eada5da44c335d2ae0}{ep\_no}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00323}\mbox{\hyperlink{structmusbotg__td_a4ee38f4b801c927dedb6a1bfdaa515f1}{00323}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a4ee38f4b801c927dedb6a1bfdaa515f1}{transfer\_type}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00324}\mbox{\hyperlink{structmusbotg__td_af1f0582c11ecb209be694e23f3fb25e3}{00324}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_af1f0582c11ecb209be694e23f3fb25e3}{error}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00325}\mbox{\hyperlink{structmusbotg__td_aa481b3973a6e1fe8d451a02867df0e29}{00325}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_aa481b3973a6e1fe8d451a02867df0e29}{alt\_next}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00326}\mbox{\hyperlink{structmusbotg__td_a8d8bc0646045ead1c5161d24ed43cb91}{00326}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a8d8bc0646045ead1c5161d24ed43cb91}{short\_pkt}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00327}\mbox{\hyperlink{structmusbotg__td_a6652b77ecc89e587a74ded2a9fb37639}{00327}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a6652b77ecc89e587a74ded2a9fb37639}{support\_multi\_buffer}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00328}\mbox{\hyperlink{structmusbotg__td_a6e7ba19143b768cc2b5b9fc7103bf40d}{00328}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a6e7ba19143b768cc2b5b9fc7103bf40d}{did\_stall}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00329}\mbox{\hyperlink{structmusbotg__td_aa05366ce5e66ae4a86f5ce15b230a312}{00329}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_aa05366ce5e66ae4a86f5ce15b230a312}{dma\_enabled}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00330}\mbox{\hyperlink{structmusbotg__td_a0aeb5fb07d46b6889703603dca72efa7}{00330}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a0aeb5fb07d46b6889703603dca72efa7}{transaction\_started}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00331}\mbox{\hyperlink{structmusbotg__td_a22b13e436c7a4d9120a3088f85084e94}{00331}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a22b13e436c7a4d9120a3088f85084e94}{dev\_addr}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00332}\mbox{\hyperlink{structmusbotg__td_a425f0ffb64d66de597cdfa2672780eee}{00332}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a425f0ffb64d66de597cdfa2672780eee}{toggle}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00333}\mbox{\hyperlink{structmusbotg__td_a9209591d91d53afbf2cb2fcf7ec698e8}{00333}}         int8\_t \mbox{\hyperlink{structmusbotg__td_a9209591d91d53afbf2cb2fcf7ec698e8}{channel}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00334}\mbox{\hyperlink{structmusbotg__td_a56295fce7fd76f0bc571598d98db4dee}{00334}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_a56295fce7fd76f0bc571598d98db4dee}{haddr}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00335}\mbox{\hyperlink{structmusbotg__td_aab91e29f5d293485dd88a04cbf5de354}{00335}}         uint8\_t \mbox{\hyperlink{structmusbotg__td_aab91e29f5d293485dd88a04cbf5de354}{hport}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00336}00336 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00337}00337 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00338}\mbox{\hyperlink{structmusbotg__std__temp}{00338}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__std__temp}{musbotg\_std\_temp}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00339}\mbox{\hyperlink{structmusbotg__std__temp_a18b5e329304067033add0f252768767b}{00339}}         \mbox{\hyperlink{musb__otg_8h_afd0258dc9eb0d9d206c66a48888221a2}{musbotg\_cmd\_t}} *\mbox{\hyperlink{structmusbotg__std__temp_a18b5e329304067033add0f252768767b}{func}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00340}\mbox{\hyperlink{structmusbotg__std__temp_ab65c0366ad8c04c8318c3f303dfe2116}{00340}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__page__cache}{usb\_page\_cache}} *\mbox{\hyperlink{structmusbotg__std__temp_ab65c0366ad8c04c8318c3f303dfe2116}{pc}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00341}\mbox{\hyperlink{structmusbotg__std__temp_a5c1109472649dba5bc8638b5bcd95b87}{00341}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__td}{musbotg\_td}} *\mbox{\hyperlink{structmusbotg__std__temp_a5c1109472649dba5bc8638b5bcd95b87}{td}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00342}\mbox{\hyperlink{structmusbotg__std__temp_ae78a9425869ce56226af60c4d4ef932a}{00342}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__td}{musbotg\_td}} *\mbox{\hyperlink{structmusbotg__std__temp_ae78a9425869ce56226af60c4d4ef932a}{td\_next}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00343}\mbox{\hyperlink{structmusbotg__std__temp_a0ef40a39c8eb04d6d57c6ae1f81983e4}{00343}}         uint32\_t \mbox{\hyperlink{structmusbotg__std__temp_a0ef40a39c8eb04d6d57c6ae1f81983e4}{len}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00344}\mbox{\hyperlink{structmusbotg__std__temp_a6b942d21e99ed999a227f6d7d6bb059f}{00344}}         uint32\_t \mbox{\hyperlink{structmusbotg__std__temp_a6b942d21e99ed999a227f6d7d6bb059f}{offset}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00345}\mbox{\hyperlink{structmusbotg__std__temp_a5d68305410dfd506b61c227c0b7c9732}{00345}}         uint16\_t \mbox{\hyperlink{structmusbotg__std__temp_a5d68305410dfd506b61c227c0b7c9732}{max\_frame\_size}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00346}\mbox{\hyperlink{structmusbotg__std__temp_a4386122bd92364b526aef2679e1d159b}{00346}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_a4386122bd92364b526aef2679e1d159b}{short\_pkt}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00347}00347         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00348}00348 \textcolor{comment}{         * short\_pkt = 0: transfer should be short terminated}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00349}00349 \textcolor{comment}{         * short\_pkt = 1: transfer should not be short terminated}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00350}00350 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00351}\mbox{\hyperlink{structmusbotg__std__temp_af02a71dbc155cba0450c51ad8407d290}{00351}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_af02a71dbc155cba0450c51ad8407d290}{setup\_alt\_next}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00352}\mbox{\hyperlink{structmusbotg__std__temp_a5bd80f7d0d4f1cb5cfd029217cbcd5a9}{00352}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_a5bd80f7d0d4f1cb5cfd029217cbcd5a9}{did\_stall}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00353}\mbox{\hyperlink{structmusbotg__std__temp_ae21cd19e6fb933e9624d8ab77656380d}{00353}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_ae21cd19e6fb933e9624d8ab77656380d}{dev\_addr}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00354}\mbox{\hyperlink{structmusbotg__std__temp_af7e08c0f514fd8c3ca5fa4b9e792217d}{00354}}         int8\_t \mbox{\hyperlink{structmusbotg__std__temp_af7e08c0f514fd8c3ca5fa4b9e792217d}{channel}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00355}\mbox{\hyperlink{structmusbotg__std__temp_aaf99d3ec843c5614dcbfbdabc4ecfea7}{00355}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_aaf99d3ec843c5614dcbfbdabc4ecfea7}{haddr}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00356}\mbox{\hyperlink{structmusbotg__std__temp_ac27463c1334dc2ee1efab61eca7aa0a9}{00356}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_ac27463c1334dc2ee1efab61eca7aa0a9}{hport}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00357}\mbox{\hyperlink{structmusbotg__std__temp_a5ed6f045753230cb5a4e901ccff1fe12}{00357}}         uint8\_t \mbox{\hyperlink{structmusbotg__std__temp_a5ed6f045753230cb5a4e901ccff1fe12}{transfer\_type}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00358}00358 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00359}00359 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00360}\mbox{\hyperlink{structmusbotg__config__desc}{00360}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__config__desc}{musbotg\_config\_desc}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00361}\mbox{\hyperlink{structmusbotg__config__desc_abc0a198e1d57f77c1050eefc1eb93c0a}{00361}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__config__descriptor}{usb\_config\_descriptor}} \mbox{\hyperlink{structmusbotg__config__desc_abc0a198e1d57f77c1050eefc1eb93c0a}{confd}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00362}\mbox{\hyperlink{structmusbotg__config__desc_a219b9e3a97fef45d73ae65611d780f10}{00362}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__interface__descriptor}{usb\_interface\_descriptor}} \mbox{\hyperlink{structmusbotg__config__desc_a219b9e3a97fef45d73ae65611d780f10}{ifcd}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00363}\mbox{\hyperlink{structmusbotg__config__desc_a50853b4d4d4d7b4301f47c367889d6a8}{00363}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__endpoint__descriptor}{usb\_endpoint\_descriptor}} \mbox{\hyperlink{structmusbotg__config__desc_a50853b4d4d4d7b4301f47c367889d6a8}{endpd}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00364}\mbox{\hyperlink{musb__otg_8h_aae037cd08ef0dd86d22fd3eccd7220e1}{00364}} \} \mbox{\hyperlink{musb__otg_8h_aae037cd08ef0dd86d22fd3eccd7220e1}{\_\_packed}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00365}00365 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00366}\mbox{\hyperlink{unionmusbotg__hub__temp}{00366}} \textcolor{keyword}{union }\mbox{\hyperlink{unionmusbotg__hub__temp}{musbotg\_hub\_temp}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00367}\mbox{\hyperlink{unionmusbotg__hub__temp_a506948e51914128f074cc6b4f5128853}{00367}}         \mbox{\hyperlink{usb__endian_8h_ad3086c1130ab6b88c53220166e3b5129}{uWord}}      \mbox{\hyperlink{unionmusbotg__hub__temp_a506948e51914128f074cc6b4f5128853}{wValue}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00368}\mbox{\hyperlink{unionmusbotg__hub__temp_a14b3588f6f3db3f0dd8acffc9c270b3e}{00368}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__port__status}{usb\_port\_status}} \mbox{\hyperlink{unionmusbotg__hub__temp_a14b3588f6f3db3f0dd8acffc9c270b3e}{ps}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00369}00369 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00370}00370 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00371}\mbox{\hyperlink{structmusbotg__flags}{00371}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__flags}{musbotg\_flags}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00372}\mbox{\hyperlink{structmusbotg__flags_a723d2620df151aee7dbdfef0c1bcbba6}{00372}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a723d2620df151aee7dbdfef0c1bcbba6}{change\_connect}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00373}\mbox{\hyperlink{structmusbotg__flags_a2aa02be8e60de7477dd26e735c096d52}{00373}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a2aa02be8e60de7477dd26e735c096d52}{change\_suspend}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00374}\mbox{\hyperlink{structmusbotg__flags_a6bd893dab8359d8d16cb3fb889756e3a}{00374}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a6bd893dab8359d8d16cb3fb889756e3a}{change\_reset}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00375}\mbox{\hyperlink{structmusbotg__flags_ab39d0dfb2d3c4e4b2ccbc74fdaf673e1}{00375}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_ab39d0dfb2d3c4e4b2ccbc74fdaf673e1}{change\_over\_current}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00376}\mbox{\hyperlink{structmusbotg__flags_aef3e378b275597b7a6f5d760a80746bb}{00376}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_aef3e378b275597b7a6f5d760a80746bb}{change\_enabled}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00377}\mbox{\hyperlink{structmusbotg__flags_a529022f19befa0ccac015ea981085319}{00377}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a529022f19befa0ccac015ea981085319}{status\_suspend}}:1; \textcolor{comment}{/* set if suspended */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00378}\mbox{\hyperlink{structmusbotg__flags_aeae632fcad388b85cfc0a82e8c4b4501}{00378}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_aeae632fcad388b85cfc0a82e8c4b4501}{status\_vbus}}:1;               \textcolor{comment}{/* set if present */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00379}\mbox{\hyperlink{structmusbotg__flags_a5a828597e1d7d8521c3d4631eebc303f}{00379}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a5a828597e1d7d8521c3d4631eebc303f}{status\_bus\_reset}}:1;     \textcolor{comment}{/* set if reset complete */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00380}\mbox{\hyperlink{structmusbotg__flags_aa47e640448801a0c3992895ffe74d9ee}{00380}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_aa47e640448801a0c3992895ffe74d9ee}{status\_high\_speed}}:1;   \textcolor{comment}{/* set if High Speed is selected */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00381}\mbox{\hyperlink{structmusbotg__flags_a01e82c890e26337874fb61efce34da13}{00381}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a01e82c890e26337874fb61efce34da13}{remote\_wakeup}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00382}\mbox{\hyperlink{structmusbotg__flags_af08eb0564e867908da3cd47df72cb0cc}{00382}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_af08eb0564e867908da3cd47df72cb0cc}{self\_powered}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00383}\mbox{\hyperlink{structmusbotg__flags_a4999437eab1f9c30eafa41ed7b7ebc5a}{00383}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a4999437eab1f9c30eafa41ed7b7ebc5a}{clocks\_off}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00384}\mbox{\hyperlink{structmusbotg__flags_a627722f616b6e0b360fcbce1b008ccb1}{00384}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a627722f616b6e0b360fcbce1b008ccb1}{port\_powered}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00385}\mbox{\hyperlink{structmusbotg__flags_a449579bf50e5a69d49ea286370054797}{00385}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_a449579bf50e5a69d49ea286370054797}{port\_enabled}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00386}\mbox{\hyperlink{structmusbotg__flags_aefd3c5ae435850ace428c66e44edf46e}{00386}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_aefd3c5ae435850ace428c66e44edf46e}{port\_over\_current}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00387}\mbox{\hyperlink{structmusbotg__flags_ab071f01363f80c2c09a150ea492b388e}{00387}}         uint8\_t \mbox{\hyperlink{structmusbotg__flags_ab071f01363f80c2c09a150ea492b388e}{d\_pulled\_up}}:1;}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00388}00388 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00389}00389 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00390}\mbox{\hyperlink{structmusb__otg__ep__cfg}{00390}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusb__otg__ep__cfg}{musb\_otg\_ep\_cfg}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00391}\mbox{\hyperlink{structmusb__otg__ep__cfg_a50dfaf99f881059accd2ea46df5bf1e1}{00391}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structmusb__otg__ep__cfg_a50dfaf99f881059accd2ea46df5bf1e1}{ep\_end}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00392}\mbox{\hyperlink{structmusb__otg__ep__cfg_ab2c67ffa86e31fe4e1b9aea411aad029}{00392}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structmusb__otg__ep__cfg_ab2c67ffa86e31fe4e1b9aea411aad029}{ep\_fifosz\_shift}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00393}\mbox{\hyperlink{structmusb__otg__ep__cfg_ad69e7a2276aea0517e96ce50b8bc772c}{00393}}         uint8\_t \mbox{\hyperlink{structmusb__otg__ep__cfg_ad69e7a2276aea0517e96ce50b8bc772c}{ep\_fifosz\_reg}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00394}00394 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00395}00395 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00396}\mbox{\hyperlink{structmusbotg__softc}{00396}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} \{}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00397}\mbox{\hyperlink{structmusbotg__softc_ae42d2045e611ad0e94fbc6026f92cf78}{00397}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__bus}{usb\_bus}} \mbox{\hyperlink{structmusbotg__softc_ae42d2045e611ad0e94fbc6026f92cf78}{sc\_bus}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00398}\mbox{\hyperlink{structmusbotg__softc_a48bed518bfb92d363c227bdf792750a7}{00398}}         \textcolor{keyword}{union }\mbox{\hyperlink{unionmusbotg__hub__temp}{musbotg\_hub\_temp}} \mbox{\hyperlink{structmusbotg__softc_a48bed518bfb92d363c227bdf792750a7}{sc\_hub\_temp}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00399}\mbox{\hyperlink{structmusbotg__softc_a9924de380f2021ced7c729d5a98e95aa}{00399}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__hw__ep__profile}{usb\_hw\_ep\_profile}} \mbox{\hyperlink{structmusbotg__softc_a9924de380f2021ced7c729d5a98e95aa}{sc\_hw\_ep\_profile}}[\mbox{\hyperlink{musb__otg_8h_a1dd35732e505c47b5fa7d1f8144c1ef9}{MUSB2\_EP\_MAX}}];}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00400}00400 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00401}\mbox{\hyperlink{structmusbotg__softc_a4bddac18691b4acc2ec123ae7e7fe926}{00401}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structusb__device}{usb\_device}} *\mbox{\hyperlink{structmusbotg__softc_a4bddac18691b4acc2ec123ae7e7fe926}{sc\_devices}}[\mbox{\hyperlink{musb__otg_8h_a644d05c6b2fc305237e0ac02f78d3379}{MUSB2\_MAX\_DEVICES}}];}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00402}\mbox{\hyperlink{structmusbotg__softc_a0181a35a7c93f4dddf1cef0a234e8a49}{00402}}         \textcolor{keyword}{struct }resource *\mbox{\hyperlink{structmusbotg__softc_a0181a35a7c93f4dddf1cef0a234e8a49}{sc\_io\_res}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00403}\mbox{\hyperlink{structmusbotg__softc_a7ea9872daeb2864d59102b5c26f16ce7}{00403}}         \textcolor{keyword}{struct }resource *\mbox{\hyperlink{structmusbotg__softc_a7ea9872daeb2864d59102b5c26f16ce7}{sc\_irq\_res}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00404}\mbox{\hyperlink{structmusbotg__softc_a1c93938451881304937809a407ff2f26}{00404}}         \textcolor{keywordtype}{void}   *\mbox{\hyperlink{structmusbotg__softc_a1c93938451881304937809a407ff2f26}{sc\_intr\_hdl}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00405}\mbox{\hyperlink{structmusbotg__softc_af6e62f4c4e21af801ce4705d49f85c69}{00405}}         bus\_size\_t \mbox{\hyperlink{structmusbotg__softc_af6e62f4c4e21af801ce4705d49f85c69}{sc\_io\_size}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00406}\mbox{\hyperlink{structmusbotg__softc_a6b746f449105edb53f79042c3e89fa6c}{00406}}         bus\_space\_tag\_t \mbox{\hyperlink{structmusbotg__softc_a6b746f449105edb53f79042c3e89fa6c}{sc\_io\_tag}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00407}\mbox{\hyperlink{structmusbotg__softc_a769e2971cce710a5c0ab92400b85ed71}{00407}}         bus\_space\_handle\_t \mbox{\hyperlink{structmusbotg__softc_a769e2971cce710a5c0ab92400b85ed71}{sc\_io\_hdl}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00408}00408 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00409}\mbox{\hyperlink{structmusbotg__softc_a0017f4c54e454e94c5cba7843b23caac}{00409}}         void    (*\mbox{\hyperlink{structmusbotg__softc_a0017f4c54e454e94c5cba7843b23caac}{sc\_clocks\_on}}) (\textcolor{keywordtype}{void} *arg);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00410}\mbox{\hyperlink{structmusbotg__softc_a80ccdbd484f1834cf6b633be7ede21c6}{00410}}         void    (*\mbox{\hyperlink{structmusbotg__softc_a80ccdbd484f1834cf6b633be7ede21c6}{sc\_clocks\_off}}) (\textcolor{keywordtype}{void} *arg);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00411}\mbox{\hyperlink{structmusbotg__softc_a18382b104c472497d4e9ddde53a9e371}{00411}}         void    (*\mbox{\hyperlink{structmusbotg__softc_a18382b104c472497d4e9ddde53a9e371}{sc\_ep\_int\_set}}) (\textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *sc, \textcolor{keywordtype}{int} ep, \textcolor{keywordtype}{int} on);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00412}\mbox{\hyperlink{structmusbotg__softc_afed22219947101746bbe252822a252f0}{00412}}         \textcolor{keywordtype}{void}   *\mbox{\hyperlink{structmusbotg__softc_afed22219947101746bbe252822a252f0}{sc\_clocks\_arg}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00413}00413 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00414}\mbox{\hyperlink{structmusbotg__softc_a9290007428cd2793acfaf97294cdcfb5}{00414}}         uint32\_t \mbox{\hyperlink{structmusbotg__softc_a9290007428cd2793acfaf97294cdcfb5}{sc\_bounce\_buf}}[(1024 * 3) / 4];    \textcolor{comment}{/* bounce buffer */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00415}00415 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00416}\mbox{\hyperlink{structmusbotg__softc_ae13505b445e122893aeea9b406d39fb7}{00416}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_ae13505b445e122893aeea9b406d39fb7}{sc\_ep\_max}};             \textcolor{comment}{/* maximum number of RX and TX}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00417}00417 \textcolor{comment}{                                         * endpoints supported */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00418}\mbox{\hyperlink{structmusbotg__softc_a24a43b1bb65d846f58c50e4740643c3b}{00418}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_a24a43b1bb65d846f58c50e4740643c3b}{sc\_rt\_addr}};           \textcolor{comment}{/* root HUB address */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00419}\mbox{\hyperlink{structmusbotg__softc_a5d9435d993e0bacad2c790c35b1017d2}{00419}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_a5d9435d993e0bacad2c790c35b1017d2}{sc\_dv\_addr}};           \textcolor{comment}{/* device address */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00420}\mbox{\hyperlink{structmusbotg__softc_af37c749b20ad95be6451c26ccab3694c}{00420}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_af37c749b20ad95be6451c26ccab3694c}{sc\_conf}};         \textcolor{comment}{/* root HUB config */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00421}\mbox{\hyperlink{structmusbotg__softc_abe36fee685f2a6e72d7452946bb0fa87}{00421}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_abe36fee685f2a6e72d7452946bb0fa87}{sc\_ep0\_busy}};         \textcolor{comment}{/* set if ep0 is busy */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00422}\mbox{\hyperlink{structmusbotg__softc_a8a94cfab3c958f4cb30e4a4b990bd49c}{00422}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_a8a94cfab3c958f4cb30e4a4b990bd49c}{sc\_ep0\_cmd}};           \textcolor{comment}{/* pending commands */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00423}\mbox{\hyperlink{structmusbotg__softc_a7d54d45a2734efd6fa7c1adfcf7782d1}{00423}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_a7d54d45a2734efd6fa7c1adfcf7782d1}{sc\_conf\_data}};               \textcolor{comment}{/* copy of hardware register */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00424}00424 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00425}\mbox{\hyperlink{structmusbotg__softc_a47989fad9306db1220238768b96f523d}{00425}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_a47989fad9306db1220238768b96f523d}{sc\_hub\_idata}}[1];}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00426}\mbox{\hyperlink{structmusbotg__softc_a6c960fc105976dcdb3d976251d8802cd}{00426}}         uint16\_t \mbox{\hyperlink{structmusbotg__softc_a6c960fc105976dcdb3d976251d8802cd}{sc\_channel\_mask}};        \textcolor{comment}{/* 16 endpoints */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00427}00427 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00428}\mbox{\hyperlink{structmusbotg__softc_ae22ab413106cdb4ebf14924167180e5c}{00428}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structmusbotg__flags}{musbotg\_flags}} \mbox{\hyperlink{structmusbotg__softc_ae22ab413106cdb4ebf14924167180e5c}{sc\_flags}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00429}\mbox{\hyperlink{structmusbotg__softc_ab3b9e4dcae8471dddf0a6ab5f5afba99}{00429}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_ab3b9e4dcae8471dddf0a6ab5f5afba99}{sc\_id}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00430}\mbox{\hyperlink{structmusbotg__softc_ac6561fe5fe109d9028fc5d0e75cee2fb}{00430}}         uint8\_t \mbox{\hyperlink{structmusbotg__softc_ac6561fe5fe109d9028fc5d0e75cee2fb}{sc\_mode}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00431}\mbox{\hyperlink{structmusbotg__softc_a6cc9d1daafc0857c318b6894ece13f50}{00431}}         \textcolor{keywordtype}{void} *\mbox{\hyperlink{structmusbotg__softc_a6cc9d1daafc0857c318b6894ece13f50}{sc\_platform\_data}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00432}\mbox{\hyperlink{structmusbotg__softc_ae40fce2b471885241fe443fb31654293}{00432}}         \textcolor{keyword}{const} \textcolor{keyword}{struct }\mbox{\hyperlink{structmusb__otg__ep__cfg}{musb\_otg\_ep\_cfg}} *\mbox{\hyperlink{structmusbotg__softc_ae40fce2b471885241fe443fb31654293}{sc\_ep\_cfg}};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00433}00433 \};}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00434}00434 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00435}00435 \textcolor{comment}{/* prototypes */}}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00436}00436 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00437}00437 \mbox{\hyperlink{usbdi_8h_a5daf16538c7ea36dad2de85182c72945}{usb\_error\_t}} \mbox{\hyperlink{musb__otg_8h_af5320d1ff67efea1a4fd404a50cb6f7c}{musbotg\_init}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00438}00438 \textcolor{keywordtype}{void}    \mbox{\hyperlink{musb__otg_8h_a6217a26fb3f6aa729d7302943ae823ad}{musbotg\_uninit}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00439}00439 \textcolor{keywordtype}{void}    \mbox{\hyperlink{musb__otg_8h_acb38dc6b27da40b2de86de18106f5fef}{musbotg\_interrupt}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *sc,}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00440}00440     uint16\_t rxstat, uint16\_t txstat, uint8\_t stat);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00441}00441 \textcolor{keywordtype}{void}    \mbox{\hyperlink{musb__otg_8h_abf775c1a5a389eacac9b9e580e4a84e6}{musbotg\_vbus\_interrupt}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *sc, uint8\_t is\_on);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00442}00442 \textcolor{keywordtype}{void}    \mbox{\hyperlink{musb__otg_8h_a86e2ddcd7a8e3fa5cd40a81981cbdfb3}{musbotg\_connect\_interrupt}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmusbotg__softc}{musbotg\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00443}00443 }
\DoxyCodeLine{\Hypertarget{musb__otg_8h_source_l00444}00444 \textcolor{preprocessor}{\#endif                                  }\textcolor{comment}{/* \_MUSB2\_OTG\_H\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
