Home
last modified time | relevance | path

Searched refs:poll_sem (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c69 down(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
71 up(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
184 sema_init(&hr_dev->cmd.poll_sem, 1); in hns_roce_cmd_init()
Dhns_roce_device.h535 struct semaphore poll_sem; member
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c344 down(&dev->cmd.poll_sem); in mthca_cmd_poll()
383 up(&dev->cmd.poll_sem); in mthca_cmd_poll()
525 sema_init(&dev->cmd.poll_sem, 1); in mthca_cmd_init()
587 down(&dev->cmd.poll_sem); in mthca_cmd_use_events()
606 up(&dev->cmd.poll_sem); in mthca_cmd_use_polling()
Dmthca_dev.h122 struct semaphore poll_sem; member
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c304 down(&priv->cmd.poll_sem); in mlx4_comm_cmd_poll()
334 up(&priv->cmd.poll_sem); in mlx4_comm_cmd_poll()
586 down(&priv->cmd.poll_sem); in mlx4_cmd_poll()
656 up(&priv->cmd.poll_sem); in mlx4_cmd_poll()
2502 sema_init(&priv->cmd.poll_sem, 1); in mlx4_cmd_init()
2657 down(&priv->cmd.poll_sem); in mlx4_cmd_use_events()
2685 up(&priv->cmd.poll_sem); in mlx4_cmd_use_polling()
Dmlx4.h632 struct semaphore poll_sem; member