\hypertarget{structamdgpio__softc}{}\doxysection{amdgpio\+\_\+softc Struct Reference}
\label{structamdgpio__softc}\index{amdgpio\_softc@{amdgpio\_softc}}


{\ttfamily \#include $<$amdgpio.\+h$>$}



Collaboration diagram for amdgpio\+\_\+softc\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=240pt]{d3/d2d/structamdgpio__softc__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
ACPI\+\_\+\+HANDLE \mbox{\hyperlink{structamdgpio__softc_a9bc82fee6d006ab7869e23a128b63ab6}{sc\+\_\+handle}}
\item 
device\+\_\+t \mbox{\hyperlink{structamdgpio__softc_ad40338fe2c47979515eb4de661e78d3a}{sc\+\_\+dev}}
\item 
device\+\_\+t \mbox{\hyperlink{structamdgpio__softc_a3d496418440b2135063e456a3bba42ec}{sc\+\_\+busdev}}
\item 
const char $\ast$ \mbox{\hyperlink{structamdgpio__softc_a04aa8cc4a717276816b0f9e9a57e9837}{sc\+\_\+bank\+\_\+prefix}}
\item 
int \mbox{\hyperlink{structamdgpio__softc_ac620d3d11c744f80da71765b0a26c388}{sc\+\_\+nbanks}}
\item 
int \mbox{\hyperlink{structamdgpio__softc_a307cb48a90ff5276adae150d787d104d}{sc\+\_\+npins}}
\item 
int \mbox{\hyperlink{structamdgpio__softc_a8dba179e14b39b41778f834071d6bb6a}{sc\+\_\+ngroups}}
\item 
struct mtx \mbox{\hyperlink{structamdgpio__softc_a4bfd36012f34c9c889b3bca516d90a8c}{sc\+\_\+mtx}}
\item 
struct resource $\ast$ \mbox{\hyperlink{structamdgpio__softc_a6ee6872eba9b71f214a13087cb3dda3a}{sc\+\_\+res}} \mbox{[}\mbox{\hyperlink{amdgpio_8h_ae8ea7a50ea4b7370f2dc8825ae817135}{AMD\+\_\+\+GPIO\+\_\+\+NUM\+\_\+\+PIN\+\_\+\+BANK}}+1\mbox{]}
\item 
bus\+\_\+space\+\_\+tag\+\_\+t \mbox{\hyperlink{structamdgpio__softc_a172921b95d8598fddfdb4f4dcbcd91c6}{sc\+\_\+bst}}
\item 
bus\+\_\+space\+\_\+handle\+\_\+t \mbox{\hyperlink{structamdgpio__softc_ae302df918ce9e6d83060dd9b23608cf8}{sc\+\_\+bsh}}
\item 
struct gpio\+\_\+pin \mbox{\hyperlink{structamdgpio__softc_ae9bb0b1138918594f557b9246b92c521}{sc\+\_\+gpio\+\_\+pins}} \mbox{[}\mbox{\hyperlink{amdgpio_8h_a3338da784956e6199275a5a7a54b43b3}{AMD\+\_\+\+GPIO\+\_\+\+PINS\+\_\+\+MAX}}\mbox{]}
\item 
const struct \mbox{\hyperlink{structpin__info}{pin\+\_\+info}} $\ast$ \mbox{\hyperlink{structamdgpio__softc_ab5c5182fb6fcbd06f11c17ebb3a417c8}{sc\+\_\+pin\+\_\+info}}
\item 
const struct \mbox{\hyperlink{structamd__pingroup}{amd\+\_\+pingroup}} $\ast$ \mbox{\hyperlink{structamdgpio__softc_a23091725c9ceb904d3db75b2b8472bbf}{sc\+\_\+groups}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00312}{312}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structamdgpio__softc_a04aa8cc4a717276816b0f9e9a57e9837}\label{structamdgpio__softc_a04aa8cc4a717276816b0f9e9a57e9837}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_bank\_prefix@{sc\_bank\_prefix}}
\index{sc\_bank\_prefix@{sc\_bank\_prefix}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_bank\_prefix}{sc\_bank\_prefix}}
{\footnotesize\ttfamily const char$\ast$ amdgpio\+\_\+softc\+::sc\+\_\+bank\+\_\+prefix}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00316}{316}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_ae302df918ce9e6d83060dd9b23608cf8}\label{structamdgpio__softc_ae302df918ce9e6d83060dd9b23608cf8}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_bsh@{sc\_bsh}}
\index{sc\_bsh@{sc\_bsh}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_bsh}{sc\_bsh}}
{\footnotesize\ttfamily bus\+\_\+space\+\_\+handle\+\_\+t amdgpio\+\_\+softc\+::sc\+\_\+bsh}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00323}{323}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a172921b95d8598fddfdb4f4dcbcd91c6}\label{structamdgpio__softc_a172921b95d8598fddfdb4f4dcbcd91c6}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_bst@{sc\_bst}}
\index{sc\_bst@{sc\_bst}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_bst}{sc\_bst}}
{\footnotesize\ttfamily bus\+\_\+space\+\_\+tag\+\_\+t amdgpio\+\_\+softc\+::sc\+\_\+bst}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00322}{322}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a3d496418440b2135063e456a3bba42ec}\label{structamdgpio__softc_a3d496418440b2135063e456a3bba42ec}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_busdev@{sc\_busdev}}
\index{sc\_busdev@{sc\_busdev}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_busdev}{sc\_busdev}}
{\footnotesize\ttfamily device\+\_\+t amdgpio\+\_\+softc\+::sc\+\_\+busdev}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00315}{315}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}, \mbox{\hyperlink{amdgpio_8c_source_l00431}{amdgpio\+\_\+detach()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00100}{amdgpio\+\_\+get\+\_\+bus()}}.

\mbox{\Hypertarget{structamdgpio__softc_ad40338fe2c47979515eb4de661e78d3a}\label{structamdgpio__softc_ad40338fe2c47979515eb4de661e78d3a}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_dev@{sc\_dev}}
\index{sc\_dev@{sc\_dev}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_dev}{sc\_dev}}
{\footnotesize\ttfamily device\+\_\+t amdgpio\+\_\+softc\+::sc\+\_\+dev}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00314}{314}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_ae9bb0b1138918594f557b9246b92c521}\label{structamdgpio__softc_ae9bb0b1138918594f557b9246b92c521}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_gpio\_pins@{sc\_gpio\_pins}}
\index{sc\_gpio\_pins@{sc\_gpio\_pins}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_gpio\_pins}{sc\_gpio\_pins}}
{\footnotesize\ttfamily struct gpio\+\_\+pin amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins\mbox{[}\mbox{\hyperlink{amdgpio_8h_a3338da784956e6199275a5a7a54b43b3}{AMD\+\_\+\+GPIO\+\_\+\+PINS\+\_\+\+MAX}}\mbox{]}}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00324}{324}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}, \mbox{\hyperlink{amdgpio_8c_source_l00248}{amdgpio\+\_\+pin\+\_\+get()}}, \mbox{\hyperlink{amdgpio_8c_source_l00158}{amdgpio\+\_\+pin\+\_\+getcaps()}}, \mbox{\hyperlink{amdgpio_8c_source_l00176}{amdgpio\+\_\+pin\+\_\+getflags()}}, \mbox{\hyperlink{amdgpio_8c_source_l00138}{amdgpio\+\_\+pin\+\_\+getname()}}, \mbox{\hyperlink{amdgpio_8c_source_l00198}{amdgpio\+\_\+pin\+\_\+setflags()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}.

\mbox{\Hypertarget{structamdgpio__softc_a23091725c9ceb904d3db75b2b8472bbf}\label{structamdgpio__softc_a23091725c9ceb904d3db75b2b8472bbf}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_groups@{sc\_groups}}
\index{sc\_groups@{sc\_groups}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_groups}{sc\_groups}}
{\footnotesize\ttfamily const struct \mbox{\hyperlink{structamd__pingroup}{amd\+\_\+pingroup}}$\ast$ amdgpio\+\_\+softc\+::sc\+\_\+groups}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00326}{326}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a9bc82fee6d006ab7869e23a128b63ab6}\label{structamdgpio__softc_a9bc82fee6d006ab7869e23a128b63ab6}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_handle@{sc\_handle}}
\index{sc\_handle@{sc\_handle}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_handle}{sc\_handle}}
{\footnotesize\ttfamily ACPI\+\_\+\+HANDLE amdgpio\+\_\+softc\+::sc\+\_\+handle}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00313}{313}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a4bfd36012f34c9c889b3bca516d90a8c}\label{structamdgpio__softc_a4bfd36012f34c9c889b3bca516d90a8c}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_mtx@{sc\_mtx}}
\index{sc\_mtx@{sc\_mtx}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_mtx}{sc\_mtx}}
{\footnotesize\ttfamily struct mtx amdgpio\+\_\+softc\+::sc\+\_\+mtx}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00320}{320}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.

\mbox{\Hypertarget{structamdgpio__softc_ac620d3d11c744f80da71765b0a26c388}\label{structamdgpio__softc_ac620d3d11c744f80da71765b0a26c388}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_nbanks@{sc\_nbanks}}
\index{sc\_nbanks@{sc\_nbanks}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_nbanks}{sc\_nbanks}}
{\footnotesize\ttfamily int amdgpio\+\_\+softc\+::sc\+\_\+nbanks}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00317}{317}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a8dba179e14b39b41778f834071d6bb6a}\label{structamdgpio__softc_a8dba179e14b39b41778f834071d6bb6a}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_ngroups@{sc\_ngroups}}
\index{sc\_ngroups@{sc\_ngroups}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_ngroups}{sc\_ngroups}}
{\footnotesize\ttfamily int amdgpio\+\_\+softc\+::sc\+\_\+ngroups}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00319}{319}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a307cb48a90ff5276adae150d787d104d}\label{structamdgpio__softc_a307cb48a90ff5276adae150d787d104d}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_npins@{sc\_npins}}
\index{sc\_npins@{sc\_npins}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_npins}{sc\_npins}}
{\footnotesize\ttfamily int amdgpio\+\_\+softc\+::sc\+\_\+npins}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00318}{318}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00111}{amdgpio\+\_\+pin\+\_\+max()}}.

\mbox{\Hypertarget{structamdgpio__softc_ab5c5182fb6fcbd06f11c17ebb3a417c8}\label{structamdgpio__softc_ab5c5182fb6fcbd06f11c17ebb3a417c8}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_pin\_info@{sc\_pin\_info}}
\index{sc\_pin\_info@{sc\_pin\_info}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_pin\_info}{sc\_pin\_info}}
{\footnotesize\ttfamily const struct \mbox{\hyperlink{structpin__info}{pin\+\_\+info}}$\ast$ amdgpio\+\_\+softc\+::sc\+\_\+pin\+\_\+info}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00325}{325}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}.

\mbox{\Hypertarget{structamdgpio__softc_a6ee6872eba9b71f214a13087cb3dda3a}\label{structamdgpio__softc_a6ee6872eba9b71f214a13087cb3dda3a}} 
\index{amdgpio\_softc@{amdgpio\_softc}!sc\_res@{sc\_res}}
\index{sc\_res@{sc\_res}!amdgpio\_softc@{amdgpio\_softc}}
\doxysubsubsection{\texorpdfstring{sc\_res}{sc\_res}}
{\footnotesize\ttfamily struct resource$\ast$ amdgpio\+\_\+softc\+::sc\+\_\+res\mbox{[}\mbox{\hyperlink{amdgpio_8h_ae8ea7a50ea4b7370f2dc8825ae817135}{AMD\+\_\+\+GPIO\+\_\+\+NUM\+\_\+\+PIN\+\_\+\+BANK}}+1\mbox{]}}



Definition at line \mbox{\hyperlink{amdgpio_8h_source_l00321}{321}} of file \mbox{\hyperlink{amdgpio_8h_source}{amdgpio.\+h}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}, \mbox{\hyperlink{amdgpio_8c_source_l00431}{amdgpio\+\_\+detach()}}, \mbox{\hyperlink{amdgpio_8c_source_l00065}{amdgpio\+\_\+read\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00071}{amdgpio\+\_\+write\+\_\+4()}}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dev/amdgpio/\mbox{\hyperlink{amdgpio_8h}{amdgpio.\+h}}\end{DoxyCompactItemize}
