Lines Matching refs:mac_lock
163 mutex_lock(&efx->mac_lock); in efx_mac_work()
166 mutex_unlock(&efx->mac_lock); in efx_mac_work()
196 mutex_lock(&efx->mac_lock); in efx_set_mac_address()
198 mutex_unlock(&efx->mac_lock); in efx_set_mac_address()
309 mutex_lock(&efx->mac_lock); in efx_change_mtu()
312 mutex_unlock(&efx->mac_lock); in efx_change_mtu()
340 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor()
343 mutex_unlock(&efx->mac_lock); in efx_monitor()
489 mutex_lock(&efx->mac_lock); in efx_start_port()
495 mutex_unlock(&efx->mac_lock); in efx_start_port()
509 mutex_lock(&efx->mac_lock); in efx_stop_port()
511 mutex_unlock(&efx->mac_lock); in efx_stop_port()
550 mutex_lock(&efx->mac_lock); in efx_start_all()
553 mutex_unlock(&efx->mac_lock); in efx_start_all()
623 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port()
650 mutex_lock(&efx->mac_lock); in efx_reconfigure_port()
652 mutex_unlock(&efx->mac_lock); in efx_reconfigure_port()
718 mutex_lock(&efx->mac_lock); in efx_reset_down()
789 mutex_unlock(&efx->mac_lock); in efx_reset_up()
803 mutex_unlock(&efx->mac_lock); in efx_reset_up()
1016 mutex_init(&efx->mac_lock); in efx_init_struct()