Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/sfc/
A Defx_common.c161 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()
487 mutex_lock(&efx->mac_lock); in efx_start_port()
507 mutex_lock(&efx->mac_lock); in efx_stop_port()
548 mutex_lock(&efx->mac_lock); in efx_start_all()
648 mutex_lock(&efx->mac_lock); in efx_reconfigure_port()
716 mutex_lock(&efx->mac_lock); in efx_reset_down()
[all …]
A Dselftest.c259 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()
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()
759 mutex_lock(&efx->mac_lock); in efx_selftest()
[all …]
A Dethtool_common.c194 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam()
239 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam()
567 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings()
569 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings()
598 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings()
600 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings()
610 mutex_lock(&efx->mac_lock); in efx_ethtool_get_fecparam()
612 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_fecparam()
623 mutex_lock(&efx->mac_lock); in efx_ethtool_set_fecparam()
1320 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
[all …]
A Def100_netdev.c170 mutex_lock(&efx->mac_lock); in ef100_net_open()
173 mutex_unlock(&efx->mac_lock); in ef100_net_open()
A Defx.c150 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()
1182 mutex_lock(&efx->mac_lock); in efx_pm_thaw()
1184 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
A Def10_sriov.c578 mutex_lock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
654 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
667 mutex_unlock(&vf->efx->mac_lock); in efx_ef10_sriov_set_vf_vlan()
A Drx_common.c808 mutex_lock(&efx->mac_lock); in efx_probe_filters()
847 mutex_unlock(&efx->mac_lock); in efx_probe_filters()
/linux/drivers/net/ethernet/smsc/
A Dsmsc911x.c100 spinlock_t mac_lock; member
1318 spin_lock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround()
1334 spin_unlock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround()
1618 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1620 spin_unlock_irq(&pdata->mac_lock); in smsc911x_open()
1637 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1727 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1944 spin_lock_irq(&pdata->mac_lock); in smsc911x_set_mac_address()
2190 spin_lock_init(&pdata->mac_lock); in smsc911x_init()
2297 spin_lock_irq(&pdata->mac_lock); in smsc911x_init()
[all …]
A Dsmsc911x.h58 lockdep_assert_held(&pdata->mac_lock)
/linux/drivers/net/ethernet/sfc/falcon/
A 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()
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()
761 mutex_lock(&efx->mac_lock); in ef4_selftest()
[all …]
A Defx.c1008 mutex_lock(&efx->mac_lock); in ef4_reconfigure_port()
1010 mutex_unlock(&efx->mac_lock); in ef4_reconfigure_port()
1022 mutex_lock(&efx->mac_lock); in ef4_mac_work()
1054 mutex_lock(&efx->mac_lock); in ef4_init_port()
1086 mutex_lock(&efx->mac_lock); in ef4_start_port()
1106 mutex_lock(&efx->mac_lock); in ef4_stop_port()
1690 mutex_lock(&efx->mac_lock); in ef4_probe_filters()
2134 mutex_lock(&efx->mac_lock); in ef4_change_mtu()
2171 mutex_lock(&efx->mac_lock); in ef4_set_mac_address()
2359 mutex_lock(&efx->mac_lock); in ef4_reset_down()
[all …]
A 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()
686 mutex_lock(&efx->mac_lock); in ef4_ethtool_set_pauseparam()
731 mutex_unlock(&efx->mac_lock); in ef4_ethtool_set_pauseparam()
1291 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom()
1293 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom()
1307 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_info()
1309 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_info()
A Dmdio_10g.c316 mutex_lock(&efx->mac_lock); in ef4_mdio_test_alive()
330 mutex_unlock(&efx->mac_lock); in ef4_mdio_test_alive()
A 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()
/linux/drivers/net/mdio/
A 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()
/linux/drivers/net/ethernet/chelsio/cxgb/
A 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()
A Dcommon.h255 spinlock_t mac_lock; member
/linux/drivers/net/wireless/mediatek/mt7601u/
A Dtx.c112 spin_lock_bh(&dev->mac_lock); in mt7601u_tx_status()
114 spin_unlock_bh(&dev->mac_lock); in mt7601u_tx_status()
A 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()
A Dmt7601u.h177 spinlock_t mac_lock; member
/linux/include/linux/mdio/
A Dmdio-xgene.h93 spinlock_t mac_lock; /* mac lock */ member
/linux/drivers/net/ethernet/apm/xgene/
A 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()
A Dxgene_enet_main.h219 spinlock_t mac_lock; /* mac lock */ member
/linux/drivers/net/wireless/quantenna/qtnfmac/
A Dcore.h106 struct mutex mac_lock; /* lock during wmac speicific ops */ member
A Dcore.c366 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()

Completed in 59 milliseconds

12