/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | selftest.c | 264 mutex_lock(&efx->mac_lock); in efx_test_phy() 266 mutex_unlock(&efx->mac_lock); in efx_test_phy() 594 mutex_lock(&efx->mac_lock); in efx_wait_for_link() 596 mutex_unlock(&efx->mac_lock); in efx_wait_for_link() 599 mutex_lock(&efx->mac_lock); in efx_wait_for_link() 603 mutex_unlock(&efx->mac_lock); in efx_wait_for_link() 643 mutex_lock(&efx->mac_lock); in efx_test_loopbacks() 646 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks() 749 mutex_lock(&efx->mac_lock); in efx_selftest() 753 mutex_unlock(&efx->mac_lock); in efx_selftest() [all …]
|
D | ethtool.c | 136 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 138 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 173 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 175 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 710 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 755 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 1489 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom() 1491 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_eeprom() 1505 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_info() 1507 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_module_info() [all …]
|
D | efx.c | 1049 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __efx_reconfigure_port() 1074 mutex_lock(&efx->mac_lock); in efx_reconfigure_port() 1076 mutex_unlock(&efx->mac_lock); in efx_reconfigure_port() 1088 mutex_lock(&efx->mac_lock); in efx_mac_work() 1091 mutex_unlock(&efx->mac_lock); in efx_mac_work() 1120 mutex_lock(&efx->mac_lock); in efx_init_port() 1137 mutex_unlock(&efx->mac_lock); in efx_init_port() 1143 mutex_unlock(&efx->mac_lock); in efx_init_port() 1152 mutex_lock(&efx->mac_lock); in efx_start_port() 1158 mutex_unlock(&efx->mac_lock); in efx_start_port() [all …]
|
D | ef10_sriov.c | 585 mutex_lock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan() 661 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan() 674 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
|
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | selftest.c | 264 mutex_lock(&efx->mac_lock); in ef4_test_phy() 266 mutex_unlock(&efx->mac_lock); in ef4_test_phy() 594 mutex_lock(&efx->mac_lock); in ef4_wait_for_link() 596 mutex_unlock(&efx->mac_lock); in ef4_wait_for_link() 599 mutex_lock(&efx->mac_lock); in ef4_wait_for_link() 603 mutex_unlock(&efx->mac_lock); in ef4_wait_for_link() 643 mutex_lock(&efx->mac_lock); in ef4_test_loopbacks() 646 mutex_unlock(&efx->mac_lock); in ef4_test_loopbacks() 749 mutex_lock(&efx->mac_lock); in ef4_selftest() 753 mutex_unlock(&efx->mac_lock); in ef4_selftest() [all …]
|
D | efx.c | 990 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __ef4_reconfigure_port() 1015 mutex_lock(&efx->mac_lock); in ef4_reconfigure_port() 1017 mutex_unlock(&efx->mac_lock); in ef4_reconfigure_port() 1029 mutex_lock(&efx->mac_lock); in ef4_mac_work() 1032 mutex_unlock(&efx->mac_lock); in ef4_mac_work() 1061 mutex_lock(&efx->mac_lock); in ef4_init_port() 1078 mutex_unlock(&efx->mac_lock); in ef4_init_port() 1084 mutex_unlock(&efx->mac_lock); in ef4_init_port() 1093 mutex_lock(&efx->mac_lock); in ef4_start_port() 1099 mutex_unlock(&efx->mac_lock); in ef4_start_port() [all …]
|
D | ethtool.c | 125 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_link_ksettings() 127 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_link_ksettings() 157 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_link_ksettings() 159 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_link_ksettings() 688 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_pauseparam() 733 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_pauseparam() 1293 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom() 1295 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom() 1309 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_info() 1311 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_info()
|
D | mdio_10g.c | 319 mutex_lock(&efx->mac_lock); in ef4_mdio_test_alive() 333 mutex_unlock(&efx->mac_lock); in ef4_mdio_test_alive()
|
/Linux-v4.19/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 113 spinlock_t mac_lock; member 573 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_read() 597 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_read() 610 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_write() 638 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_write() 885 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 888 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 897 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 899 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 905 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() [all …]
|
D | smsc911x.h | 70 WARN_ON_SMP(!spin_is_locked(&pdata->mac_lock))
|
/Linux-v4.19/drivers/net/phy/ |
D | mdio-xgene.c | 48 spin_lock(&pdata->mac_lock); in xgene_mdio_rd_mac() 59 spin_unlock(&pdata->mac_lock); in xgene_mdio_rd_mac() 76 spin_lock(&pdata->mac_lock); in xgene_mdio_wr_mac() 88 spin_unlock(&pdata->mac_lock); in xgene_mdio_wr_mac() 379 spin_lock_init(&pdata->mac_lock); in xgene_mdio_probe()
|
D | mdio-xgene.h | 105 spinlock_t mac_lock; /* mac lock */ member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 40 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()
|
D | common.h | 257 spinlock_t mac_lock; member
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 120 spin_lock(&dev->mac_lock); in mt7601u_tx_status() 122 spin_unlock(&dev->mac_lock); in mt7601u_tx_status()
|
D | dma.c | 115 spin_lock(&dev->mac_lock); in mt7601u_rx_process_seg() 117 spin_unlock(&dev->mac_lock); in mt7601u_rx_process_seg()
|
D | mac.c | 201 spin_lock_bh(&dev->mac_lock); in mt76_send_tx_status() 203 spin_unlock_bh(&dev->mac_lock); in mt76_send_tx_status()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | tx.c | 53 spin_lock(&dev->mac_lock); in mt76x0_tx_status() 55 spin_unlock(&dev->mac_lock); in mt76x0_tx_status()
|
D | dma.c | 114 spin_lock(&dev->mac_lock); in mt76x0_rx_process_seg() 116 spin_unlock(&dev->mac_lock); in mt76x0_rx_process_seg()
|
D | mt76x0.h | 176 spinlock_t mac_lock; member
|
D | mac.c | 242 spin_lock_bh(&dev->mac_lock); in mt76x0_send_tx_status() 244 spin_unlock_bh(&dev->mac_lock); in mt76x0_send_tx_status()
|
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.h | 133 struct mutex mac_lock; /* lock during wmac speicific ops */ member
|
D | core.c | 345 mutex_lock(&mac->mac_lock); in qtnf_mac_scan_finish() 352 mutex_unlock(&mac->mac_lock); in qtnf_mac_scan_finish() 392 mutex_init(&mac->mac_lock); in qtnf_core_mac_alloc()
|
/Linux-v4.19/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 286 spin_lock(&pdata->mac_lock); in xgene_enet_wr_mac() 299 spin_unlock(&pdata->mac_lock); in xgene_enet_wr_mac() 345 spin_lock(&pdata->mac_lock); in xgene_enet_rd_mac() 357 spin_unlock(&pdata->mac_lock); in xgene_enet_rd_mac()
|
D | xgene_enet_main.h | 232 spinlock_t mac_lock; /* mac lock */ member
|