Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c302 mutex_lock(&intf->parent->net_lock); in bcmasp_set_rxnfc()
315 mutex_unlock(&intf->parent->net_lock); in bcmasp_set_rxnfc()
326 mutex_lock(&intf->parent->net_lock); in bcmasp_get_rxnfc()
346 mutex_unlock(&intf->parent->net_lock); in bcmasp_get_rxnfc()
H A Dbcmasp.h410 struct mutex net_lock; member
H A Dbcmasp.c1261 mutex_init(&priv->net_lock); in bcmasp_probe()
/openbmc/linux/drivers/net/usb/
H A Dhso.c146 spinlock_t net_lock; member
706 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open()
710 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open()
1015 spin_lock_irqsave(&odev->net_lock, flags); in read_bulk_callback()
1019 spin_unlock_irqrestore(&odev->net_lock, flags); in read_bulk_callback()
2403 spin_lock_init(&hso_net->net_lock); in hso_net_init()