Home
last modified time | relevance | path

Searched refs:mac_lock (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/sfc/
Dselftest.c253 mutex_lock(&efx->mac_lock); in efx_test_phy()
255 mutex_unlock(&efx->mac_lock); in efx_test_phy()
578 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
580 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
583 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
587 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
627 mutex_lock(&efx->mac_lock); in efx_test_loopbacks()
630 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks()
730 mutex_lock(&efx->mac_lock); in efx_selftest()
734 mutex_unlock(&efx->mac_lock); in efx_selftest()
[all …]
Defx.c963 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port()
988 mutex_lock(&efx->mac_lock); in efx_reconfigure_port()
990 mutex_unlock(&efx->mac_lock); in efx_reconfigure_port()
1002 mutex_lock(&efx->mac_lock); in efx_mac_work()
1005 mutex_unlock(&efx->mac_lock); in efx_mac_work()
1034 mutex_lock(&efx->mac_lock); in efx_init_port()
1051 mutex_unlock(&efx->mac_lock); in efx_init_port()
1057 mutex_unlock(&efx->mac_lock); in efx_init_port()
1066 mutex_lock(&efx->mac_lock); in efx_start_port()
1072 mutex_unlock(&efx->mac_lock); in efx_start_port()
[all …]
Dethtool.c127 mutex_lock(&efx->mac_lock); in efx_ethtool_get_settings()
129 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_settings()
157 mutex_lock(&efx->mac_lock); in efx_ethtool_set_settings()
159 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_settings()
695 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam()
740 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam()
1141 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
1143 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
1157 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_info()
1159 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_info()
Dmdio_10g.c307 mutex_lock(&efx->mac_lock); in efx_mdio_test_alive()
321 mutex_unlock(&efx->mac_lock); in efx_mdio_test_alive()
Dfalcon.c1249 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_push_multicast_hash()
1457 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_loopback_link_poll()
1886 mutex_lock(&efx->mac_lock); in falcon_b0_test_chip()
1896 mutex_unlock(&efx->mac_lock); in falcon_b0_test_chip()
2059 BUG_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_monitor()
Dnet_driver.h1010 struct mutex mac_lock; member
Dsiena.c598 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in siena_mac_reconfigure()
Dmcdi_port.c480 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in efx_mcdi_phy_poll()
/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmsc911x.c110 spinlock_t mac_lock; member
557 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_read()
581 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_read()
594 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_write()
622 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_write()
874 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
877 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
886 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
888 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
894 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
[all …]
Dsmsc911x.h54 WARN_ON_SMP(!spin_is_locked(&pdata->mac_lock))
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c41 spin_lock_bh(&adapter->mac_lock); in vsc_read()
61 spin_unlock_bh(&adapter->mac_lock); in vsc_read()
66 spin_lock_bh(&adapter->mac_lock); in vsc_write()
72 spin_unlock_bh(&adapter->mac_lock); in vsc_write()
Dcommon.h253 spinlock_t mac_lock; member
Dcxgb2.c1059 spin_lock_init(&adapter->mac_lock); in init_one()