Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c127 u64 out_param; member
320 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post() argument
370 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post()
371 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post()
398 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd() argument
409 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd()
420 if (out_param) in mlx4_slave_cmd()
421 *out_param = in mlx4_slave_cmd()
422 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd()
436 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.c213 u64 out_param = 0; in mlx4_register_mac() local
218 err = mlx4_cmd_imm(dev, mac, &out_param, in mlx4_register_mac()
225 set_param_l(&out_param, port); in mlx4_register_mac()
226 err = mlx4_cmd_imm(dev, mac, &out_param, RES_MAC, in mlx4_register_mac()
235 return get_param_l(&out_param); in mlx4_register_mac()
281 u64 out_param = 0; in mlx4_unregister_mac() local
285 (void) mlx4_cmd_imm(dev, mac, &out_param, in mlx4_unregister_mac()
291 set_param_l(&out_param, port); in mlx4_unregister_mac()
292 (void) mlx4_cmd_imm(dev, mac, &out_param, RES_MAC, in mlx4_unregister_mac()
428 u64 out_param = 0; in mlx4_register_vlan() local
[all …]
Dresource_tracker.c1539 u64 in_param, u64 *out_param) in qp_alloc_res() argument
1567 set_param_l(out_param, base); in qp_alloc_res()
1601 u64 in_param, u64 *out_param) in mtt_alloc_res() argument
1627 set_param_l(out_param, base); in mtt_alloc_res()
1634 u64 in_param, u64 *out_param) in mpt_alloc_res() argument
1660 set_param_l(out_param, index); in mpt_alloc_res()
1683 u64 in_param, u64 *out_param) in cq_alloc_res() argument
1707 set_param_l(out_param, cqn); in cq_alloc_res()
1718 u64 in_param, u64 *out_param) in srq_alloc_res() argument
1742 set_param_l(out_param, srqn); in srq_alloc_res()
[all …]
Dpd.c78 u64 out_param; in mlx4_xrcd_alloc() local
82 err = mlx4_cmd_imm(dev, 0, &out_param, in mlx4_xrcd_alloc()
89 *xrcdn = get_param_l(&out_param); in mlx4_xrcd_alloc()
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.c197 u64 out_param; in mlx4_cq_alloc_icm() local
201 err = mlx4_cmd_imm(dev, 0, &out_param, RES_CQ, in mlx4_cq_alloc_icm()
207 *cqn = get_param_l(&out_param); in mlx4_cq_alloc_icm()
Dmr.c186 u64 out_param; in mlx4_alloc_mtt_range() local
191 err = mlx4_cmd_imm(dev, in_param, &out_param, RES_MTT, in mlx4_alloc_mtt_range()
198 return get_param_l(&out_param); in mlx4_alloc_mtt_range()
456 u64 out_param; in mlx4_mpt_reserve() local
459 if (mlx4_cmd_imm(dev, 0, &out_param, RES_MPT, RES_OP_RESERVE, in mlx4_mpt_reserve()
463 return get_param_l(&out_param); in mlx4_mpt_reserve()
Dqp.c225 u64 out_param; in mlx4_qp_reserve_range() local
231 err = mlx4_cmd_imm(dev, in_param, &out_param, in mlx4_qp_reserve_range()
238 *base = get_param_l(&out_param); in mlx4_qp_reserve_range()
Dmlx4.h179 u64 out_param; member
191 __be64 out_param; member
1128 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param);
Dmain.c1824 u64 out_param; in mlx4_counter_alloc() local
1828 err = mlx4_cmd_imm(dev, 0, &out_param, RES_COUNTER, in mlx4_counter_alloc()
1832 *idx = get_param_l(&out_param); in mlx4_counter_alloc()
Deq.c550 be64_to_cpu(eqe->event.cmd.out_param)); in mlx4_eq_int()
/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()