vhcr 516 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vhcr_cmd *vhcr = priv->mfunc.vhcr; vhcr 521 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_param = cpu_to_be64(in_param); vhcr 522 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; vhcr 523 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier = cpu_to_be32(in_modifier); vhcr 524 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); vhcr 525 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->token = cpu_to_be16(CMD_POLL_TOKEN); vhcr 526 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->status = 0; vhcr 527 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->flags = !!(priv->cmd.use_events) << 6; vhcr 530 drivers/net/ethernet/mellanox/mlx4/cmd.c ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr); vhcr 535 drivers/net/ethernet/mellanox/mlx4/cmd.c be64_to_cpu(vhcr->out_param); vhcr 539 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->status = CMD_STAT_BAD_PARAM; vhcr 542 drivers/net/ethernet/mellanox/mlx4/cmd.c ret = mlx4_status_to_errno(vhcr->status); vhcr 554 drivers/net/ethernet/mellanox/mlx4/cmd.c be64_to_cpu(vhcr->out_param); vhcr 558 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->status = CMD_STAT_BAD_PARAM; vhcr 561 drivers/net/ethernet/mellanox/mlx4/cmd.c ret = mlx4_status_to_errno(vhcr->status); vhcr 892 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vhcr *vhcr, vhcr 911 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_port = vhcr->in_modifier; vhcr 915 drivers/net/ethernet/mellanox/mlx4/cmd.c opcode_modifier = vhcr->op_modifier & ~0x8; /* clear netw view bit */ vhcr 916 drivers/net/ethernet/mellanox/mlx4/cmd.c network_view = !!(vhcr->op_modifier & 0x8); vhcr 951 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, MLX4_CMD_TIME_CLASS_C, MLX4_CMD_NATIVE); vhcr 974 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier, vhcr 976 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, vhcr 995 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, MLX4_CMD_TIME_CLASS_C, MLX4_CMD_NATIVE); vhcr 1021 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier, opcode_modifier, vhcr 1022 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, MLX4_CMD_TIME_CLASS_C, MLX4_CMD_NATIVE); vhcr 1026 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vhcr *vhcr, vhcr 1035 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vhcr *vhcr, vhcr 1044 drivers/net/ethernet/mellanox/mlx4/cmd.c in_param = cmd->has_inbox ? (u64) inbox->dma : vhcr->in_param; vhcr 1045 drivers/net/ethernet/mellanox/mlx4/cmd.c out_param = cmd->has_outbox ? (u64) outbox->dma : vhcr->out_param; vhcr 1052 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier, vhcr->op_modifier, vhcr->op, vhcr 1056 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->out_param = out_param; vhcr 1666 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vhcr_cmd *vhcr_cmd = in_vhcr ? in_vhcr : priv->mfunc.vhcr; vhcr 1667 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_vhcr *vhcr; vhcr 1677 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr = kzalloc(sizeof(struct mlx4_vhcr), GFP_KERNEL); vhcr 1678 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!vhcr) vhcr 1692 drivers/net/ethernet/mellanox/mlx4/cmd.c kfree(vhcr); vhcr 1698 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_param = be64_to_cpu(vhcr_cmd->in_param); vhcr 1699 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->out_param = be64_to_cpu(vhcr_cmd->out_param); vhcr 1700 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier = be32_to_cpu(vhcr_cmd->in_modifier); vhcr 1701 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->token = be16_to_cpu(vhcr_cmd->token); vhcr 1702 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op = be16_to_cpu(vhcr_cmd->opcode) & 0xfff; vhcr 1703 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op_modifier = (u8) (be16_to_cpu(vhcr_cmd->opcode) >> 12); vhcr 1704 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->e_bit = vhcr_cmd->flags & (1 << 6); vhcr 1708 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vhcr->op == cmd_info[i].opcode) { vhcr 1715 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, slave); vhcr 1722 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_param &= INBOX_MASK; vhcr 1731 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_param, vhcr 1744 drivers/net/ethernet/mellanox/mlx4/cmd.c if (cmd->verify && cmd->verify(dev, slave, vhcr, inbox)) { vhcr 1746 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, slave, vhcr->in_modifier); vhcr 1763 drivers/net/ethernet/mellanox/mlx4/cmd.c err = cmd->wrapper(dev, slave, vhcr, inbox, outbox, vhcr 1766 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); vhcr 1769 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_param; vhcr 1771 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->out_param; vhcr 1773 drivers/net/ethernet/mellanox/mlx4/cmd.c cmd->out_is_imm, vhcr->in_modifier, vhcr 1774 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op_modifier, vhcr->op, vhcr 1779 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->out_param = out_param; vhcr 1780 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); vhcr 1786 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vhcr->op == MLX4_CMD_ALLOC_RES && vhcr 1787 drivers/net/ethernet/mellanox/mlx4/cmd.c (vhcr->in_modifier & 0xff) == RES_COUNTER && vhcr 1794 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, slave, vhcr->errno, err); vhcr 1804 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->out_param, vhcr 1828 drivers/net/ethernet/mellanox/mlx4/cmd.c else if (vhcr->e_bit && vhcr 1835 drivers/net/ethernet/mellanox/mlx4/cmd.c kfree(vhcr); vhcr 2489 drivers/net/ethernet/mellanox/mlx4/cmd.c priv->mfunc.vhcr, vhcr 2491 drivers/net/ethernet/mellanox/mlx4/cmd.c priv->mfunc.vhcr = NULL; vhcr 2520 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_is_mfunc(dev) && !priv->mfunc.vhcr) { vhcr 2521 drivers/net/ethernet/mellanox/mlx4/cmd.c priv->mfunc.vhcr = dma_alloc_coherent(&dev->persist->pdev->dev, vhcr 2525 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!priv->mfunc.vhcr) vhcr 2609 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_is_mfunc(dev) && priv->mfunc.vhcr && vhcr 2612 drivers/net/ethernet/mellanox/mlx4/cmd.c priv->mfunc.vhcr, priv->mfunc.vhcr_dma); vhcr 2613 drivers/net/ethernet/mellanox/mlx4/cmd.c priv->mfunc.vhcr = NULL; vhcr 875 drivers/net/ethernet/mellanox/mlx4/eq.c struct mlx4_vhcr *vhcr, vhcr 883 drivers/net/ethernet/mellanox/mlx4/eq.c u32 in_modifier = vhcr->in_modifier; vhcr 885 drivers/net/ethernet/mellanox/mlx4/eq.c u64 in_param = vhcr->in_param; vhcr 326 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 394 drivers/net/ethernet/mellanox/mlx4/fw.c if (vhcr->op_modifier == 1) { vhcr 398 drivers/net/ethernet/mellanox/mlx4/fw.c dev, slave, vhcr->in_modifier); vhcr 404 drivers/net/ethernet/mellanox/mlx4/fw.c vhcr->in_modifier = converted_port; vhcr 406 drivers/net/ethernet/mellanox/mlx4/fw.c field = vhcr->in_modifier - vhcr 410 drivers/net/ethernet/mellanox/mlx4/fw.c port = vhcr->in_modifier; vhcr 435 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier], vhcr 450 drivers/net/ethernet/mellanox/mlx4/fw.c } else if (vhcr->op_modifier == 0) { vhcr 492 drivers/net/ethernet/mellanox/mlx4/fw.c size = vhcr->in_modifier & vhcr 500 drivers/net/ethernet/mellanox/mlx4/fw.c size = vhcr->in_modifier & vhcr 530 drivers/net/ethernet/mellanox/mlx4/fw.c if (vhcr->in_modifier & QUERY_FUNC_CAP_SUPPORTS_VST_QINQ) vhcr 1270 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 1404 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 1416 drivers/net/ethernet/mellanox/mlx4/fw.c vhcr->in_modifier & 0xFF); vhcr 1429 drivers/net/ethernet/mellanox/mlx4/fw.c if (vhcr->op_modifier || vhcr->in_modifier & ~0xFF) vhcr 1432 drivers/net/ethernet/mellanox/mlx4/fw.c vhcr->in_modifier = port; vhcr 1434 drivers/net/ethernet/mellanox/mlx4/fw.c err = mlx4_cmd_box(dev, 0, outbox->dma, vhcr->in_modifier, 0, vhcr 1439 drivers/net/ethernet/mellanox/mlx4/fw.c def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac; vhcr 1449 drivers/net/ethernet/mellanox/mlx4/fw.c port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3); vhcr 1451 drivers/net/ethernet/mellanox/mlx4/fw.c admin_link_state = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.link_state; vhcr 1469 drivers/net/ethernet/mellanox/mlx4/fw.c if (dev->caps.port_type[vhcr->in_modifier] == MLX4_PORT_TYPE_ETH) vhcr 1476 drivers/net/ethernet/mellanox/mlx4/fw.c short_field = dev->caps.pkey_table_len[vhcr->in_modifier]; vhcr 1741 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 2251 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 2257 drivers/net/ethernet/mellanox/mlx4/fw.c int port = mlx4_slave_convert_port(dev, slave, vhcr->in_modifier); vhcr 2349 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 2355 drivers/net/ethernet/mellanox/mlx4/fw.c int port = mlx4_slave_convert_port(dev, slave, vhcr->in_modifier); vhcr 2991 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_vhcr *vhcr, vhcr 3013 drivers/net/ethernet/mellanox/mlx4/fw.c return mlx4_cmd_box(dev, inbox->dma, outbox->dma, vhcr->in_modifier, vhcr 235 drivers/net/ethernet/mellanox/mlx4/fw.h struct mlx4_vhcr *vhcr, vhcr 1559 drivers/net/ethernet/mellanox/mlx4/mcg.c struct mlx4_vhcr *vhcr, vhcr 1564 drivers/net/ethernet/mellanox/mlx4/mcg.c u32 qpn = (u32) vhcr->in_param & 0xffffffff; vhcr 1565 drivers/net/ethernet/mellanox/mlx4/mcg.c int port = mlx4_slave_convert_port(dev, slave, vhcr->in_param >> 62); vhcr 1566 drivers/net/ethernet/mellanox/mlx4/mcg.c enum mlx4_steer_type steer = vhcr->in_modifier; vhcr 1575 drivers/net/ethernet/mellanox/mlx4/mcg.c if (vhcr->op_modifier) vhcr 203 drivers/net/ethernet/mellanox/mlx4/mlx4.h int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, vhcr 205 drivers/net/ethernet/mellanox/mlx4/mlx4.h int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, vhcr 610 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr_cmd *vhcr; vhcr 987 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 992 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 997 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1002 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1007 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1012 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1017 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1022 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1064 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1069 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1074 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, vhcr 1078 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1083 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1088 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1093 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1098 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1103 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1108 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1113 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1118 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1123 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1128 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1133 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1138 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1143 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1148 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1153 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1158 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1163 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1168 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1173 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1178 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1183 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1188 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1193 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1270 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1275 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1280 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1285 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1290 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1295 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1305 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1311 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1317 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1331 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1336 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1343 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1348 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1353 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1358 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1363 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1368 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_vhcr *vhcr, vhcr 1541 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_vhcr *vhcr, vhcr 1547 drivers/net/ethernet/mellanox/mlx4/port.c dev, slave, vhcr->in_modifier & 0xFF); vhcr 1552 drivers/net/ethernet/mellanox/mlx4/port.c vhcr->in_modifier = (vhcr->in_modifier & ~0xFF) | vhcr 1555 drivers/net/ethernet/mellanox/mlx4/port.c return mlx4_common_set_port(dev, slave, vhcr->in_modifier, vhcr 1556 drivers/net/ethernet/mellanox/mlx4/port.c vhcr->op_modifier, inbox); vhcr 1818 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_vhcr *vhcr, vhcr 1838 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_vhcr *vhcr, vhcr 1849 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_vhcr *vhcr, vhcr 2295 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 2301 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int alop = vhcr->op_modifier; vhcr 2303 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (vhcr->in_modifier & 0xFF) { vhcr 2305 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2306 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2310 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2311 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2315 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2316 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2320 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2321 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2325 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = srq_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2326 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2330 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mac_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2331 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param, vhcr 2332 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c (vhcr->in_modifier >> 8) & 0xFF); vhcr 2336 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = vlan_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2337 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param, vhcr 2338 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c (vhcr->in_modifier >> 8) & 0xFF); vhcr 2342 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = counter_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2343 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param, 0); vhcr 2347 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = xrcdn_alloc_res(dev, slave, vhcr->op_modifier, alop, vhcr 2348 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2609 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 2615 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int alop = vhcr->op_modifier; vhcr 2617 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (vhcr->in_modifier & 0xFF) { vhcr 2619 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = qp_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2620 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param); vhcr 2624 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mtt_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2625 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2629 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mpt_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2630 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param); vhcr 2634 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = cq_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2635 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2639 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = srq_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2640 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2644 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mac_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2645 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param, vhcr 2646 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c (vhcr->in_modifier >> 8) & 0xFF); vhcr 2650 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = vlan_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2651 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param, vhcr 2652 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c (vhcr->in_modifier >> 8) & 0xFF); vhcr 2656 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = counter_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2657 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2661 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = xrcdn_free_res(dev, slave, vhcr->op_modifier, alop, vhcr 2662 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_param, &vhcr->out_param); vhcr 2755 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 2761 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier; vhcr 2816 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 2838 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 2844 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier; vhcr 2853 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 2870 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 2876 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier; vhcr 2907 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 2934 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static void adjust_proxy_tun_qkey(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, vhcr 2937 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 qpn = vhcr->in_modifier & 0xffffff; vhcr 2952 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 2958 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; vhcr 2971 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int local_qpn = vhcr->in_modifier & 0xffffff; vhcr 3015 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, qpc); vhcr 3017 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3093 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3099 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn = vhcr->in_modifier; vhcr 3122 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3142 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3148 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u8 get = vhcr->op_modifier; vhcr 3153 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3183 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3242 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = vhcr->in_modifier & 0x7fffff; vhcr 3263 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3274 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int npages = vhcr->in_modifier; vhcr 3301 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3306 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn = vhcr->in_modifier; vhcr 3319 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3407 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3412 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn = vhcr->in_modifier; vhcr 3426 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3434 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3440 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int cqn = vhcr->in_modifier; vhcr 3455 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3472 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3478 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int cqn = vhcr->in_modifier; vhcr 3484 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3497 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3502 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int cqn = vhcr->in_modifier; vhcr 3513 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3521 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3549 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3569 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3574 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int cqn = vhcr->in_modifier; vhcr 3585 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (vhcr->op_modifier == 0) { vhcr 3586 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = handle_resize(dev, slave, vhcr, inbox, outbox, cmd, cq); vhcr 3590 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3610 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3616 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int srqn = vhcr->in_modifier; vhcr 3636 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3655 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3661 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int srqn = vhcr->in_modifier; vhcr 3667 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3684 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3690 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int srqn = vhcr->in_modifier; vhcr 3700 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3707 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3713 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int srqn = vhcr->in_modifier; vhcr 3725 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3732 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3738 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; vhcr 3749 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3756 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3762 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, context); vhcr 3764 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3820 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3827 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; vhcr 3839 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_INIT2RTR, slave); vhcr 3848 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, qpc); vhcr 3863 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3882 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3893 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_RTR2RTS, slave); vhcr 3899 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, context); vhcr 3900 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3904 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3915 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_RTS2RTS, slave); vhcr 3921 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, context); vhcr 3922 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3927 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3936 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, context); vhcr 3937 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3941 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3952 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_SQD2SQD, slave); vhcr 3956 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, context); vhcr 3959 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3963 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3974 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_SQD2RTS, slave); vhcr 3978 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c adjust_proxy_tun_qkey(dev, vhcr, context); vhcr 3981 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 3985 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 3991 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int qpn = vhcr->in_modifier & 0x7fffff; vhcr 3997 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 4138 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 4145 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c enum mlx4_protocol prot = (vhcr->in_modifier >> 28) & 0x7; vhcr 4150 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int attach = vhcr->op_modifier; vhcr 4151 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int block_loopback = vhcr->in_modifier >> 31; vhcr 4155 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c qpn = vhcr->in_modifier & 0xffffff; vhcr 4284 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 4290 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 qpn = vhcr->in_modifier & 0xffffff; vhcr 4336 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_modifier, 0, vhcr 4366 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 4422 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_modifier += vhcr 4431 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_cmd_imm(dev, inbox->dma, &vhcr->out_param, vhcr 4432 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c vhcr->in_modifier, 0, vhcr 4439 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, slave, vhcr->out_param, 1, RES_FS_RULE, qpn); vhcr 4445 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, vhcr->out_param, RES_FS_RULE, &rrule); vhcr 4472 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, vhcr->out_param, RES_FS_RULE); vhcr 4476 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mlx4_cmd(dev, vhcr->out_param, 0, 0, vhcr 4500 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 4515 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, vhcr->in_param, RES_FS_RULE, &rrule); vhcr 4521 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, vhcr->in_param, RES_FS_RULE); vhcr 4529 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, vhcr->in_param, RES_FS_RULE); vhcr 4543 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = rem_res_range(dev, slave, vhcr->in_param, 1, RES_FS_RULE, 0); vhcr 4549 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_cmd(dev, vhcr->in_param, 0, 0, vhcr 4564 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_vhcr *vhcr, vhcr 4570 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier & 0xffff; vhcr 4576 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); vhcr 565 drivers/video/fbdev/tgafb.c u32 vhcr, vvcr, vvvr; vhcr 570 drivers/video/fbdev/tgafb.c vhcr = TGA_READ_REG(par, TGA_HORIZ_REG); vhcr 578 drivers/video/fbdev/tgafb.c TGA_WRITE_REG(par, vhcr & 0xbfffffff, TGA_HORIZ_REG); vhcr 597 drivers/video/fbdev/tgafb.c TGA_WRITE_REG(par, vhcr | 0x40000000, TGA_HORIZ_REG); vhcr 603 drivers/video/fbdev/tgafb.c TGA_WRITE_REG(par, vhcr | 0x40000000, TGA_HORIZ_REG);