\hypertarget{rtwn__pci__reg_8c}{}\doxysection{dev/rtwn/pci/rtwn\+\_\+pci\+\_\+reg.c File Reference}
\label{rtwn__pci__reg_8c}\index{dev/rtwn/pci/rtwn\_pci\_reg.c@{dev/rtwn/pci/rtwn\_pci\_reg.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/mbuf.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/queue.\+h$>$}\newline
{\ttfamily \#include $<$sys/taskqueue.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/endian.\+h$>$}\newline
{\ttfamily \#include $<$machine/bus.\+h$>$}\newline
{\ttfamily \#include $<$machine/resource.\+h$>$}\newline
{\ttfamily \#include $<$sys/rman.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/ethernet.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+radiotap.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/if\+\_\+rtwnvar.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/pci/rtwn\+\_\+pci\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/pci/rtwn\+\_\+pci\+\_\+reg.\+h$>$}\newline
Include dependency graph for rtwn\+\_\+pci\+\_\+reg.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/rtwn__pci__reg_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{rtwn__pci__reg_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
int \mbox{\hyperlink{rtwn__pci__reg_8c_aad1fc176f8f8619af91b253cd3ef3d00}{rtwn\+\_\+pci\+\_\+write\+\_\+1}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, uint16\+\_\+t addr, uint8\+\_\+t val)
\item 
int \mbox{\hyperlink{rtwn__pci__reg_8c_a89f07100227b1efe1d9405827938ff9c}{rtwn\+\_\+pci\+\_\+write\+\_\+2}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, uint16\+\_\+t addr, uint16\+\_\+t val)
\item 
int \mbox{\hyperlink{rtwn__pci__reg_8c_ae215a97e14018b9a40e034b74c4d80d9}{rtwn\+\_\+pci\+\_\+write\+\_\+4}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, uint16\+\_\+t addr, uint32\+\_\+t val)
\item 
uint8\+\_\+t \mbox{\hyperlink{rtwn__pci__reg_8c_a926519fc9b63c998cc748e62e2d49dd6}{rtwn\+\_\+pci\+\_\+read\+\_\+1}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, uint16\+\_\+t addr)
\item 
uint16\+\_\+t \mbox{\hyperlink{rtwn__pci__reg_8c_a1f04a306320a7b46765e4cbc4cf58996}{rtwn\+\_\+pci\+\_\+read\+\_\+2}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, uint16\+\_\+t addr)
\item 
uint32\+\_\+t \mbox{\hyperlink{rtwn__pci__reg_8c_ad921347297c71d27e2657d1c30d02f32}{rtwn\+\_\+pci\+\_\+read\+\_\+4}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, uint16\+\_\+t addr)
\item 
void \mbox{\hyperlink{rtwn__pci__reg_8c_a3008ea61543b84b48a0ae7eb43643ecd}{rtwn\+\_\+pci\+\_\+delay}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, int usec)
\end{DoxyCompactItemize}


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

\mbox{\Hypertarget{rtwn__pci__reg_8c_a3008ea61543b84b48a0ae7eb43643ecd}\label{rtwn__pci__reg_8c_a3008ea61543b84b48a0ae7eb43643ecd}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_delay@{rtwn\_pci\_delay}}
\index{rtwn\_pci\_delay@{rtwn\_pci\_delay}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_delay()}{rtwn\_pci\_delay()}}
{\footnotesize\ttfamily void rtwn\+\_\+pci\+\_\+delay (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{int}]{usec }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00114}{114}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{if__rtwnvar_8h_source_l00229}{rtwn\+\_\+softc\+::sc\+\_\+mtx}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_a3008ea61543b84b48a0ae7eb43643ecd_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{rtwn__pci__reg_8c_a926519fc9b63c998cc748e62e2d49dd6}\label{rtwn__pci__reg_8c_a926519fc9b63c998cc748e62e2d49dd6}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_read\_1@{rtwn\_pci\_read\_1}}
\index{rtwn\_pci\_read\_1@{rtwn\_pci\_read\_1}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_read\_1()}{rtwn\_pci\_read\_1()}}
{\footnotesize\ttfamily uint8\+\_\+t rtwn\+\_\+pci\+\_\+read\+\_\+1 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{uint16\+\_\+t}]{addr }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00086}{86}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{rtwn__pci__var_8h_source_l00110}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+sh}}, \mbox{\hyperlink{rtwn__pci__var_8h_source_l00109}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+st}}, and \mbox{\hyperlink{rtwn__pci__var_8h_source_l00131}{RTWN\+\_\+\+PCI\+\_\+\+SOFTC}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_a926519fc9b63c998cc748e62e2d49dd6_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{rtwn__pci__reg_8c_a1f04a306320a7b46765e4cbc4cf58996}\label{rtwn__pci__reg_8c_a1f04a306320a7b46765e4cbc4cf58996}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_read\_2@{rtwn\_pci\_read\_2}}
\index{rtwn\_pci\_read\_2@{rtwn\_pci\_read\_2}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_read\_2()}{rtwn\_pci\_read\_2()}}
{\footnotesize\ttfamily uint16\+\_\+t rtwn\+\_\+pci\+\_\+read\+\_\+2 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{uint16\+\_\+t}]{addr }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00094}{94}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{rtwn__pci__var_8h_source_l00110}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+sh}}, \mbox{\hyperlink{rtwn__pci__var_8h_source_l00109}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+st}}, and \mbox{\hyperlink{rtwn__pci__var_8h_source_l00131}{RTWN\+\_\+\+PCI\+\_\+\+SOFTC}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_a1f04a306320a7b46765e4cbc4cf58996_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{rtwn__pci__reg_8c_ad921347297c71d27e2657d1c30d02f32}\label{rtwn__pci__reg_8c_ad921347297c71d27e2657d1c30d02f32}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_read\_4@{rtwn\_pci\_read\_4}}
\index{rtwn\_pci\_read\_4@{rtwn\_pci\_read\_4}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_read\_4()}{rtwn\_pci\_read\_4()}}
{\footnotesize\ttfamily uint32\+\_\+t rtwn\+\_\+pci\+\_\+read\+\_\+4 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{uint16\+\_\+t}]{addr }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00104}{104}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{rtwn__pci__var_8h_source_l00110}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+sh}}, \mbox{\hyperlink{rtwn__pci__var_8h_source_l00109}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+st}}, and \mbox{\hyperlink{rtwn__pci__var_8h_source_l00131}{RTWN\+\_\+\+PCI\+\_\+\+SOFTC}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_ad921347297c71d27e2657d1c30d02f32_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{rtwn__pci__reg_8c_aad1fc176f8f8619af91b253cd3ef3d00}\label{rtwn__pci__reg_8c_aad1fc176f8f8619af91b253cd3ef3d00}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_write\_1@{rtwn\_pci\_write\_1}}
\index{rtwn\_pci\_write\_1@{rtwn\_pci\_write\_1}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_write\_1()}{rtwn\_pci\_write\_1()}}
{\footnotesize\ttfamily int rtwn\+\_\+pci\+\_\+write\+\_\+1 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{uint16\+\_\+t}]{addr,  }\item[{uint8\+\_\+t}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00054}{54}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{rtwn__pci__var_8h_source_l00110}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+sh}}, \mbox{\hyperlink{rtwn__pci__var_8h_source_l00109}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+st}}, and \mbox{\hyperlink{rtwn__pci__var_8h_source_l00131}{RTWN\+\_\+\+PCI\+\_\+\+SOFTC}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}, and \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00493}{rtwn\+\_\+pci\+\_\+fw\+\_\+write\+\_\+block()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_aad1fc176f8f8619af91b253cd3ef3d00_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{rtwn__pci__reg_8c_a89f07100227b1efe1d9405827938ff9c}\label{rtwn__pci__reg_8c_a89f07100227b1efe1d9405827938ff9c}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_write\_2@{rtwn\_pci\_write\_2}}
\index{rtwn\_pci\_write\_2@{rtwn\_pci\_write\_2}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_write\_2()}{rtwn\_pci\_write\_2()}}
{\footnotesize\ttfamily int rtwn\+\_\+pci\+\_\+write\+\_\+2 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{uint16\+\_\+t}]{addr,  }\item[{uint16\+\_\+t}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00064}{64}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{rtwn__pci__var_8h_source_l00110}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+sh}}, \mbox{\hyperlink{rtwn__pci__var_8h_source_l00109}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+st}}, and \mbox{\hyperlink{rtwn__pci__var_8h_source_l00131}{RTWN\+\_\+\+PCI\+\_\+\+SOFTC}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_a89f07100227b1efe1d9405827938ff9c_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{rtwn__pci__reg_8c_ae215a97e14018b9a40e034b74c4d80d9}\label{rtwn__pci__reg_8c_ae215a97e14018b9a40e034b74c4d80d9}} 
\index{rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}!rtwn\_pci\_write\_4@{rtwn\_pci\_write\_4}}
\index{rtwn\_pci\_write\_4@{rtwn\_pci\_write\_4}!rtwn\_pci\_reg.c@{rtwn\_pci\_reg.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_pci\_write\_4()}{rtwn\_pci\_write\_4()}}
{\footnotesize\ttfamily int rtwn\+\_\+pci\+\_\+write\+\_\+4 (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{uint16\+\_\+t}]{addr,  }\item[{uint32\+\_\+t}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{rtwn__pci__reg_8c_source_l00075}{75}} of file \mbox{\hyperlink{rtwn__pci__reg_8c_source}{rtwn\+\_\+pci\+\_\+reg.\+c}}.



References \mbox{\hyperlink{rtwn__pci__var_8h_source_l00110}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+sh}}, \mbox{\hyperlink{rtwn__pci__var_8h_source_l00109}{rtwn\+\_\+pci\+\_\+softc\+::pc\+\_\+st}}, and \mbox{\hyperlink{rtwn__pci__var_8h_source_l00131}{RTWN\+\_\+\+PCI\+\_\+\+SOFTC}}.



Referenced by \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00577}{rtwn\+\_\+pci\+\_\+attach\+\_\+methods()}}, and \mbox{\hyperlink{rtwn__pci__attach_8c_source_l00516}{rtwn\+\_\+pci\+\_\+set\+\_\+desc\+\_\+addr()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d70/rtwn__pci__reg_8c_ae215a97e14018b9a40e034b74c4d80d9_icgraph}
\end{center}
\end{figure}
