\hypertarget{acpi__button_8c}{}\doxysection{dev/acpica/acpi\+\_\+button.c File Reference}
\label{acpi__button_8c}\index{dev/acpica/acpi\_button.c@{dev/acpica/acpi\_button.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+acpi.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+evdev.\+h\char`\"{}}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+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
Include dependency graph for acpi\+\_\+button.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{de/d82/acpi__button_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structacpi__button__softc}{acpi\+\_\+button\+\_\+softc}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{acpi__button_8c_ac76d546e6c738c61838d855c815bfbcc}{\+\_\+\+COMPONENT}}~\mbox{\hyperlink{acpivar_8h_a38896f7559ce52de8c768bbabdd3b6eb}{ACPI\+\_\+\+BUTTON}}
\item 
\#define \mbox{\hyperlink{acpi__button_8c_af4e00151aea6bb1131e1631ce2300366}{ACPI\+\_\+\+POWER\+\_\+\+BUTTON}}~0
\item 
\#define \mbox{\hyperlink{acpi__button_8c_a31df40a76e93fe84e07b5134ddf89b45}{ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON}}~1
\item 
\#define \mbox{\hyperlink{acpi__button_8c_a99b5aa95c0c62df9370419d773d8319c}{ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+SLEEP}}~0x80
\item 
\#define \mbox{\hyperlink{acpi__button_8c_a507a572a8f604c4eddf175ddc4a8bc3d}{ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+WAKEUP}}~0x02
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{acpi__button_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static int \mbox{\hyperlink{acpi__button_8c_a62cdb49d2930d0cb1cfc5c6cb84501ea}{acpi\+\_\+button\+\_\+probe}} (device\+\_\+t \mbox{\hyperlink{acpi__if_8m_a5b84348f4a546955afe3156099e597f4}{dev}})
\item 
static int \mbox{\hyperlink{acpi__button_8c_a1b931a6fe687c362f93a10fd5ba7d898}{acpi\+\_\+button\+\_\+attach}} (device\+\_\+t \mbox{\hyperlink{acpi__if_8m_a5b84348f4a546955afe3156099e597f4}{dev}})
\item 
static int \mbox{\hyperlink{acpi__button_8c_ad6f11858579e3694d0ea1c7b86c95621}{acpi\+\_\+button\+\_\+suspend}} (device\+\_\+t \mbox{\hyperlink{acpi__if_8m_a5b84348f4a546955afe3156099e597f4}{dev}})
\item 
static int \mbox{\hyperlink{acpi__button_8c_a6d656441ef8acba525b7d5adbc6c9e71}{acpi\+\_\+button\+\_\+resume}} (device\+\_\+t \mbox{\hyperlink{acpi__if_8m_a5b84348f4a546955afe3156099e597f4}{dev}})
\item 
static void \mbox{\hyperlink{acpi__button_8c_a487f5adad97bdaafc6a68ce1621e0ffe}{acpi\+\_\+button\+\_\+notify\+\_\+handler}} (ACPI\+\_\+\+HANDLE h, UINT32 notify, void $\ast$context)
\item 
static ACPI\+\_\+\+STATUS \mbox{\hyperlink{acpi__button_8c_ab098e02802bd3d996c06c5246cc9c5d7}{acpi\+\_\+button\+\_\+fixed\+\_\+handler}} (void $\ast$context)
\item 
static void \mbox{\hyperlink{acpi__button_8c_af3503ccd6dd04d076f7b8f50f627af20}{acpi\+\_\+button\+\_\+notify\+\_\+sleep}} (void $\ast$\mbox{\hyperlink{acpi__if_8m_a9ce2ec4812a92cb6ab39f6e81e9173a9}{arg}})
\item 
static void \mbox{\hyperlink{acpi__button_8c_acbcb021f51cfb0630e4bfcf50159302e}{acpi\+\_\+button\+\_\+notify\+\_\+wakeup}} (void $\ast$\mbox{\hyperlink{acpi__if_8m_a9ce2ec4812a92cb6ab39f6e81e9173a9}{arg}})
\item 
\mbox{\hyperlink{acpi__button_8c_af3b1a40db418c0eb6226c7591559e477}{DRIVER\+\_\+\+MODULE}} (acpi\+\_\+button, \mbox{\hyperlink{acpi__if_8m_a5d0db714ee9e465e6cab2260587a6062}{acpi}}, \mbox{\hyperlink{acpi__button_8c_ac683bd88fae60d22f779ffe371af93a8}{acpi\+\_\+button\+\_\+driver}}, \mbox{\hyperlink{acpi__button_8c_a0b951fef56f93beea8cf16ffac3993eb}{acpi\+\_\+button\+\_\+devclass}}, 0, 0)
\item 
\mbox{\hyperlink{acpi__button_8c_acea58f9d40e9f34499de535e569c47fa}{MODULE\+\_\+\+DEPEND}} (acpi\+\_\+button, \mbox{\hyperlink{acpi__if_8m_a5d0db714ee9e465e6cab2260587a6062}{acpi}}, 1, 1, 1)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static char $\ast$ \mbox{\hyperlink{acpi__button_8c_ac91cce34d82b8f1a1d6571bdf5c52138}{btn\+\_\+ids}} \mbox{[}$\,$\mbox{]}
\item 
static device\+\_\+method\+\_\+t \mbox{\hyperlink{acpi__button_8c_a7c29d2791cfc51d46dfa735ed03f0340}{acpi\+\_\+button\+\_\+methods}} \mbox{[}$\,$\mbox{]}
\item 
static driver\+\_\+t \mbox{\hyperlink{acpi__button_8c_ac683bd88fae60d22f779ffe371af93a8}{acpi\+\_\+button\+\_\+driver}}
\item 
static devclass\+\_\+t \mbox{\hyperlink{acpi__button_8c_a0b951fef56f93beea8cf16ffac3993eb}{acpi\+\_\+button\+\_\+devclass}}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{acpi__button_8c_ac76d546e6c738c61838d855c815bfbcc}\label{acpi__button_8c_ac76d546e6c738c61838d855c815bfbcc}} 
\index{acpi\_button.c@{acpi\_button.c}!\_COMPONENT@{\_COMPONENT}}
\index{\_COMPONENT@{\_COMPONENT}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{\_COMPONENT}{\_COMPONENT}}
{\footnotesize\ttfamily \#define \+\_\+\+COMPONENT~\mbox{\hyperlink{acpivar_8h_a38896f7559ce52de8c768bbabdd3b6eb}{ACPI\+\_\+\+BUTTON}}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00050}{50}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_a99b5aa95c0c62df9370419d773d8319c}\label{acpi__button_8c_a99b5aa95c0c62df9370419d773d8319c}} 
\index{acpi\_button.c@{acpi\_button.c}!ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_SLEEP@{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_SLEEP}}
\index{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_SLEEP@{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_SLEEP}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_SLEEP}{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_SLEEP}}
{\footnotesize\ttfamily \#define ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+SLEEP~0x80}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00065}{65}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_a507a572a8f604c4eddf175ddc4a8bc3d}\label{acpi__button_8c_a507a572a8f604c4eddf175ddc4a8bc3d}} 
\index{acpi\_button.c@{acpi\_button.c}!ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_WAKEUP@{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_WAKEUP}}
\index{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_WAKEUP@{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_WAKEUP}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_WAKEUP}{ACPI\_NOTIFY\_BUTTON\_PRESSED\_FOR\_WAKEUP}}
{\footnotesize\ttfamily \#define ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+WAKEUP~0x02}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00066}{66}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_af4e00151aea6bb1131e1631ce2300366}\label{acpi__button_8c_af4e00151aea6bb1131e1631ce2300366}} 
\index{acpi\_button.c@{acpi\_button.c}!ACPI\_POWER\_BUTTON@{ACPI\_POWER\_BUTTON}}
\index{ACPI\_POWER\_BUTTON@{ACPI\_POWER\_BUTTON}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{ACPI\_POWER\_BUTTON}{ACPI\_POWER\_BUTTON}}
{\footnotesize\ttfamily \#define ACPI\+\_\+\+POWER\+\_\+\+BUTTON~0}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00057}{57}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_a31df40a76e93fe84e07b5134ddf89b45}\label{acpi__button_8c_a31df40a76e93fe84e07b5134ddf89b45}} 
\index{acpi\_button.c@{acpi\_button.c}!ACPI\_SLEEP\_BUTTON@{ACPI\_SLEEP\_BUTTON}}
\index{ACPI\_SLEEP\_BUTTON@{ACPI\_SLEEP\_BUTTON}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{ACPI\_SLEEP\_BUTTON}{ACPI\_SLEEP\_BUTTON}}
{\footnotesize\ttfamily \#define ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON~1}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00058}{58}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



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

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



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00139}{139}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



References \mbox{\hyperlink{acpi__button_8c_source_l00303}{acpi\+\_\+button\+\_\+fixed\+\_\+handler()}}, \mbox{\hyperlink{acpi__button_8c_source_l00271}{acpi\+\_\+button\+\_\+notify\+\_\+handler()}}, \mbox{\hyperlink{acpi_8c_source_l03722}{acpi\+\_\+parse\+\_\+prw()}}, \mbox{\hyperlink{acpi__button_8c_source_l00058}{ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi_8c_source_l03540}{acpi\+\_\+wake\+\_\+set\+\_\+enable()}}, \mbox{\hyperlink{acpi__button_8c_source_l00054}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+dev}}, \mbox{\hyperlink{acpi__button_8c_source_l00055}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+handle}}, \mbox{\hyperlink{acpi__button_8c_source_l00056}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+type}}, \mbox{\hyperlink{acpi__bus__if_8m_source_l00062}{dev}}, \mbox{\hyperlink{acpi__button_8c_source_l00059}{acpi\+\_\+button\+\_\+softc\+::fixed}}, \mbox{\hyperlink{acpivar_8h_source_l00130}{acpi\+\_\+prw\+\_\+data\+::gpe\+\_\+bit}}, and \mbox{\hyperlink{acpivar_8h_source_l00129}{acpi\+\_\+prw\+\_\+data\+::gpe\+\_\+handle}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_a1b931a6fe687c362f93a10fd5ba7d898_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{acpi__button_8c_ab098e02802bd3d996c06c5246cc9c5d7}\label{acpi__button_8c_ab098e02802bd3d996c06c5246cc9c5d7}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_fixed\_handler@{acpi\_button\_fixed\_handler}}
\index{acpi\_button\_fixed\_handler@{acpi\_button\_fixed\_handler}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_fixed\_handler()}{acpi\_button\_fixed\_handler()}}
{\footnotesize\ttfamily static ACPI\+\_\+\+STATUS acpi\+\_\+button\+\_\+fixed\+\_\+handler (\begin{DoxyParamCaption}\item[{void $\ast$}]{context }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00303}{303}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



References \mbox{\hyperlink{acpi__button_8c_source_l00271}{acpi\+\_\+button\+\_\+notify\+\_\+handler()}}, \mbox{\hyperlink{acpi__button_8c_source_l00065}{ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+SLEEP}}, and \mbox{\hyperlink{acpi__button_8c_source_l00055}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+handle}}.



Referenced by \mbox{\hyperlink{acpi__button_8c_source_l00139}{acpi\+\_\+button\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_ab098e02802bd3d996c06c5246cc9c5d7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_ab098e02802bd3d996c06c5246cc9c5d7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{acpi__button_8c_a487f5adad97bdaafc6a68ce1621e0ffe}\label{acpi__button_8c_a487f5adad97bdaafc6a68ce1621e0ffe}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_notify\_handler@{acpi\_button\_notify\_handler}}
\index{acpi\_button\_notify\_handler@{acpi\_button\_notify\_handler}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_notify\_handler()}{acpi\_button\_notify\_handler()}}
{\footnotesize\ttfamily static void acpi\+\_\+button\+\_\+notify\+\_\+handler (\begin{DoxyParamCaption}\item[{ACPI\+\_\+\+HANDLE}]{h,  }\item[{UINT32}]{notify,  }\item[{void $\ast$}]{context }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00271}{271}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



References \mbox{\hyperlink{acpi__button_8c_source_l00213}{acpi\+\_\+button\+\_\+notify\+\_\+sleep()}}, \mbox{\hyperlink{acpi__button_8c_source_l00242}{acpi\+\_\+button\+\_\+notify\+\_\+wakeup()}}, \mbox{\hyperlink{acpi__button_8c_source_l00065}{ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+SLEEP}}, \mbox{\hyperlink{acpi__button_8c_source_l00066}{ACPI\+\_\+\+NOTIFY\+\_\+\+BUTTON\+\_\+\+PRESSED\+\_\+\+FOR\+\_\+\+WAKEUP}}, \mbox{\hyperlink{acpi__button_8c_source_l00058}{ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON}}, \mbox{\hyperlink{OsdSchedule_8c_source_l00193}{Acpi\+Os\+Execute()}}, \mbox{\hyperlink{acpi__button_8c_source_l00054}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+dev}}, and \mbox{\hyperlink{acpi__button_8c_source_l00056}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+type}}.



Referenced by \mbox{\hyperlink{acpi__button_8c_source_l00139}{acpi\+\_\+button\+\_\+attach()}}, and \mbox{\hyperlink{acpi__button_8c_source_l00303}{acpi\+\_\+button\+\_\+fixed\+\_\+handler()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_a487f5adad97bdaafc6a68ce1621e0ffe_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_a487f5adad97bdaafc6a68ce1621e0ffe_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{acpi__button_8c_af3503ccd6dd04d076f7b8f50f627af20}\label{acpi__button_8c_af3503ccd6dd04d076f7b8f50f627af20}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_notify\_sleep@{acpi\_button\_notify\_sleep}}
\index{acpi\_button\_notify\_sleep@{acpi\_button\_notify\_sleep}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_notify\_sleep()}{acpi\_button\_notify\_sleep()}}
{\footnotesize\ttfamily static void acpi\+\_\+button\+\_\+notify\+\_\+sleep (\begin{DoxyParamCaption}\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00213}{213}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



References \mbox{\hyperlink{acpivar_8h_source_l00476}{acpi\+\_\+device\+\_\+get\+\_\+parent\+\_\+softc()}}, \mbox{\hyperlink{acpi_8c_source_l03872}{acpi\+\_\+event\+\_\+power\+\_\+button\+\_\+sleep()}}, \mbox{\hyperlink{acpi_8c_source_l03898}{acpi\+\_\+event\+\_\+sleep\+\_\+button\+\_\+sleep()}}, \mbox{\hyperlink{acpi__button_8c_source_l00057}{ACPI\+\_\+\+POWER\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi__button_8c_source_l00058}{ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi_8c_source_l04239}{acpi\+\_\+\+User\+Notify()}}, \mbox{\hyperlink{acpivar_8h_source_l00328}{ACPI\+\_\+\+VPRINT}}, \mbox{\hyperlink{acpi__if_8m_source_l00188}{arg}}, \mbox{\hyperlink{acpi__button_8c_source_l00054}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+dev}}, \mbox{\hyperlink{acpi__button_8c_source_l00055}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+handle}}, and \mbox{\hyperlink{acpi__button_8c_source_l00056}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+type}}.



Referenced by \mbox{\hyperlink{acpi__button_8c_source_l00271}{acpi\+\_\+button\+\_\+notify\+\_\+handler()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_af3503ccd6dd04d076f7b8f50f627af20_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_af3503ccd6dd04d076f7b8f50f627af20_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{acpi__button_8c_acbcb021f51cfb0630e4bfcf50159302e}\label{acpi__button_8c_acbcb021f51cfb0630e4bfcf50159302e}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_notify\_wakeup@{acpi\_button\_notify\_wakeup}}
\index{acpi\_button\_notify\_wakeup@{acpi\_button\_notify\_wakeup}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_notify\_wakeup()}{acpi\_button\_notify\_wakeup()}}
{\footnotesize\ttfamily static void acpi\+\_\+button\+\_\+notify\+\_\+wakeup (\begin{DoxyParamCaption}\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00242}{242}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



References \mbox{\hyperlink{acpivar_8h_source_l00476}{acpi\+\_\+device\+\_\+get\+\_\+parent\+\_\+softc()}}, \mbox{\hyperlink{acpi_8c_source_l03885}{acpi\+\_\+event\+\_\+power\+\_\+button\+\_\+wake()}}, \mbox{\hyperlink{acpi_8c_source_l03911}{acpi\+\_\+event\+\_\+sleep\+\_\+button\+\_\+wake()}}, \mbox{\hyperlink{acpi__button_8c_source_l00057}{ACPI\+\_\+\+POWER\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi__button_8c_source_l00058}{ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi_8c_source_l04239}{acpi\+\_\+\+User\+Notify()}}, \mbox{\hyperlink{acpivar_8h_source_l00328}{ACPI\+\_\+\+VPRINT}}, \mbox{\hyperlink{acpi__if_8m_source_l00188}{arg}}, \mbox{\hyperlink{acpi__button_8c_source_l00054}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+dev}}, \mbox{\hyperlink{acpi__button_8c_source_l00055}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+handle}}, and \mbox{\hyperlink{acpi__button_8c_source_l00056}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+type}}.



Referenced by \mbox{\hyperlink{acpi__button_8c_source_l00271}{acpi\+\_\+button\+\_\+notify\+\_\+handler()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_acbcb021f51cfb0630e4bfcf50159302e_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d2d/acpi__button_8c_acbcb021f51cfb0630e4bfcf50159302e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{acpi__button_8c_a62cdb49d2930d0cb1cfc5c6cb84501ea}\label{acpi__button_8c_a62cdb49d2930d0cb1cfc5c6cb84501ea}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_probe@{acpi\_button\_probe}}
\index{acpi\_button\_probe@{acpi\_button\_probe}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_probe()}{acpi\_button\_probe()}}
{\footnotesize\ttfamily static int acpi\+\_\+button\+\_\+probe (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00106}{106}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



References \mbox{\hyperlink{acpi_8c_source_l03982}{acpi\+\_\+disabled()}}, \mbox{\hyperlink{acpi__button_8c_source_l00057}{ACPI\+\_\+\+POWER\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi__button_8c_source_l00058}{ACPI\+\_\+\+SLEEP\+\_\+\+BUTTON}}, \mbox{\hyperlink{acpi__button_8c_source_l00079}{btn\+\_\+ids}}, \mbox{\hyperlink{acpi__button_8c_source_l00056}{acpi\+\_\+button\+\_\+softc\+::button\+\_\+type}}, \mbox{\hyperlink{acpi__bus__if_8m_source_l00062}{dev}}, and \mbox{\hyperlink{acpi__button_8c_source_l00059}{acpi\+\_\+button\+\_\+softc\+::fixed}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{d7/d2d/acpi__button_8c_a62cdb49d2930d0cb1cfc5c6cb84501ea_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{acpi__button_8c_a6d656441ef8acba525b7d5adbc6c9e71}\label{acpi__button_8c_a6d656441ef8acba525b7d5adbc6c9e71}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_resume@{acpi\_button\_resume}}
\index{acpi\_button\_resume@{acpi\_button\_resume}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_resume()}{acpi\_button\_resume()}}
{\footnotesize\ttfamily static int acpi\+\_\+button\+\_\+resume (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00207}{207}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_ad6f11858579e3694d0ea1c7b86c95621}\label{acpi__button_8c_ad6f11858579e3694d0ea1c7b86c95621}} 
\index{acpi\_button.c@{acpi\_button.c}!acpi\_button\_suspend@{acpi\_button\_suspend}}
\index{acpi\_button\_suspend@{acpi\_button\_suspend}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{acpi\_button\_suspend()}{acpi\_button\_suspend()}}
{\footnotesize\ttfamily static int acpi\+\_\+button\+\_\+suspend (\begin{DoxyParamCaption}\item[{device\+\_\+t}]{dev }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00201}{201}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_af3b1a40db418c0eb6226c7591559e477}\label{acpi__button_8c_af3b1a40db418c0eb6226c7591559e477}} 
\index{acpi\_button.c@{acpi\_button.c}!DRIVER\_MODULE@{DRIVER\_MODULE}}
\index{DRIVER\_MODULE@{DRIVER\_MODULE}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{DRIVER\_MODULE()}{DRIVER\_MODULE()}}
{\footnotesize\ttfamily DRIVER\+\_\+\+MODULE (\begin{DoxyParamCaption}\item[{acpi\+\_\+button}]{,  }\item[{\mbox{\hyperlink{acpi__if_8m_a5d0db714ee9e465e6cab2260587a6062}{acpi}}}]{,  }\item[{\mbox{\hyperlink{acpi__button_8c_ac683bd88fae60d22f779ffe371af93a8}{acpi\+\_\+button\+\_\+driver}}}]{,  }\item[{\mbox{\hyperlink{acpi__button_8c_a0b951fef56f93beea8cf16ffac3993eb}{acpi\+\_\+button\+\_\+devclass}}}]{,  }\item[{0}]{,  }\item[{0}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{acpi__button_8c_acea58f9d40e9f34499de535e569c47fa}\label{acpi__button_8c_acea58f9d40e9f34499de535e569c47fa}} 
\index{acpi\_button.c@{acpi\_button.c}!MODULE\_DEPEND@{MODULE\_DEPEND}}
\index{MODULE\_DEPEND@{MODULE\_DEPEND}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{MODULE\_DEPEND()}{MODULE\_DEPEND()}}
{\footnotesize\ttfamily MODULE\+\_\+\+DEPEND (\begin{DoxyParamCaption}\item[{acpi\+\_\+button}]{,  }\item[{\mbox{\hyperlink{acpi__if_8m_a5d0db714ee9e465e6cab2260587a6062}{acpi}}}]{,  }\item[{1}]{,  }\item[{1}]{,  }\item[{1}]{ }\end{DoxyParamCaption})}



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



Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00100}{100}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

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

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{    \textcolor{stringliteral}{"{}acpi\_button"{}},}
\DoxyCodeLine{    \mbox{\hyperlink{acpi__button_8c_a7c29d2791cfc51d46dfa735ed03f0340}{acpi\_button\_methods}},}
\DoxyCodeLine{    \textcolor{keyword}{sizeof}(\textcolor{keyword}{struct }\mbox{\hyperlink{structacpi__button__softc}{acpi\_button\_softc}}),}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00094}{94}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

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

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{    }
\DoxyCodeLine{    DEVMETHOD(device\_probe,     \mbox{\hyperlink{acpi__button_8c_a62cdb49d2930d0cb1cfc5c6cb84501ea}{acpi\_button\_probe}}),}
\DoxyCodeLine{    DEVMETHOD(device\_attach,    \mbox{\hyperlink{acpi__button_8c_a1b931a6fe687c362f93a10fd5ba7d898}{acpi\_button\_attach}}),}
\DoxyCodeLine{    DEVMETHOD(device\_suspend,   \mbox{\hyperlink{acpi__button_8c_ad6f11858579e3694d0ea1c7b86c95621}{acpi\_button\_suspend}}),}
\DoxyCodeLine{    DEVMETHOD(device\_shutdown,  \mbox{\hyperlink{acpi__button_8c_ad6f11858579e3694d0ea1c7b86c95621}{acpi\_button\_suspend}}),}
\DoxyCodeLine{    DEVMETHOD(device\_resume,    \mbox{\hyperlink{acpi__button_8c_a6d656441ef8acba525b7d5adbc6c9e71}{acpi\_button\_resume}}),}
\DoxyCodeLine{    DEVMETHOD\_END}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00084}{84}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.

\mbox{\Hypertarget{acpi__button_8c_ac91cce34d82b8f1a1d6571bdf5c52138}\label{acpi__button_8c_ac91cce34d82b8f1a1d6571bdf5c52138}} 
\index{acpi\_button.c@{acpi\_button.c}!btn\_ids@{btn\_ids}}
\index{btn\_ids@{btn\_ids}!acpi\_button.c@{acpi\_button.c}}
\doxysubsubsection{\texorpdfstring{btn\_ids}{btn\_ids}}
{\footnotesize\ttfamily char$\ast$ btn\+\_\+ids\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{    \textcolor{stringliteral}{"{}PNP0C0C"{}}, \textcolor{stringliteral}{"{}ACPI\_FPB"{}}, \textcolor{stringliteral}{"{}PNP0C0E"{}}, \textcolor{stringliteral}{"{}ACPI\_FSB"{}},}
\DoxyCodeLine{    NULL}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{acpi__button_8c_source_l00079}{79}} of file \mbox{\hyperlink{acpi__button_8c_source}{acpi\+\_\+button.\+c}}.



Referenced by \mbox{\hyperlink{acpi__button_8c_source_l00106}{acpi\+\_\+button\+\_\+probe()}}.

