Lines Matching refs:mac_lock
161 mutex_lock(&efx->mac_lock); in efx_mac_work()
164 mutex_unlock(&efx->mac_lock); in efx_mac_work()
194 mutex_lock(&efx->mac_lock); in efx_set_mac_address()
196 mutex_unlock(&efx->mac_lock); in efx_set_mac_address()
307 mutex_lock(&efx->mac_lock); in efx_change_mtu()
310 mutex_unlock(&efx->mac_lock); in efx_change_mtu()
338 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor()
341 mutex_unlock(&efx->mac_lock); in efx_monitor()
487 mutex_lock(&efx->mac_lock); in efx_start_port()
493 mutex_unlock(&efx->mac_lock); in efx_start_port()
507 mutex_lock(&efx->mac_lock); in efx_stop_port()
509 mutex_unlock(&efx->mac_lock); in efx_stop_port()
548 mutex_lock(&efx->mac_lock); in efx_start_all()
551 mutex_unlock(&efx->mac_lock); in efx_start_all()
621 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port()
648 mutex_lock(&efx->mac_lock); in efx_reconfigure_port()
650 mutex_unlock(&efx->mac_lock); in efx_reconfigure_port()
716 mutex_lock(&efx->mac_lock); in efx_reset_down()
787 mutex_unlock(&efx->mac_lock); in efx_reset_up()
801 mutex_unlock(&efx->mac_lock); in efx_reset_up()
1016 mutex_init(&efx->mac_lock); in efx_init_struct()