/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_mac.c | 103 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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch-ethtool.c | 65 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() 206 mutex_lock(&port_priv->mac_lock); in dpaa2_switch_ethtool_get_stats() 211 mutex_unlock(&port_priv->mac_lock); in dpaa2_switch_ethtool_get_stats()
|
A D | dpaa2-ethtool.c | 90 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 D | dpaa2-eth.h | 619 struct mutex mac_lock; member 773 lockdep_assert_held(&priv->mac_lock); in dpaa2_eth_is_type_phy() 780 lockdep_assert_held(&priv->mac_lock); in dpaa2_eth_has_mac()
|
A D | dpaa2-switch.h | 165 struct mutex mac_lock; member
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
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() 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 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() 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() 759 mutex_lock(&efx->mac_lock); in efx_siena_selftest() [all …]
|
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() 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() 1322 mutex_lock(&efx->mac_lock); in efx_siena_ethtool_get_module_eeprom() [all …]
|
A 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() 1178 mutex_lock(&efx->mac_lock); in efx_pm_thaw() 1180 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A 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() 489 mutex_lock(&efx->mac_lock); in efx_start_port() 509 mutex_lock(&efx->mac_lock); in efx_stop_port() 550 mutex_lock(&efx->mac_lock); in efx_start_all() 650 mutex_lock(&efx->mac_lock); in efx_reconfigure_port() 718 mutex_lock(&efx->mac_lock); in efx_reset_down() [all …]
|
A 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() 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 D | ethtool_common.c | 195 mutex_lock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 240 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_pauseparam() 568 mutex_lock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 570 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_link_ksettings() 599 mutex_lock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 601 mutex_unlock(&efx->mac_lock); in efx_ethtool_set_link_ksettings() 611 mutex_lock(&efx->mac_lock); in efx_ethtool_get_fecparam() 613 mutex_unlock(&efx->mac_lock); in efx_ethtool_get_fecparam() 624 mutex_lock(&efx->mac_lock); in efx_ethtool_set_fecparam() 1321 mutex_lock(&efx->mac_lock); in efx_ethtool_get_module_eeprom() [all …]
|
A 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() 1212 mutex_lock(&efx->mac_lock); in efx_pm_thaw() 1214 mutex_unlock(&efx->mac_lock); in efx_pm_thaw()
|
A D | ef100_netdev.c | 176 mutex_lock(&efx->mac_lock); in ef100_net_open() 179 mutex_unlock(&efx->mac_lock); in ef100_net_open()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/ |
A 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() 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 D | efx.c | 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() 1049 mutex_lock(&efx->mac_lock); in ef4_init_port() 1081 mutex_lock(&efx->mac_lock); in ef4_start_port() 1101 mutex_lock(&efx->mac_lock); in ef4_stop_port() 1685 mutex_lock(&efx->mac_lock); in ef4_probe_filters() 2128 mutex_lock(&efx->mac_lock); in ef4_change_mtu() 2165 mutex_lock(&efx->mac_lock); in ef4_set_mac_address() 2353 mutex_lock(&efx->mac_lock); in ef4_reset_down() [all …]
|
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() 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()
|
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-6.3-rc2/drivers/net/ethernet/smsc/ |
A D | smsc911x.c | 100 spinlock_t mac_lock; member 1320 spin_lock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround() 1336 spin_unlock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround() 1620 spin_lock_irq(&pdata->mac_lock); in smsc911x_open() 1622 spin_unlock_irq(&pdata->mac_lock); in smsc911x_open() 1639 spin_lock_irq(&pdata->mac_lock); in smsc911x_open() 1729 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 …]
|
/linux-6.3-rc2/drivers/net/mdio/ |
A 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.3-rc2/drivers/net/ethernet/chelsio/cxgb/ |
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()
|
/linux-6.3-rc2/include/linux/mdio/ |
A D | mdio-xgene.h | 97 spinlock_t mac_lock; /* mac lock */ member
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/ |
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()
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A D | core.h | 106 struct mutex mac_lock; /* lock during wmac speicific ops */ member
|
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene/ |
A 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()
|