| /Linux-v5.10/drivers/net/ethernet/sfc/ |
| D | efx_common.c | 161 mutex_lock(&efx->mac_lock); in efx_mac_work() 164 mutex_unlock(&efx->mac_lock); in efx_mac_work() 194 mutex_lock(&efx->mac_lock); in efx_set_mac_address() 196 mutex_unlock(&efx->mac_lock); in efx_set_mac_address() 307 mutex_lock(&efx->mac_lock); in efx_change_mtu() 310 mutex_unlock(&efx->mac_lock); in efx_change_mtu() 338 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor() 341 mutex_unlock(&efx->mac_lock); in efx_monitor() 487 mutex_lock(&efx->mac_lock); in efx_start_port() 493 mutex_unlock(&efx->mac_lock); in efx_start_port() [all …]
|
| D | selftest.c | 259 mutex_lock(&efx->mac_lock); in efx_test_phy() 261 mutex_unlock(&efx->mac_lock); in efx_test_phy() 589 mutex_lock(&efx->mac_lock); in efx_wait_for_link() 591 mutex_unlock(&efx->mac_lock); in efx_wait_for_link() 594 mutex_lock(&efx->mac_lock); in efx_wait_for_link() 598 mutex_unlock(&efx->mac_lock); in efx_wait_for_link() 638 mutex_lock(&efx->mac_lock); in efx_test_loopbacks() 641 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks() 744 mutex_lock(&efx->mac_lock); in efx_selftest() 748 mutex_unlock(&efx->mac_lock); in efx_selftest() [all …]
|
| D | ethtool_common.c | 194 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 239 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 568 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 570 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 604 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 606 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 616 mutex_lock(&efx->mac_lock); in efx_ethtool_get_fecparam() 618 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_fecparam() 629 mutex_lock(&efx->mac_lock); in efx_ethtool_set_fecparam() 631 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_fecparam() [all …]
|
| D | ef100_netdev.c | 170 mutex_lock(&efx->mac_lock); in ef100_net_open() 173 mutex_unlock(&efx->mac_lock); in ef100_net_open()
|
| D | efx.c | 150 mutex_lock(&efx->mac_lock); in efx_init_port() 159 mutex_unlock(&efx->mac_lock); in efx_init_port() 163 mutex_unlock(&efx->mac_lock); in efx_init_port() 1225 mutex_lock(&efx->mac_lock); in efx_pm_thaw() 1227 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
|
| D | ef10_sriov.c | 580 mutex_lock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan() 656 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan() 669 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
|
| /Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
| D | selftest.c | 261 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 …]
|
| D | efx.c | 987 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 …]
|
| D | ethtool.c | 122 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() 682 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_pauseparam() 727 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_pauseparam() 1287 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom() 1289 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom() 1303 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_info() 1305 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_info()
|
| D | mdio_10g.c | 316 mutex_lock(&efx->mac_lock); in ef4_mdio_test_alive() 330 mutex_unlock(&efx->mac_lock); in ef4_mdio_test_alive()
|
| D | falcon.c | 1264 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()
|
| /Linux-v5.10/drivers/net/ethernet/smsc/ |
| D | smsc911x.c | 100 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 …]
|
| D | smsc911x.h | 58 lockdep_assert_held(&pdata->mac_lock)
|
| /Linux-v5.10/drivers/net/mdio/ |
| D | mdio-xgene.c | 36 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()
|
| /Linux-v5.10/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 | 256 spinlock_t mac_lock; member
|
| /Linux-v5.10/include/linux/mdio/ |
| D | mdio-xgene.h | 93 spinlock_t mac_lock; /* mac lock */ member
|
| /Linux-v5.10/drivers/net/wireless/mediatek/mt7601u/ |
| D | tx.c | 112 spin_lock_bh(&dev->mac_lock); in mt7601u_tx_status() 114 spin_unlock_bh(&dev->mac_lock); in mt7601u_tx_status()
|
| D | dma.c | 107 spin_lock(&dev->mac_lock); in mt7601u_rx_process_seg() 109 spin_unlock(&dev->mac_lock); in mt7601u_rx_process_seg()
|
| D | mac.c | 193 spin_lock_bh(&dev->mac_lock); in mt76_send_tx_status() 195 spin_unlock_bh(&dev->mac_lock); in mt76_send_tx_status()
|
| D | mt7601u.h | 177 spinlock_t mac_lock; member
|
| /Linux-v5.10/drivers/net/wireless/quantenna/qtnfmac/ |
| D | core.h | 108 struct mutex mac_lock; /* lock during wmac speicific ops */ member
|
| D | core.c | 367 mutex_lock(&mac->mac_lock); in qtnf_mac_scan_finish() 374 mutex_unlock(&mac->mac_lock); in qtnf_mac_scan_finish() 438 mutex_init(&mac->mac_lock); in qtnf_core_mac_alloc()
|
| /Linux-v5.10/drivers/net/ethernet/apm/xgene/ |
| D | xgene_enet_hw.c | 274 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()
|
| D | xgene_enet_main.h | 219 spinlock_t mac_lock; /* mac lock */ member
|