\hypertarget{structcphy__ops}{}\doxysection{cphy\+\_\+ops Struct Reference}
\label{structcphy__ops}\index{cphy\_ops@{cphy\_ops}}


{\ttfamily \#include $<$cxgb\+\_\+common.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a31f6aba720eb015b0779b10e9182248f}{reset}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int wait)
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a69d0b107ac037e492a5b8b4e5318fb96}{intr\+\_\+enable}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a585eb9cedd4a79df1832e6473d01194e}{intr\+\_\+disable}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_ab56c506213d045927c96845bfc481e89}{intr\+\_\+clear}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a5c881ba491de0e29b4669f0f4b53f3af}{intr\+\_\+handler}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a975fe38029583432c6be5951156de464}{autoneg\+\_\+enable}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a4404729e4c36179c682b582295361585}{autoneg\+\_\+restart}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a86a9a7fe9867d0ac0b9fd274b69796d2}{advertise}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, unsigned int advertise\+\_\+map)
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a17fa0b6d5eea7487b46128b91a016e74}{set\+\_\+loopback}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int mmd, int dir, int enable)
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a938bd24e880d939963a948dbd7c8539f}{set\+\_\+speed\+\_\+duplex}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int speed, int duplex)
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_acc01cec56ab5c309503ab3542ce9cc30}{get\+\_\+link\+\_\+status}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int $\ast$link\+\_\+state, int $\ast$speed, int $\ast$duplex, int $\ast$fc)
\item 
int($\ast$ \mbox{\hyperlink{structcphy__ops_a1c5ef609109b0a04c8b6ad926dfc807d}{power\+\_\+down}} )(struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int enable)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00554}{554}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structcphy__ops_a86a9a7fe9867d0ac0b9fd274b69796d2}\label{structcphy__ops_a86a9a7fe9867d0ac0b9fd274b69796d2}} 
\index{cphy\_ops@{cphy\_ops}!advertise@{advertise}}
\index{advertise@{advertise}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{advertise}{advertise}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::advertise) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, unsigned int advertise\+\_\+map)}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00565}{565}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01674}{t3\+\_\+link\+\_\+start()}}.

\mbox{\Hypertarget{structcphy__ops_a975fe38029583432c6be5951156de464}\label{structcphy__ops_a975fe38029583432c6be5951156de464}} 
\index{cphy\_ops@{cphy\_ops}!autoneg\_enable@{autoneg\_enable}}
\index{autoneg\_enable@{autoneg\_enable}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{autoneg\_enable}{autoneg\_enable}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::autoneg\+\_\+enable) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00562}{562}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01674}{t3\+\_\+link\+\_\+start()}}.

\mbox{\Hypertarget{structcphy__ops_a4404729e4c36179c682b582295361585}\label{structcphy__ops_a4404729e4c36179c682b582295361585}} 
\index{cphy\_ops@{cphy\_ops}!autoneg\_restart@{autoneg\_restart}}
\index{autoneg\_restart@{autoneg\_restart}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{autoneg\_restart}{autoneg\_restart}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::autoneg\+\_\+restart) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00563}{563}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.

\mbox{\Hypertarget{structcphy__ops_acc01cec56ab5c309503ab3542ce9cc30}\label{structcphy__ops_acc01cec56ab5c309503ab3542ce9cc30}} 
\index{cphy\_ops@{cphy\_ops}!get\_link\_status@{get\_link\_status}}
\index{get\_link\_status@{get\_link\_status}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{get\_link\_status}{get\_link\_status}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::get\+\_\+link\+\_\+status) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int $\ast$link\+\_\+state, int $\ast$speed, int $\ast$duplex, int $\ast$fc)}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00568}{568}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01522}{t3\+\_\+link\+\_\+changed()}}.

\mbox{\Hypertarget{structcphy__ops_ab56c506213d045927c96845bfc481e89}\label{structcphy__ops_ab56c506213d045927c96845bfc481e89}} 
\index{cphy\_ops@{cphy\_ops}!intr\_clear@{intr\_clear}}
\index{intr\_clear@{intr\_clear}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{intr\_clear}{intr\_clear}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::intr\+\_\+clear) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00559}{559}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l02475}{t3\+\_\+port\+\_\+intr\+\_\+clear()}}.

\mbox{\Hypertarget{structcphy__ops_a585eb9cedd4a79df1832e6473d01194e}\label{structcphy__ops_a585eb9cedd4a79df1832e6473d01194e}} 
\index{cphy\_ops@{cphy\_ops}!intr\_disable@{intr\_disable}}
\index{intr\_disable@{intr\_disable}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{intr\_disable}{intr\_disable}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::intr\+\_\+disable) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00558}{558}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l02459}{t3\+\_\+port\+\_\+intr\+\_\+disable()}}.

\mbox{\Hypertarget{structcphy__ops_a69d0b107ac037e492a5b8b4e5318fb96}\label{structcphy__ops_a69d0b107ac037e492a5b8b4e5318fb96}} 
\index{cphy\_ops@{cphy\_ops}!intr\_enable@{intr\_enable}}
\index{intr\_enable@{intr\_enable}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{intr\_enable}{intr\_enable}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::intr\+\_\+enable) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00557}{557}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l02443}{t3\+\_\+port\+\_\+intr\+\_\+enable()}}.

\mbox{\Hypertarget{structcphy__ops_a5c881ba491de0e29b4669f0f4b53f3af}\label{structcphy__ops_a5c881ba491de0e29b4669f0f4b53f3af}} 
\index{cphy\_ops@{cphy\_ops}!intr\_handler@{intr\_handler}}
\index{intr\_handler@{intr\_handler}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{intr\_handler}{intr\_handler}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::intr\+\_\+handler) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}})}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00560}{560}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l02211}{phy\+\_\+intr\+\_\+handler()}}.

\mbox{\Hypertarget{structcphy__ops_a1c5ef609109b0a04c8b6ad926dfc807d}\label{structcphy__ops_a1c5ef609109b0a04c8b6ad926dfc807d}} 
\index{cphy\_ops@{cphy\_ops}!power\_down@{power\_down}}
\index{power\_down@{power\_down}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{power\_down}{power\_down}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::power\+\_\+down) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int enable)}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00570}{570}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__main_8c_source_l01804}{cxgb\+\_\+uninit\+\_\+synchronized()}}, \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01674}{t3\+\_\+link\+\_\+start()}}, \mbox{\hyperlink{cxgb__t3__hw_8c_source_l04461}{t3\+\_\+prep\+\_\+adapter()}}, and \mbox{\hyperlink{cxgb__t3__hw_8c_source_l04608}{t3\+\_\+reinit\+\_\+adapter()}}.

\mbox{\Hypertarget{structcphy__ops_a31f6aba720eb015b0779b10e9182248f}\label{structcphy__ops_a31f6aba720eb015b0779b10e9182248f}} 
\index{cphy\_ops@{cphy\_ops}!reset@{reset}}
\index{reset@{reset}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{reset}{reset}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::reset) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int wait)}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00555}{555}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01522}{t3\+\_\+link\+\_\+changed()}}, and \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01674}{t3\+\_\+link\+\_\+start()}}.

\mbox{\Hypertarget{structcphy__ops_a17fa0b6d5eea7487b46128b91a016e74}\label{structcphy__ops_a17fa0b6d5eea7487b46128b91a016e74}} 
\index{cphy\_ops@{cphy\_ops}!set\_loopback@{set\_loopback}}
\index{set\_loopback@{set\_loopback}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{set\_loopback}{set\_loopback}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::set\+\_\+loopback) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int mmd, int dir, int enable)}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00566}{566}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.

\mbox{\Hypertarget{structcphy__ops_a938bd24e880d939963a948dbd7c8539f}\label{structcphy__ops_a938bd24e880d939963a948dbd7c8539f}} 
\index{cphy\_ops@{cphy\_ops}!set\_speed\_duplex@{set\_speed\_duplex}}
\index{set\_speed\_duplex@{set\_speed\_duplex}!cphy\_ops@{cphy\_ops}}
\doxysubsubsection{\texorpdfstring{set\_speed\_duplex}{set\_speed\_duplex}}
{\footnotesize\ttfamily int($\ast$ cphy\+\_\+ops\+::set\+\_\+speed\+\_\+duplex) (struct \mbox{\hyperlink{structcphy}{cphy}} $\ast$\mbox{\hyperlink{cxgb__adapter_8h_aef83891e6b67607ec9b6c6c87bc04b07}{phy}}, int speed, int duplex)}



Definition at line \mbox{\hyperlink{cxgb__common_8h_source_l00567}{567}} of file \mbox{\hyperlink{cxgb__common_8h_source}{cxgb\+\_\+common.\+h}}.



Referenced by \mbox{\hyperlink{cxgb__t3__hw_8c_source_l01674}{t3\+\_\+link\+\_\+start()}}.



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