Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_cmd.c83 down(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
85 up(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
199 sema_init(&hr_dev->cmd.poll_sem, 1); in hns_roce_cmd_init()
H A Dhns_roce_device.h558 struct semaphore poll_sem; member
/linux/drivers/infiniband/hw/mthca/
H A 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()
H A Dmthca_dev.h122 struct semaphore poll_sem; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
2503 sema_init(&priv->cmd.poll_sem, 1); in mlx4_cmd_init()
2658 down(&priv->cmd.poll_sem); in mlx4_cmd_use_events()
2686 up(&priv->cmd.poll_sem); in mlx4_cmd_use_polling()
H A Dmlx4.h634 struct semaphore poll_sem; member