Lines Matching refs:mac_lock
158 mutex_lock(&efx->mac_lock); in efx_mac_work()
161 mutex_unlock(&efx->mac_lock); in efx_mac_work()
191 mutex_lock(&efx->mac_lock); in efx_set_mac_address()
193 mutex_unlock(&efx->mac_lock); in efx_set_mac_address()
304 mutex_lock(&efx->mac_lock); in efx_change_mtu()
307 mutex_unlock(&efx->mac_lock); in efx_change_mtu()
335 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor()
338 mutex_unlock(&efx->mac_lock); in efx_monitor()
484 mutex_lock(&efx->mac_lock); in efx_start_port()
490 mutex_unlock(&efx->mac_lock); in efx_start_port()
504 mutex_lock(&efx->mac_lock); in efx_stop_port()
506 mutex_unlock(&efx->mac_lock); in efx_stop_port()
547 mutex_lock(&efx->mac_lock); in efx_start_all()
550 mutex_unlock(&efx->mac_lock); in efx_start_all()
620 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port()
699 mutex_lock(&efx->mac_lock); in efx_reset_down()
768 mutex_unlock(&efx->mac_lock); in efx_reset_up()
782 mutex_unlock(&efx->mac_lock); in efx_reset_up()
993 mutex_init(&efx->mac_lock); in efx_init_struct()