Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/smsc/
Dsmsc911x.c100 spinlock_t mac_lock; member
560 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_read()
584 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_read()
597 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_write()
625 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_write()
872 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
875 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
884 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
886 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
892 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
[all …]
Dsmsc911x.h58 lockdep_assert_held(&pdata->mac_lock)
/drivers/net/ethernet/sfc/
Dselftest.c261 mutex_lock(&efx->mac_lock); in efx_test_phy()
263 mutex_unlock(&efx->mac_lock); in efx_test_phy()
591 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
593 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
596 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
600 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
640 mutex_lock(&efx->mac_lock); in efx_test_loopbacks()
643 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks()
746 mutex_lock(&efx->mac_lock); in efx_selftest()
750 mutex_unlock(&efx->mac_lock); in efx_selftest()
[all …]
Dethtool.c133 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings()
135 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings()
170 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings()
172 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings()
707 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam()
752 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam()
1486 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
1488 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
1502 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_info()
1504 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_info()
[all …]
Defx.c1046 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port()
1071 mutex_lock(&efx->mac_lock); in efx_reconfigure_port()
1073 mutex_unlock(&efx->mac_lock); in efx_reconfigure_port()
1085 mutex_lock(&efx->mac_lock); in efx_mac_work()
1088 mutex_unlock(&efx->mac_lock); in efx_mac_work()
1117 mutex_lock(&efx->mac_lock); in efx_init_port()
1134 mutex_unlock(&efx->mac_lock); in efx_init_port()
1140 mutex_unlock(&efx->mac_lock); in efx_init_port()
1149 mutex_lock(&efx->mac_lock); in efx_start_port()
1155 mutex_unlock(&efx->mac_lock); in efx_start_port()
[all …]
Def10_sriov.c582 mutex_lock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
658 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
671 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
/drivers/net/ethernet/sfc/falcon/
Dselftest.c261 mutex_lock(&efx->mac_lock); in ef4_test_phy()
263 mutex_unlock(&efx->mac_lock); in ef4_test_phy()
591 mutex_lock(&efx->mac_lock); in ef4_wait_for_link()
593 mutex_unlock(&efx->mac_lock); in ef4_wait_for_link()
596 mutex_lock(&efx->mac_lock); in ef4_wait_for_link()
600 mutex_unlock(&efx->mac_lock); in ef4_wait_for_link()
640 mutex_lock(&efx->mac_lock); in ef4_test_loopbacks()
643 mutex_unlock(&efx->mac_lock); in ef4_test_loopbacks()
746 mutex_lock(&efx->mac_lock); in ef4_selftest()
750 mutex_unlock(&efx->mac_lock); in ef4_selftest()
[all …]
Defx.c987 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __ef4_reconfigure_port()
1012 mutex_lock(&efx->mac_lock); in ef4_reconfigure_port()
1014 mutex_unlock(&efx->mac_lock); in ef4_reconfigure_port()
1026 mutex_lock(&efx->mac_lock); in ef4_mac_work()
1029 mutex_unlock(&efx->mac_lock); in ef4_mac_work()
1058 mutex_lock(&efx->mac_lock); in ef4_init_port()
1075 mutex_unlock(&efx->mac_lock); in ef4_init_port()
1081 mutex_unlock(&efx->mac_lock); in ef4_init_port()
1090 mutex_lock(&efx->mac_lock); in ef4_start_port()
1096 mutex_unlock(&efx->mac_lock); in ef4_start_port()
[all …]
Dethtool.c122 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_link_ksettings()
124 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_link_ksettings()
154 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_link_ksettings()
156 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_link_ksettings()
685 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_pauseparam()
730 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_pauseparam()
1290 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom()
1292 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom()
1306 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_info()
1308 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_info()
Dmdio_10g.c316 mutex_lock(&efx->mac_lock); in ef4_mdio_test_alive()
330 mutex_unlock(&efx->mac_lock); in ef4_mdio_test_alive()
Dfalcon.c1264 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_push_multicast_hash()
1473 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_loopback_link_poll()
1902 mutex_lock(&efx->mac_lock); in falcon_b0_test_chip()
1912 mutex_unlock(&efx->mac_lock); in falcon_b0_test_chip()
2075 BUG_ON(!mutex_is_locked(&efx->mac_lock)); in falcon_monitor()
Dnet_driver.h844 struct mutex mac_lock; member
/drivers/net/phy/
Dmdio-xgene.c36 spin_lock(&pdata->mac_lock); in xgene_mdio_rd_mac()
47 spin_unlock(&pdata->mac_lock); in xgene_mdio_rd_mac()
64 spin_lock(&pdata->mac_lock); in xgene_mdio_wr_mac()
76 spin_unlock(&pdata->mac_lock); in xgene_mdio_wr_mac()
365 spin_lock_init(&pdata->mac_lock); in xgene_mdio_probe()
Dmdio-xgene.h93 spinlock_t mac_lock; /* mac lock */ member
/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c40 spin_lock_bh(&adapter->mac_lock); in vsc_read()
60 spin_unlock_bh(&adapter->mac_lock); in vsc_read()
65 spin_lock_bh(&adapter->mac_lock); in vsc_write()
71 spin_unlock_bh(&adapter->mac_lock); in vsc_write()
Dcommon.h257 spinlock_t mac_lock; member
/drivers/net/wireless/mediatek/mt7601u/
Dtx.c112 spin_lock_bh(&dev->mac_lock); in mt7601u_tx_status()
114 spin_unlock_bh(&dev->mac_lock); in mt7601u_tx_status()
Ddma.c107 spin_lock(&dev->mac_lock); in mt7601u_rx_process_seg()
109 spin_unlock(&dev->mac_lock); in mt7601u_rx_process_seg()
Dmac.c193 spin_lock_bh(&dev->mac_lock); in mt76_send_tx_status()
195 spin_unlock_bh(&dev->mac_lock); in mt76_send_tx_status()
Dmt7601u.h177 spinlock_t mac_lock; member
Dinit.c451 spin_lock_init(&dev->mac_lock); in mt7601u_alloc_device()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c274 spin_lock(&pdata->mac_lock); in xgene_enet_wr_mac()
287 spin_unlock(&pdata->mac_lock); in xgene_enet_wr_mac()
333 spin_lock(&pdata->mac_lock); in xgene_enet_rd_mac()
345 spin_unlock(&pdata->mac_lock); in xgene_enet_rd_mac()
Dxgene_enet_main.h220 spinlock_t mac_lock; /* mac lock */ member
/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c352 mutex_lock(&mac->mac_lock); in qtnf_mac_scan_finish()
359 mutex_unlock(&mac->mac_lock); in qtnf_mac_scan_finish()
410 mutex_init(&mac->mac_lock); in qtnf_core_mac_alloc()
Dcore.h115 struct mutex mac_lock; /* lock during wmac speicific ops */ member

12