Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c148 down(&hr_dev->cmd.event_sem); in hns_roce_cmd_mbox_wait()
150 up(&hr_dev->cmd.event_sem); in hns_roce_cmd_mbox_wait()
221 sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds); in hns_roce_cmd_use_events()
Dhns_roce_device.h539 struct semaphore event_sem; member
/linux-6.1.9/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
/linux-6.1.9/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()
2649 sema_init(&priv->cmd.event_sem, priv->cmd.max_cmds); in mlx4_cmd_use_events()
2680 down(&priv->cmd.event_sem); in mlx4_cmd_use_polling()
Dmlx4.h633 struct semaphore event_sem; member