/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 127 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 …]
|
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 | 213 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 …]
|
D | resource_tracker.c | 1539 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 …]
|
D | pd.c | 78 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()
|
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 | 197 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()
|
D | mr.c | 186 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()
|
D | qp.c | 225 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()
|
D | mlx4.h | 179 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);
|
D | main.c | 1824 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()
|
D | eq.c | 550 be64_to_cpu(eqe->event.cmd.out_param)); in mlx4_eq_int()
|
/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()
|