Home
last modified time | relevance | path

Searched refs:sync_msg_lock (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c261 down(&pf_to_mgmt->sync_msg_lock); in msg_to_mgmt_sync()
303 up(&pf_to_mgmt->sync_msg_lock); in msg_to_mgmt_sync()
328 down(&pf_to_mgmt->sync_msg_lock); in msg_to_mgmt_async()
333 up(&pf_to_mgmt->sync_msg_lock); in msg_to_mgmt_async()
634 sema_init(&pf_to_mgmt->sync_msg_lock, 1); in hinic_pf_to_mgmt_init()
Dhinic_hw_mgmt.h132 struct semaphore sync_msg_lock; member