Lines Matching refs:alx

131 	struct alx_priv *alx = netdev_priv(netdev);  in alx_get_link_ksettings()  local
132 struct alx_hw *hw = &alx->hw; in alx_get_link_ksettings()
166 mutex_lock(&alx->mtx); in alx_get_link_ksettings()
169 mutex_unlock(&alx->mtx); in alx_get_link_ksettings()
182 struct alx_priv *alx = netdev_priv(netdev); in alx_set_link_ksettings() local
183 struct alx_hw *hw = &alx->hw; in alx_set_link_ksettings()
205 mutex_lock(&alx->mtx); in alx_set_link_ksettings()
207 mutex_unlock(&alx->mtx); in alx_set_link_ksettings()
215 struct alx_priv *alx = netdev_priv(netdev); in alx_get_pauseparam() local
216 struct alx_hw *hw = &alx->hw; in alx_get_pauseparam()
218 mutex_lock(&alx->mtx); in alx_get_pauseparam()
223 mutex_unlock(&alx->mtx); in alx_get_pauseparam()
230 struct alx_priv *alx = netdev_priv(netdev); in alx_set_pauseparam() local
231 struct alx_hw *hw = &alx->hw; in alx_set_pauseparam()
243 mutex_lock(&alx->mtx); in alx_set_pauseparam()
257 mutex_unlock(&alx->mtx); in alx_set_pauseparam()
267 mutex_unlock(&alx->mtx); in alx_set_pauseparam()
274 struct alx_priv *alx = netdev_priv(netdev); in alx_get_msglevel() local
276 return alx->msg_enable; in alx_get_msglevel()
281 struct alx_priv *alx = netdev_priv(netdev); in alx_set_msglevel() local
283 alx->msg_enable = data; in alx_set_msglevel()
289 struct alx_priv *alx = netdev_priv(netdev); in alx_get_ethtool_stats() local
290 struct alx_hw *hw = &alx->hw; in alx_get_ethtool_stats()
292 spin_lock(&alx->stats_lock); in alx_get_ethtool_stats()
298 spin_unlock(&alx->stats_lock); in alx_get_ethtool_stats()