Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/sfc/
Dselftest.c256 mutex_lock(&efx->mac_lock); in efx_test_phy()
258 mutex_unlock(&efx->mac_lock); in efx_test_phy()
587 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
589 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
592 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
596 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
636 mutex_lock(&efx->mac_lock); in efx_test_loopbacks()
639 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks()
742 mutex_lock(&efx->mac_lock); in efx_selftest()
746 mutex_unlock(&efx->mac_lock); in efx_selftest()
[all …]
Defx.c989 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port()
1014 mutex_lock(&efx->mac_lock); in efx_reconfigure_port()
1016 mutex_unlock(&efx->mac_lock); in efx_reconfigure_port()
1028 mutex_lock(&efx->mac_lock); in efx_mac_work()
1031 mutex_unlock(&efx->mac_lock); in efx_mac_work()
1060 mutex_lock(&efx->mac_lock); in efx_init_port()
1077 mutex_unlock(&efx->mac_lock); in efx_init_port()
1083 mutex_unlock(&efx->mac_lock); in efx_init_port()
1092 mutex_lock(&efx->mac_lock); in efx_start_port()
1098 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()
1140 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
1142 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
1156 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_info()
1158 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.c1262 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_push_multicast_hash()
1470 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_loopback_link_poll()
1899 mutex_lock(&efx->mac_lock); in falcon_b0_test_chip()
1909 mutex_unlock(&efx->mac_lock); in falcon_b0_test_chip()
2072 BUG_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_monitor()
Dnet_driver.h997 struct mutex mac_lock; member
Dsiena.c607 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.4.14/drivers/net/ethernet/smsc/
Dsmsc911x.c112 spinlock_t mac_lock; member
559 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_read()
583 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_read()
596 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_write()
624 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_write()
871 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
874 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
883 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
885 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
891 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.4.14/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()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dtx.c120 spin_lock(&dev->mac_lock); in mt7601u_tx_status()
122 spin_unlock(&dev->mac_lock); in mt7601u_tx_status()
Ddma.c115 spin_lock(&dev->mac_lock); in mt7601u_rx_process_seg()
117 spin_unlock(&dev->mac_lock); in mt7601u_rx_process_seg()
Dmac.c185 spin_lock_bh(&dev->mac_lock); in mt76_send_tx_status()
187 spin_unlock_bh(&dev->mac_lock); in mt76_send_tx_status()
Dmt7601u.h181 spinlock_t mac_lock; member
Dinit.c457 spin_lock_init(&dev->mac_lock); in mt7601u_alloc_device()