/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 117 u64 out_param; member 306 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post() argument 338 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post() 339 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post() 366 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd() argument 376 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd() 386 if (out_param) in mlx4_slave_cmd() 387 *out_param = in mlx4_slave_cmd() 388 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd() 403 if (out_param) in mlx4_slave_cmd() [all …]
|
D | sense.c | 44 u64 out_param; in mlx4_SENSE_PORT() local 47 err = mlx4_cmd_imm(dev, 0, &out_param, port, 0, in mlx4_SENSE_PORT() 55 if (out_param > 2) { in mlx4_SENSE_PORT() 56 mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", out_param); in mlx4_SENSE_PORT() 60 *type = out_param; in mlx4_SENSE_PORT()
|
D | port.c | 299 u64 out_param; in mlx4_register_mac() local 303 set_param_l(&out_param, port); in mlx4_register_mac() 304 err = mlx4_cmd_imm(dev, mac, &out_param, RES_MAC, in mlx4_register_mac() 310 return get_param_l(&out_param); in mlx4_register_mac() 340 u64 out_param; in mlx4_unregister_mac() local 344 set_param_l(&out_param, port); in mlx4_unregister_mac() 345 err = mlx4_cmd_imm(dev, mac, &out_param, RES_MAC, in mlx4_unregister_mac() 493 u64 out_param; in mlx4_register_vlan() local 497 set_param_l(&out_param, port); in mlx4_register_vlan() 498 err = mlx4_cmd_imm(dev, vlan, &out_param, RES_VLAN, in mlx4_register_vlan() [all …]
|
D | resource_tracker.c | 1014 u64 in_param, u64 *out_param) in qp_alloc_res() argument 1035 set_param_l(out_param, base); in qp_alloc_res() 1069 u64 in_param, u64 *out_param) in mtt_alloc_res() argument 1087 set_param_l(out_param, base); in mtt_alloc_res() 1093 u64 in_param, u64 *out_param) in mpt_alloc_res() argument 1112 set_param_l(out_param, index); in mpt_alloc_res() 1135 u64 in_param, u64 *out_param) in cq_alloc_res() argument 1152 set_param_l(out_param, cqn); in cq_alloc_res() 1163 u64 in_param, u64 *out_param) in srq_alloc_res() argument 1180 set_param_l(out_param, srqn); in srq_alloc_res() [all …]
|
D | srq.c | 125 u64 out_param; in mlx4_srq_alloc_icm() local 129 err = mlx4_cmd_imm(dev, 0, &out_param, RES_SRQ, in mlx4_srq_alloc_icm() 134 *srqn = get_param_l(&out_param); in mlx4_srq_alloc_icm()
|
D | cq.c | 200 u64 out_param; in mlx4_cq_alloc_icm() local 204 err = mlx4_cmd_imm(dev, 0, &out_param, RES_CQ, in mlx4_cq_alloc_icm() 210 *cqn = get_param_l(&out_param); in mlx4_cq_alloc_icm()
|
D | mr.c | 192 u64 out_param; in mlx4_alloc_mtt_range() local 197 err = mlx4_cmd_imm(dev, in_param, &out_param, RES_MTT, in mlx4_alloc_mtt_range() 204 return get_param_l(&out_param); in mlx4_alloc_mtt_range() 338 u64 out_param; in mlx4_mr_reserve() local 341 if (mlx4_cmd_imm(dev, 0, &out_param, RES_MPT, RES_OP_RESERVE, in mlx4_mr_reserve() 345 return get_param_l(&out_param); in mlx4_mr_reserve()
|
D | qp.c | 196 u64 out_param; in mlx4_qp_reserve_range() local 202 err = mlx4_cmd_imm(dev, in_param, &out_param, in mlx4_qp_reserve_range() 209 *base = get_param_l(&out_param); in mlx4_qp_reserve_range()
|
D | mlx4.h | 141 u64 out_param; member 153 __be64 out_param; member 332 __be64 out_param; member 977 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param);
|
D | eq.c | 334 be64_to_cpu(eqe->event.cmd.out_param)); in mlx4_eq_int()
|
/linux-3.4.99/include/linux/mlx4/ |
D | cmd.h | 188 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, 202 static inline int mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_box() argument 206 return __mlx4_cmd(dev, in_param, &out_param, 0, in_modifier, in mlx4_cmd_box() 215 static inline int mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_imm() argument 219 return __mlx4_cmd(dev, in_param, out_param, 1, in_modifier, in mlx4_cmd_imm()
|
/linux-3.4.99/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 182 u64 out_param; member 200 u64 out_param, in mthca_cmd_post_dbell() argument 215 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); in mthca_cmd_post_dbell() 217 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); in mthca_cmd_post_dbell() 232 u64 out_param, in mthca_cmd_post_hcr() argument 260 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), dev->hcr + 3 * 4); in mthca_cmd_post_hcr() 261 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), dev->hcr + 4 * 4); in mthca_cmd_post_hcr() 277 u64 out_param, in mthca_cmd_post() argument 289 mthca_cmd_post_dbell(dev, in_param, out_param, in_modifier, in mthca_cmd_post() 292 err = mthca_cmd_post_hcr(dev, in_param, out_param, in_modifier, in mthca_cmd_post() [all …]
|
D | mthca_cmd.h | 249 u8 status, u64 out_param);
|
D | mthca_eq.c | 140 __be64 out_param; member 330 be64_to_cpu(eqe->event.cmd.out_param)); in mthca_eq_int()
|