Home
last modified time | relevance | path

Searched refs:mgmt_lock (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c473 down(&nic_dev->mgmt_lock); in hinic_open()
499 up(&nic_dev->mgmt_lock); in hinic_open()
505 up(&nic_dev->mgmt_lock); in hinic_open()
541 down(&nic_dev->mgmt_lock); in hinic_close()
549 up(&nic_dev->mgmt_lock); in hinic_close()
608 down(&nic_dev->mgmt_lock); in change_mac_addr()
627 up(&nic_dev->mgmt_lock); in change_mac_addr()
662 down(&nic_dev->mgmt_lock); in add_mac_addr()
674 up(&nic_dev->mgmt_lock); in add_mac_addr()
697 down(&nic_dev->mgmt_lock); in remove_mac_addr()
[all …]
Dhinic_dev.h87 struct semaphore mgmt_lock; member
/drivers/net/dsa/sja1105/
Dsja1105.h246 struct mutex mgmt_lock; member
Dsja1105_main.c2177 mutex_lock(&priv->mgmt_lock); in sja1105_static_config_reload()
2291 mutex_unlock(&priv->mgmt_lock); in sja1105_static_config_reload()
2666 mutex_lock(&priv->mgmt_lock); in sja1105_port_deferred_xmit()
2674 mutex_unlock(&priv->mgmt_lock); in sja1105_port_deferred_xmit()
3346 mutex_init(&priv->mgmt_lock); in sja1105_probe()