Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c166 down(&hr_dev->cmd.event_sem); in hns_roce_cmd_mbox_wait()
169 up(&hr_dev->cmd.event_sem); in hns_roce_cmd_mbox_wait()
248 sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds); in hns_roce_cmd_use_events()
Dhns_roce_device.h574 struct semaphore event_sem; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_cmd.c418 down(&dev->cmd.event_sem); in mthca_cmd_wait()
464 up(&dev->cmd.event_sem); in mthca_cmd_wait()
576 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events()
602 down(&dev->cmd.event_sem); in mthca_cmd_use_polling()
Dmthca_dev.h123 struct semaphore event_sem; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c346 down(&cmd->event_sem); in mlx4_comm_cmd_wait()
403 up(&cmd->event_sem); in mlx4_comm_cmd_wait()
686 down(&cmd->event_sem); in mlx4_cmd_wait()
770 up(&cmd->event_sem); in mlx4_cmd_wait()
2651 sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds); in mlx4_cmd_use_events()
2682 down(&priv->cmd.event_sem); in mlx4_cmd_use_polling()
Dmlx4.h632 struct semaphore event_sem; member