\hypertarget{amdgpio_8c}{}\doxysection{dev/amdgpio/amdgpio.c File Reference}
\label{amdgpio_8c}\index{dev/amdgpio/amdgpio.c@{dev/amdgpio/amdgpio.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+acpi.\+h\char`\"{}}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/gpio.\+h$>$}\newline
{\ttfamily \#include $<$sys/interrupt.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/rman.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$machine/bus.\+h$>$}\newline
{\ttfamily \#include $<$machine/resource.\+h$>$}\newline
{\ttfamily \#include $<$contrib/dev/acpica/include/acpi.\+h$>$}\newline
{\ttfamily \#include $<$contrib/dev/acpica/include/accommon.\+h$>$}\newline
{\ttfamily \#include $<$dev/acpica/acpivar.\+h$>$}\newline
{\ttfamily \#include $<$dev/gpio/gpiobusvar.\+h$>$}\newline
{\ttfamily \#include \char`\"{}gpio\+\_\+if.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}amdgpio.\+h\char`\"{}}\newline
Include dependency graph for amdgpio.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/de3/amdgpio_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{amdgpio_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static uint32\+\_\+t \mbox{\hyperlink{amdgpio_8c_a1caf3188ab8c376e39698b823702ad9a}{amdgpio\+\_\+read\+\_\+4}} (struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$sc, bus\+\_\+size\+\_\+t off)
\item 
static void \mbox{\hyperlink{amdgpio_8c_a9375769f41882b794467fadfcf0979a1}{amdgpio\+\_\+write\+\_\+4}} (struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$sc, bus\+\_\+size\+\_\+t off, uint32\+\_\+t val)
\item 
static bool \mbox{\hyperlink{amdgpio_8c_a11083ff14feff138c453f3dd3f84fee4}{amdgpio\+\_\+is\+\_\+pin\+\_\+output}} (struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$sc, uint32\+\_\+t pin)
\item 
static device\+\_\+t \mbox{\hyperlink{amdgpio_8c_a7263c7a209601238237c8ce5521beafe}{amdgpio\+\_\+get\+\_\+bus}} (device\+\_\+t dev)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a745815cd94878badd0221fc1d2aae760}{amdgpio\+\_\+pin\+\_\+max}} (device\+\_\+t dev, int $\ast$maxpin)
\item 
static bool \mbox{\hyperlink{amdgpio_8c_a211727ead0282ce232a19f3e3d48cf26}{amdgpio\+\_\+valid\+\_\+pin}} (struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$sc, int pin)
\item 
static int \mbox{\hyperlink{amdgpio_8c_ad43f684072d93f596d361ef38a4179df}{amdgpio\+\_\+pin\+\_\+getname}} (device\+\_\+t dev, uint32\+\_\+t pin, char $\ast$name)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a3884bd87aa38edde67401f326da0da96}{amdgpio\+\_\+pin\+\_\+getcaps}} (device\+\_\+t dev, uint32\+\_\+t pin, uint32\+\_\+t $\ast$caps)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a834c00015b28a11c5ef36e255429f1d6}{amdgpio\+\_\+pin\+\_\+getflags}} (device\+\_\+t dev, uint32\+\_\+t pin, uint32\+\_\+t $\ast$flags)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a9fb33ceb47e90d52e063f9458ff76fe7}{amdgpio\+\_\+pin\+\_\+setflags}} (device\+\_\+t dev, uint32\+\_\+t pin, uint32\+\_\+t flags)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a95c669ca4508553fb8d87ad97be3ff56}{amdgpio\+\_\+pin\+\_\+get}} (device\+\_\+t dev, uint32\+\_\+t pin, unsigned int $\ast$value)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a675ec22df12aa06f7dc4cfe740497e03}{amdgpio\+\_\+pin\+\_\+set}} (device\+\_\+t dev, uint32\+\_\+t pin, unsigned int value)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a4371e2d153845aef60d177255aa853d5}{amdgpio\+\_\+pin\+\_\+toggle}} (device\+\_\+t dev, uint32\+\_\+t pin)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a0cbed568829ff6a8daf287fc65681d80}{amdgpio\+\_\+probe}} (device\+\_\+t dev)
\item 
static int \mbox{\hyperlink{amdgpio_8c_aa42801516879f1c1dd0c55888c9e86a5}{amdgpio\+\_\+attach}} (device\+\_\+t dev)
\item 
static int \mbox{\hyperlink{amdgpio_8c_a2209156f3e1ffa7803ce2dd4cd71f5bb}{amdgpio\+\_\+detach}} (device\+\_\+t dev)
\item 
\mbox{\hyperlink{amdgpio_8c_a328eafaa81c9a575af1f780be59c412a}{DRIVER\+\_\+\+MODULE}} (amdgpio, acpi, \mbox{\hyperlink{amdgpio_8c_aa8d164895cd595e2398487043b466ca5}{amdgpio\+\_\+driver}}, \mbox{\hyperlink{amdgpio_8c_af37db3222a06f5baf47c93744fc63654}{amdgpio\+\_\+devclass}}, 0, 0)
\item 
\mbox{\hyperlink{amdgpio_8c_a27b6b680d5d82a28ada4ed5a00c9284d}{MODULE\+\_\+\+DEPEND}} (amdgpio, acpi, 1, 1, 1)
\item 
\mbox{\hyperlink{amdgpio_8c_a77ab020148b498cad49d21d9957cfa62}{MODULE\+\_\+\+DEPEND}} (amdgpio, gpiobus, 1, 1, 1)
\item 
\mbox{\hyperlink{amdgpio_8c_af853d28661e7944481d98f2c1f96b075}{MODULE\+\_\+\+VERSION}} (amdgpio, 1)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static struct resource\+\_\+spec \mbox{\hyperlink{amdgpio_8c_a10d6e43cfc1c23ba7ba60a2db4c33477}{amdgpio\+\_\+spec}} \mbox{[}$\,$\mbox{]}
\item 
static device\+\_\+method\+\_\+t \mbox{\hyperlink{amdgpio_8c_a5ad9551b52becb5b821bd51192cec3c2}{amdgpio\+\_\+methods}} \mbox{[}$\,$\mbox{]}
\item 
static driver\+\_\+t \mbox{\hyperlink{amdgpio_8c_aa8d164895cd595e2398487043b466ca5}{amdgpio\+\_\+driver}}
\item 
static devclass\+\_\+t \mbox{\hyperlink{amdgpio_8c_af37db3222a06f5baf47c93744fc63654}{amdgpio\+\_\+devclass}}
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{amdgpio_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{amdgpio_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{amdgpio.c@{amdgpio.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{amdgpio_8c_aa42801516879f1c1dd0c55888c9e86a5}\label{amdgpio_8c_aa42801516879f1c1dd0c55888c9e86a5}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_attach@{amdgpio\_attach}}
\index{amdgpio\_attach@{amdgpio\_attach}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_attach()}{amdgpio\_attach()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+attach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00365}{365}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00042}{AMD\+\_\+\+GPIO\+\_\+\+NUM\+\_\+\+PIN\+\_\+\+BANK}}, \mbox{\hyperlink{amdgpio_8h_source_l00241}{AMD\+\_\+\+GPIO\+\_\+\+PINS\+\_\+\+EXPOSED}}, \mbox{\hyperlink{amdgpio_8h_source_l00044}{AMD\+\_\+\+GPIO\+\_\+\+PINS\+\_\+\+MAX}}, \mbox{\hyperlink{amdgpio_8h_source_l00043}{AMD\+\_\+\+GPIO\+\_\+\+PINS\+\_\+\+PER\+\_\+\+BANK}}, \mbox{\hyperlink{amdgpio_8h_source_l00040}{AMD\+\_\+\+GPIO\+\_\+\+PREFIX}}, \mbox{\hyperlink{amdgpio_8h_source_l00055}{AMDGPIO\+\_\+\+DEFAULT\+\_\+\+CAPS}}, \mbox{\hyperlink{amdgpio_8c_source_l00078}{amdgpio\+\_\+is\+\_\+pin\+\_\+output()}}, \mbox{\hyperlink{amdgpio_8h_source_l00306}{AMDGPIO\+\_\+\+LOCK\+\_\+\+DESTROY}}, \mbox{\hyperlink{amdgpio_8h_source_l00303}{AMDGPIO\+\_\+\+LOCK\+\_\+\+INIT}}, \mbox{\hyperlink{amdgpio_8c_source_l00059}{amdgpio\+\_\+spec}}, \mbox{\hyperlink{amdgpio_8h_source_l00259}{kernzp\+\_\+groups}}, \mbox{\hyperlink{amdgpio_8h_source_l00122}{kernzp\+\_\+pins}}, \mbox{\hyperlink{amdgpio_8h_source_l00118}{pin\+\_\+info\+::pin\+\_\+name}}, \mbox{\hyperlink{amdgpio_8h_source_l00117}{pin\+\_\+info\+::pin\+\_\+num}}, \mbox{\hyperlink{amdgpio_8h_source_l00316}{amdgpio\+\_\+softc\+::sc\+\_\+bank\+\_\+prefix}}, \mbox{\hyperlink{amdgpio_8h_source_l00323}{amdgpio\+\_\+softc\+::sc\+\_\+bsh}}, \mbox{\hyperlink{amdgpio_8h_source_l00322}{amdgpio\+\_\+softc\+::sc\+\_\+bst}}, \mbox{\hyperlink{amdgpio_8h_source_l00315}{amdgpio\+\_\+softc\+::sc\+\_\+busdev}}, \mbox{\hyperlink{amdgpio_8h_source_l00314}{amdgpio\+\_\+softc\+::sc\+\_\+dev}}, \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}, \mbox{\hyperlink{amdgpio_8h_source_l00326}{amdgpio\+\_\+softc\+::sc\+\_\+groups}}, \mbox{\hyperlink{amdgpio_8h_source_l00313}{amdgpio\+\_\+softc\+::sc\+\_\+handle}}, \mbox{\hyperlink{amdgpio_8h_source_l00317}{amdgpio\+\_\+softc\+::sc\+\_\+nbanks}}, \mbox{\hyperlink{amdgpio_8h_source_l00319}{amdgpio\+\_\+softc\+::sc\+\_\+ngroups}}, \mbox{\hyperlink{amdgpio_8h_source_l00318}{amdgpio\+\_\+softc\+::sc\+\_\+npins}}, \mbox{\hyperlink{amdgpio_8h_source_l00325}{amdgpio\+\_\+softc\+::sc\+\_\+pin\+\_\+info}}, and \mbox{\hyperlink{amdgpio_8h_source_l00321}{amdgpio\+\_\+softc\+::sc\+\_\+res}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_aa42801516879f1c1dd0c55888c9e86a5_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a2209156f3e1ffa7803ce2dd4cd71f5bb}\label{amdgpio_8c_a2209156f3e1ffa7803ce2dd4cd71f5bb}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_detach@{amdgpio\_detach}}
\index{amdgpio\_detach@{amdgpio\_detach}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_detach()}{amdgpio\_detach()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+detach (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00431}{431}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00306}{AMDGPIO\+\_\+\+LOCK\+\_\+\+DESTROY}}, \mbox{\hyperlink{amdgpio_8c_source_l00059}{amdgpio\+\_\+spec}}, \mbox{\hyperlink{amdgpio_8h_source_l00315}{amdgpio\+\_\+softc\+::sc\+\_\+busdev}}, and \mbox{\hyperlink{amdgpio_8h_source_l00321}{amdgpio\+\_\+softc\+::sc\+\_\+res}}.

\mbox{\Hypertarget{amdgpio_8c_a7263c7a209601238237c8ce5521beafe}\label{amdgpio_8c_a7263c7a209601238237c8ce5521beafe}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_get\_bus@{amdgpio\_get\_bus}}
\index{amdgpio\_get\_bus@{amdgpio\_get\_bus}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_get\_bus()}{amdgpio\_get\_bus()}}
{\footnotesize\ttfamily static device\+\_\+t amdgpio\+\_\+get\+\_\+bus (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00100}{100}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00315}{amdgpio\+\_\+softc\+::sc\+\_\+busdev}}.

\mbox{\Hypertarget{amdgpio_8c_a11083ff14feff138c453f3dd3f84fee4}\label{amdgpio_8c_a11083ff14feff138c453f3dd3f84fee4}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_is\_pin\_output@{amdgpio\_is\_pin\_output}}
\index{amdgpio\_is\_pin\_output@{amdgpio\_is\_pin\_output}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_is\_pin\_output()}{amdgpio\_is\_pin\_output()}}
{\footnotesize\ttfamily static bool amdgpio\+\_\+is\+\_\+pin\+\_\+output (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$}]{sc,  }\item[{uint32\+\_\+t}]{pin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00078}{78}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00307}{AMDGPIO\+\_\+\+LOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00058}{AMDGPIO\+\_\+\+PIN\+\_\+\+REGISTER}}, \mbox{\hyperlink{amdgpio_8c_source_l00065}{amdgpio\+\_\+read\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00308}{AMDGPIO\+\_\+\+UNLOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00113}{BIT}}, and \mbox{\hyperlink{amdgpio_8h_source_l00083}{OUTPUT\+\_\+\+ENABLE\+\_\+\+OFF}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00365}{amdgpio\+\_\+attach()}}, \mbox{\hyperlink{amdgpio_8c_source_l00286}{amdgpio\+\_\+pin\+\_\+set()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00320}{amdgpio\+\_\+pin\+\_\+toggle()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=344pt]{d3/db3/amdgpio_8c_a11083ff14feff138c453f3dd3f84fee4_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_a11083ff14feff138c453f3dd3f84fee4_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a95c669ca4508553fb8d87ad97be3ff56}\label{amdgpio_8c_a95c669ca4508553fb8d87ad97be3ff56}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_get@{amdgpio\_pin\_get}}
\index{amdgpio\_pin\_get@{amdgpio\_pin\_get}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_get()}{amdgpio\_pin\_get()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+get (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin,  }\item[{unsigned int $\ast$}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00248}{248}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00307}{AMDGPIO\+\_\+\+LOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00058}{AMDGPIO\+\_\+\+PIN\+\_\+\+REGISTER}}, \mbox{\hyperlink{amdgpio_8c_source_l00065}{amdgpio\+\_\+read\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00308}{AMDGPIO\+\_\+\+UNLOCK}}, \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8h_source_l00113}{BIT}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, \mbox{\hyperlink{amdgpio_8h_source_l00082}{OUTPUT\+\_\+\+VALUE\+\_\+\+OFF}}, \mbox{\hyperlink{amdgpio_8h_source_l00077}{PIN\+\_\+\+STS\+\_\+\+OFF}}, and \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=326pt]{d3/db3/amdgpio_8c_a95c669ca4508553fb8d87ad97be3ff56_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a3884bd87aa38edde67401f326da0da96}\label{amdgpio_8c_a3884bd87aa38edde67401f326da0da96}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_getcaps@{amdgpio\_pin\_getcaps}}
\index{amdgpio\_pin\_getcaps@{amdgpio\_pin\_getcaps}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_getcaps()}{amdgpio\_pin\_getcaps()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+getcaps (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin,  }\item[{uint32\+\_\+t $\ast$}]{caps }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00158}{158}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=348pt]{d3/db3/amdgpio_8c_a3884bd87aa38edde67401f326da0da96_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a834c00015b28a11c5ef36e255429f1d6}\label{amdgpio_8c_a834c00015b28a11c5ef36e255429f1d6}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_getflags@{amdgpio\_pin\_getflags}}
\index{amdgpio\_pin\_getflags@{amdgpio\_pin\_getflags}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_getflags()}{amdgpio\_pin\_getflags()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+getflags (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin,  }\item[{uint32\+\_\+t $\ast$}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00176}{176}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00307}{AMDGPIO\+\_\+\+LOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00308}{AMDGPIO\+\_\+\+UNLOCK}}, \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=349pt]{d3/db3/amdgpio_8c_a834c00015b28a11c5ef36e255429f1d6_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_ad43f684072d93f596d361ef38a4179df}\label{amdgpio_8c_ad43f684072d93f596d361ef38a4179df}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_getname@{amdgpio\_pin\_getname}}
\index{amdgpio\_pin\_getname@{amdgpio\_pin\_getname}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_getname()}{amdgpio\_pin\_getname()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+getname (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin,  }\item[{char $\ast$}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00138}{138}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_ad43f684072d93f596d361ef38a4179df_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a745815cd94878badd0221fc1d2aae760}\label{amdgpio_8c_a745815cd94878badd0221fc1d2aae760}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_max@{amdgpio\_pin\_max}}
\index{amdgpio\_pin\_max@{amdgpio\_pin\_max}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_max()}{amdgpio\_pin\_max()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+max (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{int $\ast$}]{maxpin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00111}{111}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00318}{amdgpio\+\_\+softc\+::sc\+\_\+npins}}.

\mbox{\Hypertarget{amdgpio_8c_a675ec22df12aa06f7dc4cfe740497e03}\label{amdgpio_8c_a675ec22df12aa06f7dc4cfe740497e03}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_set@{amdgpio\_pin\_set}}
\index{amdgpio\_pin\_set@{amdgpio\_pin\_set}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_set()}{amdgpio\_pin\_set()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+set (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin,  }\item[{unsigned int}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00286}{286}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8c_source_l00078}{amdgpio\+\_\+is\+\_\+pin\+\_\+output()}}, \mbox{\hyperlink{amdgpio_8h_source_l00307}{AMDGPIO\+\_\+\+LOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00058}{AMDGPIO\+\_\+\+PIN\+\_\+\+REGISTER}}, \mbox{\hyperlink{amdgpio_8c_source_l00065}{amdgpio\+\_\+read\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00308}{AMDGPIO\+\_\+\+UNLOCK}}, \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8c_source_l00071}{amdgpio\+\_\+write\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00113}{BIT}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00082}{OUTPUT\+\_\+\+VALUE\+\_\+\+OFF}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_a675ec22df12aa06f7dc4cfe740497e03_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a9fb33ceb47e90d52e063f9458ff76fe7}\label{amdgpio_8c_a9fb33ceb47e90d52e063f9458ff76fe7}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_setflags@{amdgpio\_pin\_setflags}}
\index{amdgpio\_pin\_setflags@{amdgpio\_pin\_setflags}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_setflags()}{amdgpio\_pin\_setflags()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+setflags (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin,  }\item[{uint32\+\_\+t}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00198}{198}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00307}{AMDGPIO\+\_\+\+LOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00058}{AMDGPIO\+\_\+\+PIN\+\_\+\+REGISTER}}, \mbox{\hyperlink{amdgpio_8c_source_l00065}{amdgpio\+\_\+read\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00308}{AMDGPIO\+\_\+\+UNLOCK}}, \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8c_source_l00071}{amdgpio\+\_\+write\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00113}{BIT}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, \mbox{\hyperlink{amdgpio_8h_source_l00083}{OUTPUT\+\_\+\+ENABLE\+\_\+\+OFF}}, and \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=348pt]{d3/db3/amdgpio_8c_a9fb33ceb47e90d52e063f9458ff76fe7_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a4371e2d153845aef60d177255aa853d5}\label{amdgpio_8c_a4371e2d153845aef60d177255aa853d5}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_pin\_toggle@{amdgpio\_pin\_toggle}}
\index{amdgpio\_pin\_toggle@{amdgpio\_pin\_toggle}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_pin\_toggle()}{amdgpio\_pin\_toggle()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+pin\+\_\+toggle (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev,  }\item[{uint32\+\_\+t}]{pin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00320}{320}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8c_source_l00078}{amdgpio\+\_\+is\+\_\+pin\+\_\+output()}}, \mbox{\hyperlink{amdgpio_8h_source_l00307}{AMDGPIO\+\_\+\+LOCK}}, \mbox{\hyperlink{amdgpio_8h_source_l00058}{AMDGPIO\+\_\+\+PIN\+\_\+\+REGISTER}}, \mbox{\hyperlink{amdgpio_8c_source_l00065}{amdgpio\+\_\+read\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00308}{AMDGPIO\+\_\+\+UNLOCK}}, \mbox{\hyperlink{amdgpio_8c_source_l00124}{amdgpio\+\_\+valid\+\_\+pin()}}, \mbox{\hyperlink{amdgpio_8c_source_l00071}{amdgpio\+\_\+write\+\_\+4()}}, \mbox{\hyperlink{amdgpio_8h_source_l00113}{BIT}}, \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, and \mbox{\hyperlink{amdgpio_8h_source_l00082}{OUTPUT\+\_\+\+VALUE\+\_\+\+OFF}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_a4371e2d153845aef60d177255aa853d5_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a0cbed568829ff6a8daf287fc65681d80}\label{amdgpio_8c_a0cbed568829ff6a8daf287fc65681d80}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_probe@{amdgpio\_probe}}
\index{amdgpio\_probe@{amdgpio\_probe}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_probe()}{amdgpio\_probe()}}
{\footnotesize\ttfamily static int amdgpio\+\_\+probe (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00350}{350}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.

\mbox{\Hypertarget{amdgpio_8c_a1caf3188ab8c376e39698b823702ad9a}\label{amdgpio_8c_a1caf3188ab8c376e39698b823702ad9a}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_read\_4@{amdgpio\_read\_4}}
\index{amdgpio\_read\_4@{amdgpio\_read\_4}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_read\_4()}{amdgpio\_read\_4()}}
{\footnotesize\ttfamily static uint32\+\_\+t amdgpio\+\_\+read\+\_\+4 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$}]{sc,  }\item[{bus\+\_\+size\+\_\+t}]{off }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00065}{65}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00321}{amdgpio\+\_\+softc\+::sc\+\_\+res}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00078}{amdgpio\+\_\+is\+\_\+pin\+\_\+output()}}, \mbox{\hyperlink{amdgpio_8c_source_l00248}{amdgpio\+\_\+pin\+\_\+get()}}, \mbox{\hyperlink{amdgpio_8c_source_l00286}{amdgpio\+\_\+pin\+\_\+set()}}, \mbox{\hyperlink{amdgpio_8c_source_l00198}{amdgpio\+\_\+pin\+\_\+setflags()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00320}{amdgpio\+\_\+pin\+\_\+toggle()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_a1caf3188ab8c376e39698b823702ad9a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a211727ead0282ce232a19f3e3d48cf26}\label{amdgpio_8c_a211727ead0282ce232a19f3e3d48cf26}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_valid\_pin@{amdgpio\_valid\_pin}}
\index{amdgpio\_valid\_pin@{amdgpio\_valid\_pin}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_valid\_pin()}{amdgpio\_valid\_pin()}}
{\footnotesize\ttfamily static bool amdgpio\+\_\+valid\+\_\+pin (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$}]{sc,  }\item[{int}]{pin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00124}{124}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00037}{dprintf}}, \mbox{\hyperlink{amdgpio_8h_source_l00324}{amdgpio\+\_\+softc\+::sc\+\_\+gpio\+\_\+pins}}, and \mbox{\hyperlink{amdgpio_8h_source_l00321}{amdgpio\+\_\+softc\+::sc\+\_\+res}}.



Referenced by \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_l00286}{amdgpio\+\_\+pin\+\_\+set()}}, \mbox{\hyperlink{amdgpio_8c_source_l00198}{amdgpio\+\_\+pin\+\_\+setflags()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00320}{amdgpio\+\_\+pin\+\_\+toggle()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/db3/amdgpio_8c_a211727ead0282ce232a19f3e3d48cf26_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a9375769f41882b794467fadfcf0979a1}\label{amdgpio_8c_a9375769f41882b794467fadfcf0979a1}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_write\_4@{amdgpio\_write\_4}}
\index{amdgpio\_write\_4@{amdgpio\_write\_4}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_write\_4()}{amdgpio\_write\_4()}}
{\footnotesize\ttfamily static void amdgpio\+\_\+write\+\_\+4 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structamdgpio__softc}{amdgpio\+\_\+softc}} $\ast$}]{sc,  }\item[{bus\+\_\+size\+\_\+t}]{off,  }\item[{uint32\+\_\+t}]{val }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00071}{71}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



References \mbox{\hyperlink{amdgpio_8h_source_l00321}{amdgpio\+\_\+softc\+::sc\+\_\+res}}.



Referenced by \mbox{\hyperlink{amdgpio_8c_source_l00286}{amdgpio\+\_\+pin\+\_\+set()}}, \mbox{\hyperlink{amdgpio_8c_source_l00198}{amdgpio\+\_\+pin\+\_\+setflags()}}, and \mbox{\hyperlink{amdgpio_8c_source_l00320}{amdgpio\+\_\+pin\+\_\+toggle()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=340pt]{d3/db3/amdgpio_8c_a9375769f41882b794467fadfcf0979a1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{amdgpio_8c_a328eafaa81c9a575af1f780be59c412a}\label{amdgpio_8c_a328eafaa81c9a575af1f780be59c412a}} 
\index{amdgpio.c@{amdgpio.c}!DRIVER\_MODULE@{DRIVER\_MODULE}}
\index{DRIVER\_MODULE@{DRIVER\_MODULE}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{DRIVER\_MODULE()}{DRIVER\_MODULE()}}
{\footnotesize\ttfamily DRIVER\+\_\+\+MODULE (\begin{DoxyParamCaption}\item[{amdgpio}]{,  }\item[{acpi}]{,  }\item[{\mbox{\hyperlink{amdgpio_8c_aa8d164895cd595e2398487043b466ca5}{amdgpio\+\_\+driver}}}]{,  }\item[{\mbox{\hyperlink{amdgpio_8c_af37db3222a06f5baf47c93744fc63654}{amdgpio\+\_\+devclass}}}]{,  }\item[{0}]{,  }\item[{0}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{amdgpio_8c_a27b6b680d5d82a28ada4ed5a00c9284d}\label{amdgpio_8c_a27b6b680d5d82a28ada4ed5a00c9284d}} 
\index{amdgpio.c@{amdgpio.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{amdgpio}]{,  }\item[{acpi}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{amdgpio_8c_a77ab020148b498cad49d21d9957cfa62}\label{amdgpio_8c_a77ab020148b498cad49d21d9957cfa62}} 
\index{amdgpio.c@{amdgpio.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{amdgpio}]{,  }\item[{gpiobus}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{amdgpio_8c_af853d28661e7944481d98f2c1f96b075}\label{amdgpio_8c_af853d28661e7944481d98f2c1f96b075}} 
\index{amdgpio.c@{amdgpio.c}!MODULE\_VERSION@{MODULE\_VERSION}}
\index{MODULE\_VERSION@{MODULE\_VERSION}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_VERSION()}{MODULE\_VERSION()}}
{\footnotesize\ttfamily MODULE\+\_\+\+VERSION (\begin{DoxyParamCaption}\item[{amdgpio}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{amdgpio_8c_af37db3222a06f5baf47c93744fc63654}\label{amdgpio_8c_af37db3222a06f5baf47c93744fc63654}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_devclass@{amdgpio\_devclass}}
\index{amdgpio\_devclass@{amdgpio\_devclass}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_devclass}{amdgpio\_devclass}}
{\footnotesize\ttfamily devclass\+\_\+t amdgpio\+\_\+devclass\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00472}{472}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.

\mbox{\Hypertarget{amdgpio_8c_aa8d164895cd595e2398487043b466ca5}\label{amdgpio_8c_aa8d164895cd595e2398487043b466ca5}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_driver@{amdgpio\_driver}}
\index{amdgpio\_driver@{amdgpio\_driver}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_driver}{amdgpio\_driver}}
{\footnotesize\ttfamily driver\+\_\+t amdgpio\+\_\+driver\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}gpio"{}},}
\DoxyCodeLine{        \mbox{\hyperlink{amdgpio_8c_a5ad9551b52becb5b821bd51192cec3c2}{amdgpio\_methods}},}
\DoxyCodeLine{        \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structamdgpio__softc}{amdgpio\_softc}}),}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00466}{466}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.

\mbox{\Hypertarget{amdgpio_8c_a5ad9551b52becb5b821bd51192cec3c2}\label{amdgpio_8c_a5ad9551b52becb5b821bd51192cec3c2}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_methods@{amdgpio\_methods}}
\index{amdgpio\_methods@{amdgpio\_methods}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_methods}{amdgpio\_methods}}
{\footnotesize\ttfamily device\+\_\+method\+\_\+t amdgpio\+\_\+methods\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(device\_probe, \mbox{\hyperlink{amdgpio_8c_a0cbed568829ff6a8daf287fc65681d80}{amdgpio\_probe}}),}
\DoxyCodeLine{        DEVMETHOD(device\_attach, \mbox{\hyperlink{amdgpio_8c_aa42801516879f1c1dd0c55888c9e86a5}{amdgpio\_attach}}),}
\DoxyCodeLine{        DEVMETHOD(device\_detach, \mbox{\hyperlink{amdgpio_8c_a2209156f3e1ffa7803ce2dd4cd71f5bb}{amdgpio\_detach}}),}
\DoxyCodeLine{}
\DoxyCodeLine{        }
\DoxyCodeLine{        DEVMETHOD(gpio\_get\_bus, \mbox{\hyperlink{amdgpio_8c_a7263c7a209601238237c8ce5521beafe}{amdgpio\_get\_bus}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_max, \mbox{\hyperlink{amdgpio_8c_a745815cd94878badd0221fc1d2aae760}{amdgpio\_pin\_max}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_getname, \mbox{\hyperlink{amdgpio_8c_ad43f684072d93f596d361ef38a4179df}{amdgpio\_pin\_getname}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_getcaps, \mbox{\hyperlink{amdgpio_8c_a3884bd87aa38edde67401f326da0da96}{amdgpio\_pin\_getcaps}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_getflags, \mbox{\hyperlink{amdgpio_8c_a834c00015b28a11c5ef36e255429f1d6}{amdgpio\_pin\_getflags}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_setflags, \mbox{\hyperlink{amdgpio_8c_a9fb33ceb47e90d52e063f9458ff76fe7}{amdgpio\_pin\_setflags}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_get, \mbox{\hyperlink{amdgpio_8c_a95c669ca4508553fb8d87ad97be3ff56}{amdgpio\_pin\_get}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_set, \mbox{\hyperlink{amdgpio_8c_a675ec22df12aa06f7dc4cfe740497e03}{amdgpio\_pin\_set}}),}
\DoxyCodeLine{        DEVMETHOD(gpio\_pin\_toggle, \mbox{\hyperlink{amdgpio_8c_a4371e2d153845aef60d177255aa853d5}{amdgpio\_pin\_toggle}}),}
\DoxyCodeLine{}
\DoxyCodeLine{        DEVMETHOD\_END}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00446}{446}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.

\mbox{\Hypertarget{amdgpio_8c_a10d6e43cfc1c23ba7ba60a2db4c33477}\label{amdgpio_8c_a10d6e43cfc1c23ba7ba60a2db4c33477}} 
\index{amdgpio.c@{amdgpio.c}!amdgpio\_spec@{amdgpio\_spec}}
\index{amdgpio\_spec@{amdgpio\_spec}!amdgpio.c@{amdgpio.c}}
\doxysubsubsection{\texorpdfstring{amdgpio\_spec}{amdgpio\_spec}}
{\footnotesize\ttfamily struct resource\+\_\+spec amdgpio\+\_\+spec\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        \{ SYS\_RES\_MEMORY, 0, RF\_ACTIVE \},}
\DoxyCodeLine{        \{ -\/1, 0, 0 \}}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{amdgpio_8c_source_l00059}{59}} of file \mbox{\hyperlink{amdgpio_8c_source}{amdgpio.\+c}}.



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

