Searched refs:event_sem (Results 1 – 6 of 6) sorted by relevance
166 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()
574 struct semaphore event_sem; member
418 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()
123 struct semaphore event_sem; member
346 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()
632 struct semaphore event_sem; member