Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_mac.c103 spin_lock(&lan966x->mac_lock); in __lan966x_mac_learn()
105 spin_unlock(&lan966x->mac_lock); in __lan966x_mac_learn()
168 spin_lock(&lan966x->mac_lock); in lan966x_mac_forget()
170 spin_unlock(&lan966x->mac_lock); in lan966x_mac_forget()
278 spin_lock(&lan966x->mac_lock); in lan966x_mac_add_entry()
319 spin_lock(&lan966x->mac_lock); in lan966x_mac_del_entry()
343 spin_lock(&lan966x->mac_lock); in lan966x_mac_lag_replace_port_entry()
365 spin_lock(&lan966x->mac_lock); in lan966x_mac_lag_remove_port_entry()
385 spin_lock(&lan966x->mac_lock); in lan966x_mac_purge_entries()
433 spin_lock(&lan966x->mac_lock); in lan966x_mac_irq_process()
[all …]
/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch-ethtool.c65 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_get_link_ksettings()
70 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_get_link_ksettings()
74 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_get_link_ksettings()
109 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_set_link_ksettings()
114 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_set_link_ksettings()
118 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_set_link_ksettings()
205 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_ethtool_get_stats()
210 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_ethtool_get_stats()
A Ddpaa2-ethtool.c90 mutex_lock(&priv->mac_lock); in dpaa2_eth_nway_reset()
95 mutex_unlock(&priv->mac_lock); in dpaa2_eth_nway_reset()
107 mutex_lock(&priv->mac_lock); in dpaa2_eth_get_link_ksettings()
112 mutex_unlock(&priv->mac_lock); in dpaa2_eth_get_link_ksettings()
116 mutex_unlock(&priv->mac_lock); in dpaa2_eth_get_link_ksettings()
133 mutex_lock(&priv->mac_lock); in dpaa2_eth_set_link_ksettings()
139 mutex_unlock(&priv->mac_lock); in dpaa2_eth_set_link_ksettings()
150 mutex_lock(&priv->mac_lock); in dpaa2_eth_get_pauseparam()
158 mutex_unlock(&priv->mac_lock); in dpaa2_eth_get_pauseparam()
178 mutex_lock(&priv->mac_lock); in dpaa2_eth_set_pauseparam()
[all …]
A Ddpaa2-eth.h620 struct mutex mac_lock; member
774 lockdep_assert_held(&priv->mac_lock); in dpaa2_eth_is_type_phy()
781 lockdep_assert_held(&priv->mac_lock); in dpaa2_eth_has_mac()
A Ddpaa2-switch.c689 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_port_open()
704 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_port_open()
714 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_port_open()
725 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_port_stop()
734 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_port_stop()
1483 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_port_connect_mac()
1485 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_port_connect_mac()
1502 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_port_disconnect_mac()
1505 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_port_disconnect_mac()
3314 mutex_init(&port_priv->mac_lock); in dpaa2_switch_probe_port()
/drivers/net/ethernet/sfc/siena/
A Defx_common.c162 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()
488 mutex_lock(&efx->mac_lock); in efx_start_port()
508 mutex_lock(&efx->mac_lock); in efx_stop_port()
549 mutex_lock(&efx->mac_lock); in efx_siena_start_all()
658 mutex_lock(&efx->mac_lock); in efx_siena_reconfigure_port()
726 mutex_lock(&efx->mac_lock); in efx_siena_reset_down()
[all …]
A Dselftest.c264 mutex_lock(&efx->mac_lock); in efx_test_phy()
266 mutex_unlock(&efx->mac_lock); in efx_test_phy()
601 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
606 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
610 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
650 mutex_lock(&efx->mac_lock); in efx_test_loopbacks()
653 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks()
756 mutex_lock(&efx->mac_lock); in efx_siena_selftest()
760 mutex_unlock(&efx->mac_lock); in efx_siena_selftest()
771 mutex_lock(&efx->mac_lock); in efx_siena_selftest()
[all …]
A Dethtool_common.c146 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_set_pauseparam()
191 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_set_pauseparam()
561 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_get_link_ksettings()
563 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_get_link_ksettings()
593 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_set_link_ksettings()
595 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_set_link_ksettings()
605 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_get_fecparam()
607 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_get_fecparam()
618 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_set_fecparam()
1214 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_get_module_eeprom()
[all …]
A Defx.c153 mutex_lock(&efx->mac_lock); in efx_init_port()
162 mutex_unlock(&efx->mac_lock); in efx_init_port()
166 mutex_unlock(&efx->mac_lock); in efx_init_port()
1187 mutex_lock(&efx->mac_lock); in efx_pm_thaw()
1189 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
/drivers/net/ethernet/sfc/
A Defx_common.c158 mutex_lock(&efx->mac_lock); in efx_mac_work()
161 mutex_unlock(&efx->mac_lock); in efx_mac_work()
191 mutex_lock(&efx->mac_lock); in efx_set_mac_address()
193 mutex_unlock(&efx->mac_lock); in efx_set_mac_address()
304 mutex_lock(&efx->mac_lock); in efx_change_mtu()
307 mutex_unlock(&efx->mac_lock); in efx_change_mtu()
484 mutex_lock(&efx->mac_lock); in efx_start_port()
504 mutex_lock(&efx->mac_lock); in efx_stop_port()
547 mutex_lock(&efx->mac_lock); in efx_start_all()
699 mutex_lock(&efx->mac_lock); in efx_reset_down()
[all …]
A Dselftest.c263 mutex_lock(&efx->mac_lock); in efx_test_phy()
265 mutex_unlock(&efx->mac_lock); in efx_test_phy()
596 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
601 mutex_lock(&efx->mac_lock); in efx_wait_for_link()
605 mutex_unlock(&efx->mac_lock); in efx_wait_for_link()
645 mutex_lock(&efx->mac_lock); in efx_test_loopbacks()
648 mutex_unlock(&efx->mac_lock); in efx_test_loopbacks()
751 mutex_lock(&efx->mac_lock); in efx_selftest()
755 mutex_unlock(&efx->mac_lock); in efx_selftest()
766 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()
561 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings()
563 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings()
592 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings()
594 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings()
604 mutex_lock(&efx->mac_lock); in efx_ethtool_get_fecparam()
606 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_fecparam()
617 mutex_lock(&efx->mac_lock); in efx_ethtool_set_fecparam()
1311 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom()
[all …]
A Defx.c144 mutex_lock(&efx->mac_lock); in efx_init_port()
153 mutex_unlock(&efx->mac_lock); in efx_init_port()
157 mutex_unlock(&efx->mac_lock); in efx_init_port()
1306 mutex_lock(&efx->mac_lock); in efx_pm_thaw()
1308 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
A Def100_netdev.c216 mutex_lock(&efx->mac_lock); in ef100_net_open()
219 mutex_unlock(&efx->mac_lock); in ef100_net_open()
A Def10_sriov.c576 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()
/drivers/net/ethernet/smsc/
A Dsmsc911x.c99 spinlock_t mac_lock; member
1322 spin_lock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround()
1338 spin_unlock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround()
1622 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1624 spin_unlock_irq(&pdata->mac_lock); in smsc911x_open()
1641 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1731 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1946 spin_lock_irq(&pdata->mac_lock); in smsc911x_set_mac_address()
2192 spin_lock_init(&pdata->mac_lock); in smsc911x_init()
2299 spin_lock_irq(&pdata->mac_lock); in smsc911x_init()
[all …]
/drivers/net/ethernet/sfc/falcon/
A Dselftest.c266 mutex_lock(&efx->mac_lock); in ef4_test_phy()
268 mutex_unlock(&efx->mac_lock); in ef4_test_phy()
603 mutex_lock(&efx->mac_lock); in ef4_wait_for_link()
608 mutex_lock(&efx->mac_lock); in ef4_wait_for_link()
612 mutex_unlock(&efx->mac_lock); in ef4_wait_for_link()
652 mutex_lock(&efx->mac_lock); in ef4_test_loopbacks()
655 mutex_unlock(&efx->mac_lock); in ef4_test_loopbacks()
758 mutex_lock(&efx->mac_lock); in ef4_selftest()
762 mutex_unlock(&efx->mac_lock); in ef4_selftest()
773 mutex_lock(&efx->mac_lock); in ef4_selftest()
[all …]
A Defx.c1002 mutex_lock(&efx->mac_lock); in ef4_reconfigure_port()
1004 mutex_unlock(&efx->mac_lock); in ef4_reconfigure_port()
1016 mutex_lock(&efx->mac_lock); in ef4_mac_work()
1048 mutex_lock(&efx->mac_lock); in ef4_init_port()
1080 mutex_lock(&efx->mac_lock); in ef4_start_port()
1100 mutex_lock(&efx->mac_lock); in ef4_stop_port()
1684 mutex_lock(&efx->mac_lock); in ef4_probe_filters()
2119 mutex_lock(&efx->mac_lock); in ef4_change_mtu()
2156 mutex_lock(&efx->mac_lock); in ef4_set_mac_address()
2344 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()
1301 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom()
1303 mutex_unlock(&efx->mac_lock); in ef4_ethtool_get_module_eeprom()
1317 mutex_lock(&efx->mac_lock); in ef4_ethtool_get_module_info()
1319 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()
/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()
353 spin_lock_init(&pdata->mac_lock); in xgene_mdio_probe()
/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()
/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()
/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()
/drivers/net/wireless/quantenna/qtnfmac/
A Dcore.h105 struct mutex mac_lock; /* lock during wmac specific ops */ member

Completed in 91 milliseconds

12