Lines Matching refs:vhcr_cmd
338 static int mlx4_comm_cmd_wait(struct mlx4_dev *dev, u8 vhcr_cmd, in mlx4_comm_cmd_wait() argument
357 if (mlx4_comm_cmd_post(dev, vhcr_cmd, param)) { in mlx4_comm_cmd_wait()
368 vhcr_cmd, op); in mlx4_comm_cmd_wait()
375 vhcr_cmd, context->fw_status); in mlx4_comm_cmd_wait()
1666 struct mlx4_vhcr_cmd *vhcr_cmd = in_vhcr ? in_vhcr : priv->mfunc.vhcr; in mlx4_master_process_vhcr() local
1698 vhcr->in_param = be64_to_cpu(vhcr_cmd->in_param); in mlx4_master_process_vhcr()
1699 vhcr->out_param = be64_to_cpu(vhcr_cmd->out_param); in mlx4_master_process_vhcr()
1700 vhcr->in_modifier = be32_to_cpu(vhcr_cmd->in_modifier); in mlx4_master_process_vhcr()
1701 vhcr->token = be16_to_cpu(vhcr_cmd->token); in mlx4_master_process_vhcr()
1702 vhcr->op = be16_to_cpu(vhcr_cmd->opcode) & 0xfff; in mlx4_master_process_vhcr()
1703 vhcr->op_modifier = (u8) (be16_to_cpu(vhcr_cmd->opcode) >> 12); in mlx4_master_process_vhcr()
1704 vhcr->e_bit = vhcr_cmd->flags & (1 << 6); in mlx4_master_process_vhcr()
1716 vhcr_cmd->status = CMD_STAT_BAD_PARAM; in mlx4_master_process_vhcr()
1725 vhcr_cmd->status = CMD_STAT_BAD_SIZE; in mlx4_master_process_vhcr()
1738 vhcr_cmd->status = CMD_STAT_INTERNAL_ERR; in mlx4_master_process_vhcr()
1747 vhcr_cmd->status = CMD_STAT_BAD_OP; in mlx4_master_process_vhcr()
1755 vhcr_cmd->status = CMD_STAT_BAD_SIZE; in mlx4_master_process_vhcr()
1766 vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); in mlx4_master_process_vhcr()
1780 vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); in mlx4_master_process_vhcr()
1796 vhcr_cmd->status = mlx4_errno_to_status(err); in mlx4_master_process_vhcr()
1802 if (cmd->has_outbox && !vhcr_cmd->status) { in mlx4_master_process_vhcr()