| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A 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/drivers/net/ethernet/sfc/siena/ |
| H A 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 …]
|
| H A D | selftest.c | 264 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() 603 mutex_unlock(&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() [all …]
|
| H A 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() 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() 620 mutex_unlock(&efx->mac_lock); in efx_siena_ethtool_set_fecparam() [all …]
|
| H A D | efx.c | 153 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()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx_common.c | 158 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() 335 if (mutex_trylock(&efx->mac_lock)) { in efx_monitor() 338 mutex_unlock(&efx->mac_lock); in efx_monitor() 484 mutex_lock(&efx->mac_lock); in efx_start_port() 490 mutex_unlock(&efx->mac_lock); in efx_start_port() [all …]
|
| H A D | selftest.c | 263 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() 598 mutex_unlock(&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() [all …]
|
| H A 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() 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() 619 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_fecparam() [all …]
|
| H A D | efx.c | 144 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()
|
| H A D | ef100_netdev.c | 216 mutex_lock(&efx->mac_lock); in ef100_net_open() 219 mutex_unlock(&efx->mac_lock); in ef100_net_open()
|
| H A 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/drivers/net/ethernet/sfc/falcon/ |
| H A D | selftest.c | 266 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() 605 mutex_unlock(&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() [all …]
|
| H A D | efx.c | 977 WARN_ON(!mutex_is_locked(&efx->mac_lock)); in __ef4_reconfigure_port() 1002 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() 1019 mutex_unlock(&efx->mac_lock); in ef4_mac_work() 1048 mutex_lock(&efx->mac_lock); in ef4_init_port() 1065 mutex_unlock(&efx->mac_lock); in ef4_init_port() 1071 mutex_unlock(&efx->mac_lock); in ef4_init_port() 1080 mutex_lock(&efx->mac_lock); in ef4_start_port() 1086 mutex_unlock(&efx->mac_lock); in ef4_start_port() [all …]
|
| H A 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() 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()
|
| H A 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/drivers/net/ethernet/chelsio/cxgb/ |
| H A 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()
|
| H A D | common.h | 246 spinlock_t mac_lock; member
|
| /linux/include/linux/mdio/ |
| H A D | mdio-xgene.h | 97 spinlock_t mac_lock; /* mac lock */ member
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A 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()
|
| H A 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()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.h | 620 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()
|
| H A D | dpaa2-switch.h | 165 struct mutex mac_lock; member
|
| H A D | dpaa2-switch.c | 689 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()
|
| /linux/drivers/net/ethernet/smsc/ |
| H A D | smsc911x.h | 58 lockdep_assert_held(&pdata->mac_lock)
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_main.h | 220 spinlock_t mac_lock; /* mac lock */ member
|