Home
last modified time | relevance | path

Searched refs:out_param (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c117 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 …]
Dsense.c44 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()
Dport.c299 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 …]
Dresource_tracker.c1014 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 …]
Dsrq.c125 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()
Dcq.c200 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()
Dmr.c192 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()
Dqp.c196 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()
Dmlx4.h141 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);
Deq.c334 be64_to_cpu(eqe->event.cmd.out_param)); in mlx4_eq_int()
/linux-3.4.99/include/linux/mlx4/
Dcmd.h188 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/
Dmthca_cmd.c182 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 …]
Dmthca_cmd.h249 u8 status, u64 out_param);
Dmthca_eq.c140 __be64 out_param; member
330 be64_to_cpu(eqe->event.cmd.out_param)); in mthca_eq_int()