Home
last modified time | relevance | path

Searched refs:mlx4_cmd (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw_qos.c103 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_PRIO2TC()
151 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_SCHEDULER()
210 err = mlx4_cmd(dev, mailbox->dma, port, in mlx4_ALLOCATE_VPP_set()
280 err = mlx4_cmd(dev, mailbox->dma, (vport << 8) | port, in mlx4_SET_VPORT_QOS_set()
H A Dsrq.c67 return mlx4_cmd(dev, mailbox->dma, srq_num, 0, in mlx4_SW2HW_SRQ()
82 return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ, in mlx4_ARM_SRQ()
153 if (mlx4_cmd(dev, in_param, RES_SRQ, RES_OP_RESERVE_AND_MAP, in mlx4_srq_free_icm()
H A Dfw.c1566 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
1577 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
1607 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_FA, in mlx4_UNMAP_FA()
1614 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_RUN_FW, in mlx4_RUN_FW()
1621 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_QUERY_FW()
2272 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper()
2341 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT()
2397 return mlx4_cmd(dev, 0, port, 0, MLX4_CMD_CLOSE_PORT, in mlx4_CLOSE_PORT()
2404 return mlx4_cmd(dev, 0, 0, panic, MLX4_CMD_CLOSE_HCA, in mlx4_CLOSE_HCA()
2570 err = mlx4_cmd(dev, mailbox->dma, 0, in mlx4_virt2phy_port_map()
[all …]
H A Dport.c142 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_mac_table()
549 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_vlan_table()
1195 err = mlx4_cmd(dev, mailbox->dma, in mlx4_reset_roce_port_gids()
1469 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1476 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1532 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
1595 err = mlx4_cmd(dev, mailbox->dma, port, in mlx4_SET_PORT()
1633 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_general()
1671 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_qpn_calc()
1746 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_fcs_check()
[all …]
H A Dqp.c150 ret = mlx4_cmd(dev, 0, qp->qpn, 2, in __mlx4_qp_modify()
187 ret = mlx4_cmd(dev, mailbox->dma, in __mlx4_qp_modify()
301 err = mlx4_cmd(dev, in_param, RES_QP, RES_OP_RESERVE, in mlx4_qp_release_range()
388 if (mlx4_cmd(dev, in_param, RES_QP, RES_OP_MAP_ICM, in mlx4_qp_free_icm()
509 err = mlx4_cmd(dev, mailbox->dma, qpn & 0xffffff, 0, in mlx4_update_qp()
540 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
H A Dmr.c239 err = mlx4_cmd(dev, in_param, RES_MTT, RES_OP_RESERVE_AND_MAP, in mlx4_free_mtt_range()
279 return mlx4_cmd(dev, mailbox->dma, mpt_index, in mlx4_SW2HW_MPT()
435 return mlx4_cmd(dev, mailbox->dma, num_entries, 0, MLX4_CMD_WRITE_MTT, in mlx4_WRITE_MTT()
473 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_RESERVE, in mlx4_mpt_release()
517 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_MAP_ICM, in mlx4_mpt_free_icm()
971 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_SYNC_TPT, in mlx4_SYNC_TPT()
H A Dcq.c149 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, in mlx4_SW2HW_CQ()
157 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ()
281 err = mlx4_cmd(dev, in_param, RES_CQ, RES_OP_RESERVE_AND_MAP, in mlx4_cq_free_icm()
H A Den_selftest.c45 return mlx4_cmd(priv->mdev->dev, 0, 0, 0, MLX4_CMD_HW_HEALTH_CHECK, in mlx4_en_test_registers()
H A Dicm.c243 return mlx4_cmd(dev, virt, page_count, 0, MLX4_CMD_UNMAP_ICM, in mlx4_UNMAP_ICM()
254 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_ICM_AUX, in mlx4_UNMAP_ICM_AUX()
H A Dmcg.c75 err = mlx4_cmd(dev, regid, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH()
92 return mlx4_cmd(dev, mailbox->dma, index, 0, MLX4_CMD_WRITE_MCG, in mlx4_WRITE_ENTRY()
102 return mlx4_cmd(dev, mailbox->dma, in_mod, 0x1, in mlx4_WRITE_PROMISC()
1096 err = mlx4_cmd(dev, in_param, 0, 0, in mlx4_FLOW_STEERING_IB_UC_QP_RANGE()
1356 err = mlx4_cmd(dev, mailbox->dma, qpn, attach, in mlx4_QP_ATTACH()
1584 return mlx4_cmd(dev, (u64) qpn | (u64) port << 62, (u32) steer, add, in mlx4_PROMISC()
H A Deq.c485 err = mlx4_cmd(dev, 0, i, 0, MLX4_CMD_INFORM_FLR_DONE, in mlx4_master_handle_slave_flr()
891 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper()
905 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ()
913 return mlx4_cmd(dev, mailbox->dma, eq_num, 0, in mlx4_SW2HW_EQ()
920 return mlx4_cmd(dev, 0, eq_num, 1, MLX4_CMD_HW2SW_EQ, in mlx4_HW2SW_EQ()
H A Dpd.c108 err = mlx4_cmd(dev, in_param, RES_XRCD, in mlx4_xrcd_free()
H A Dresource_tracker.c3390 err = mlx4_cmd(dev, mailbox->dma, in_modifier, 0, in mlx4_GEN_EQE()
4336 err = mlx4_cmd(dev, inbox->dma, in mlx4_UPDATE_QP_wrapper()
4477 mlx4_cmd(dev, vhcr->out_param, 0, 0, in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4550 err = mlx4_cmd(dev, vhcr->in_param, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH_wrapper()
4708 err = mlx4_cmd(dev, in_param, in rem_slave_qps()
4774 err = mlx4_cmd(dev, in_param, srqn, 1, in rem_slave_srqs()
4839 err = mlx4_cmd(dev, in_param, cqn, 1, in rem_slave_cqs()
4906 err = mlx4_cmd(dev, in_param, mptn, 0, in rem_slave_mrs()
5091 err = mlx4_cmd(dev, base, 0, 0, in rem_slave_fs_rule()
5152 err = mlx4_cmd(dev, slave, eqn & 0x3ff, in rem_slave_eqs()
[all …]
H A Den_port.c66 err = mlx4_cmd(dev, mailbox->dma, priv->port, 0, MLX4_CMD_SET_VLAN_FLTR, in mlx4_SET_VLAN_FLTR()
H A Dmlx4.h630 struct mlx4_cmd { struct
896 struct mlx4_cmd cmd;
H A Den_dcb_nl.c653 err = mlx4_cmd(priv->mdev->dev, mailbox_in_dma, inmod, in mlx4_en_dcbnl_ieee_setqcn()
H A Dcmd.c341 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_comm_cmd_wait()
436 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post()
681 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait()
808 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_ARM_COMM_CHANNEL, in mlx4_ARM_COMM_CHANNEL()
H A Dmain.c2680 mlx4_cmd(dev, in_param, RES_COUNTER, RES_OP_RESERVE, in mlx4_counter_free()
/openbmc/linux/include/linux/mlx4/
H A Dcmd.h273 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd() function
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c179 err = mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1()
184 err += mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1()
224 err = mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1_v2()
229 err += mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1_v2()
1025 mlx4_cmd(to_mdev(ibdev)->dev, mailbox->dma, 1, 0, in mlx4_ib_modify_device()
1051 err = mlx4_cmd(dev->dev, mailbox->dma, port, MLX4_SET_PORT_IB_OPCODE, in mlx4_ib_SET_PORT()
1604 err = mlx4_cmd(dev, reg_id, 0, 0, in __mlx4_ib_destroy_flow()