Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/ethernet/sfc/
Dselftest.c264 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 …]
Dethtool.c136 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 …]
Defx.c1049 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 …]
Def10_sriov.c585 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/
Dselftest.c264 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 …]
Defx.c990 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 …]
Dethtool.c125 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()
Dmdio_10g.c319 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/
Dsmsc911x.c113 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 …]
Dsmsc911x.h70 WARN_ON_SMP(!spin_is_locked(&pdata->mac_lock))
/Linux-v4.19/drivers/net/phy/
Dmdio-xgene.c48 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()
Dmdio-xgene.h105 spinlock_t mac_lock; /* mac lock */ member
/Linux-v4.19/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
/Linux-v4.19/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.c201 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/
Dtx.c53 spin_lock(&dev->mac_lock); in mt76x0_tx_status()
55 spin_unlock(&dev->mac_lock); in mt76x0_tx_status()
Ddma.c114 spin_lock(&dev->mac_lock); in mt76x0_rx_process_seg()
116 spin_unlock(&dev->mac_lock); in mt76x0_rx_process_seg()
Dmt76x0.h176 spinlock_t mac_lock; member
Dmac.c242 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/
Dcore.h133 struct mutex mac_lock; /* lock during wmac speicific ops */ member
Dcore.c345 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/
Dxgene_enet_hw.c286 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()
Dxgene_enet_main.h232 spinlock_t mac_lock; /* mac lock */ member

12