/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_mac.c | 79 lockdep_assert_held(&lan966x->mac_lock); in __lan966x_mac_learn_locked() 103 spin_lock(&lan966x->mac_lock); in __lan966x_mac_learn() 105 spin_unlock(&lan966x->mac_lock); in __lan966x_mac_learn() 149 lockdep_assert_held(&lan966x->mac_lock); in lan966x_mac_forget_locked() 168 spin_lock(&lan966x->mac_lock); in lan966x_mac_forget() 170 spin_unlock(&lan966x->mac_lock); in lan966x_mac_forget() 199 spin_lock_init(&lan966x->mac_lock); in lan966x_mac_init() 278 spin_lock(&lan966x->mac_lock); in lan966x_mac_add_entry() 280 spin_unlock(&lan966x->mac_lock); in lan966x_mac_add_entry() 292 spin_unlock(&lan966x->mac_lock); in lan966x_mac_add_entry() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | efx_common.c | 162 mutex_lock(&efx->mac_lock); in efx_mac_work() 165 mutex_unlock(&efx->mac_lock); in efx_mac_work() 195 mutex_lock(&efx->mac_lock); in efx_siena_set_mac_address() 197 mutex_unlock(&efx->mac_lock); in efx_siena_set_mac_address() 308 mutex_lock(&efx->mac_lock); in efx_siena_change_mtu() 311 mutex_unlock(&efx->mac_lock); in efx_siena_change_mtu() 339 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor() 342 mutex_unlock(&efx->mac_lock); in efx_monitor() 488 mutex_lock(&efx->mac_lock); in efx_start_port() 494 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_siena_selftest() 748 mutex_unlock(&efx->mac_lock); in efx_siena_selftest() [all …]
|
D | ethtool_common.c | 146 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_set_pauseparam() 191 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_set_pauseparam() 567 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_get_link_ksettings() 569 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_get_link_ksettings() 599 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_set_link_ksettings() 601 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_set_link_ksettings() 611 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_get_fecparam() 613 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_get_fecparam() 624 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_set_fecparam() 626 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_set_fecparam() [all …]
|
D | efx.c | 154 mutex_lock(&efx->mac_lock); in efx_init_port() 163 mutex_unlock(&efx->mac_lock); in efx_init_port() 167 mutex_unlock(&efx->mac_lock); in efx_init_port() 1174 mutex_lock(&efx->mac_lock); in efx_pm_thaw() 1176 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | efx_common.c | 163 mutex_lock(&efx->mac_lock); in efx_mac_work() 166 mutex_unlock(&efx->mac_lock); in efx_mac_work() 196 mutex_lock(&efx->mac_lock); in efx_set_mac_address() 198 mutex_unlock(&efx->mac_lock); in efx_set_mac_address() 309 mutex_lock(&efx->mac_lock); in efx_change_mtu() 312 mutex_unlock(&efx->mac_lock); in efx_change_mtu() 340 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor() 343 mutex_unlock(&efx->mac_lock); in efx_monitor() 489 mutex_lock(&efx->mac_lock); in efx_start_port() 495 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 | 203 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 248 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 605 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 607 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 636 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 638 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 648 mutex_lock(&efx->mac_lock); in efx_ethtool_get_fecparam() 650 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_fecparam() 661 mutex_lock(&efx->mac_lock); in efx_ethtool_set_fecparam() 663 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_fecparam() [all …]
|
D | efx.c | 143 mutex_lock(&efx->mac_lock); in efx_init_port() 152 mutex_unlock(&efx->mac_lock); in efx_init_port() 156 mutex_unlock(&efx->mac_lock); in efx_init_port() 1205 mutex_lock(&efx->mac_lock); in efx_pm_thaw() 1207 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
|
D | ef100_netdev.c | 175 mutex_lock(&efx->mac_lock); in ef100_net_open() 178 mutex_unlock(&efx->mac_lock); in ef100_net_open()
|
D | ef10_sriov.c | 576 mutex_lock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan() 650 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan() 662 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
|
/linux-6.1.9/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 | 978 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __ef4_reconfigure_port() 1003 mutex_lock(&efx->mac_lock); in ef4_reconfigure_port() 1005 mutex_unlock(&efx->mac_lock); in ef4_reconfigure_port() 1017 mutex_lock(&efx->mac_lock); in ef4_mac_work() 1020 mutex_unlock(&efx->mac_lock); in ef4_mac_work() 1049 mutex_lock(&efx->mac_lock); in ef4_init_port() 1066 mutex_unlock(&efx->mac_lock); in ef4_init_port() 1072 mutex_unlock(&efx->mac_lock); in ef4_init_port() 1081 mutex_lock(&efx->mac_lock); in ef4_start_port() 1087 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() 692 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_pauseparam() 737 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_pauseparam() 1297 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom() 1299 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom() 1313 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_info() 1315 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()
|
/linux-6.1.9/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 100 spinlock_t mac_lock; member 561 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_read() 585 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_read() 600 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_write() 628 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_write() 876 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 879 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 888 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 890 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() 896 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest() [all …]
|
D | smsc911x.h | 58 lockdep_assert_held(&pdata->mac_lock)
|
/linux-6.1.9/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() 366 spin_lock_init(&pdata->mac_lock); in xgene_mdio_probe()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/linux/mdio/ |
D | mdio-xgene.h | 97 spinlock_t mac_lock; /* mac lock */ member
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.h | 106 struct mutex mac_lock; /* lock during wmac speicific ops */ member
|
D | core.c | 366 mutex_lock(&mac->mac_lock); in qtnf_mac_scan_finish() 373 mutex_unlock(&mac->mac_lock); in qtnf_mac_scan_finish() 437 mutex_init(&mac->mac_lock); in qtnf_core_mac_alloc()
|
/linux-6.1.9/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
|