Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c85 down(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
88 up(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
212 sema_init(&hr_dev->cmd.poll_sem, 1); in hns_roce_cmd_init()
Dhns_roce_device.h569 struct semaphore poll_sem; member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
2503 sema_init(&priv->cmd.poll_sem, 1); in mlx4_cmd_init()
2659 down(&priv->cmd.poll_sem); in mlx4_cmd_use_events()
2687 up(&priv->cmd.poll_sem); in mlx4_cmd_use_polling()
Dmlx4.h631 struct semaphore poll_sem; member