Searched refs:event_sem (Results 1 – 6 of 6) sorted by relevance
148 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()
539 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()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()
633 struct semaphore event_sem; member