/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 130 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_set_port_mac_table() 344 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_set_port_vlan_table() 631 err = mlx4_cmd(dev, mailbox->dma, in mlx4_reset_roce_port_gids() 828 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port() 835 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port() 885 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port() 948 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_SET_PORT, in mlx4_SET_PORT() 978 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_general() 1015 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_qpn_calc() 1039 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_PRIO2TC() [all …]
|
D | fw.c | 170 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_MOD_STAT_CFG, in mlx4_MOD_STAT_CFG() 1113 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd() 1124 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd() 1154 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_FA, in mlx4_UNMAP_FA() 1161 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_RUN_FW, in mlx4_RUN_FW() 1168 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_QUERY_FW() 1561 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_INIT_HCA, 10000, in mlx4_INIT_HCA() 1709 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper() 1719 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper() 1773 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT() [all …]
|
D | qp.c | 141 ret = mlx4_cmd(dev, 0, qp->qpn, 2, in __mlx4_qp_modify() 172 ret = mlx4_cmd(dev, mailbox->dma, in __mlx4_qp_modify() 263 err = mlx4_cmd(dev, in_param, RES_QP, RES_OP_RESERVE, in mlx4_qp_release_range() 350 if (mlx4_cmd(dev, in_param, RES_QP, RES_OP_MAP_ICM, in mlx4_qp_free_icm() 426 err = mlx4_cmd(dev, mailbox->dma, qpn & 0xffffff, 0, in mlx4_update_qp() 458 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
|
D | srq.c | 70 return mlx4_cmd(dev, mailbox->dma, srq_num, 0, in mlx4_SW2HW_SRQ() 85 return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ, in mlx4_ARM_SRQ() 156 if (mlx4_cmd(dev, in_param, RES_SRQ, RES_OP_RESERVE_AND_MAP, in mlx4_srq_free_icm()
|
D | cq.c | 100 return mlx4_cmd(dev, mailbox->dma, cq_num, 0, in mlx4_SW2HW_CQ() 108 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ() 231 err = mlx4_cmd(dev, in_param, RES_CQ, RES_OP_RESERVE_AND_MAP, in mlx4_cq_free_icm()
|
D | mr.c | 248 err = mlx4_cmd(dev, in_param, RES_MTT, RES_OP_RESERVE_AND_MAP, in mlx4_free_mtt_range() 288 return mlx4_cmd(dev, mailbox->dma, mpt_index, in mlx4_SW2HW_MPT() 443 return mlx4_cmd(dev, mailbox->dma, num_entries, 0, MLX4_CMD_WRITE_MTT, in mlx4_WRITE_MTT() 481 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_RESERVE, in mlx4_mpt_release() 525 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_MAP_ICM, in mlx4_mpt_free_icm() 1164 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_SYNC_TPT, 1000, in mlx4_SYNC_TPT()
|
D | mcg.c | 76 err = mlx4_cmd(dev, regid, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH() 93 return mlx4_cmd(dev, mailbox->dma, index, 0, MLX4_CMD_WRITE_MCG, in mlx4_WRITE_ENTRY() 103 return mlx4_cmd(dev, mailbox->dma, in_mod, 0x1, in mlx4_WRITE_PROMISC() 1074 err = mlx4_cmd(dev, in_param, 0, 0, in mlx4_FLOW_STEERING_IB_UC_QP_RANGE() 1330 err = mlx4_cmd(dev, mailbox->dma, qpn, attach, in mlx4_QP_ATTACH() 1548 return mlx4_cmd(dev, (u64) qpn | (u64) port << 62, (u32) steer, add, in mlx4_PROMISC()
|
D | en_selftest.c | 45 return mlx4_cmd(priv->mdev->dev, 0, 0, 0, MLX4_CMD_HW_HEALTH_CHECK, in mlx4_en_test_registers()
|
D | icm.c | 238 return mlx4_cmd(dev, virt, page_count, 0, MLX4_CMD_UNMAP_ICM, in mlx4_UNMAP_ICM() 249 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_ICM_AUX, in mlx4_UNMAP_ICM_AUX()
|
D | eq.c | 440 err = mlx4_cmd(dev, 0, i, 0, MLX4_CMD_INFORM_FLR_DONE, in mlx4_master_handle_slave_flr() 806 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper() 820 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ() 828 return mlx4_cmd(dev, mailbox->dma, eq_num, 0, in mlx4_SW2HW_EQ()
|
D | pd.c | 108 err = mlx4_cmd(dev, in_param, RES_XRCD, in mlx4_xrcd_free()
|
D | en_port.c | 66 err = mlx4_cmd(dev, mailbox->dma, priv->port, 0, MLX4_CMD_SET_VLAN_FLTR, in mlx4_SET_VLAN_FLTR()
|
D | resource_tracker.c | 3096 err = mlx4_cmd(dev, mailbox->dma, in_modifier, 0, in mlx4_GEN_EQE() 4030 err = mlx4_cmd(dev, inbox->dma, in mlx4_UPDATE_QP_wrapper() 4115 mlx4_cmd(dev, vhcr->out_param, 0, 0, in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4155 err = mlx4_cmd(dev, vhcr->in_param, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH_wrapper() 4313 err = mlx4_cmd(dev, in_param, in rem_slave_qps() 4380 err = mlx4_cmd(dev, in_param, srqn, 1, in rem_slave_srqs() 4446 err = mlx4_cmd(dev, in_param, cqn, 1, in rem_slave_cqs() 4514 err = mlx4_cmd(dev, in_param, mptn, 0, in rem_slave_mrs() 4614 err = mlx4_cmd(dev, base, 0, 0, in rem_slave_fs_rule() 4889 err = mlx4_cmd(dev, mailbox->dma, in mlx4_vf_immed_vlan_work_handler()
|
D | mlx4.h | 594 struct mlx4_cmd { struct 826 struct mlx4_cmd cmd;
|
D | cmd.c | 247 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_comm_cmd_wait() 324 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post() 548 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait() 637 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_ARM_COMM_CHANNEL, in mlx4_ARM_COMM_CHANNEL()
|
D | main.c | 1852 mlx4_cmd(dev, in_param, RES_COUNTER, RES_OP_RESERVE, in mlx4_counter_free()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 557 mlx4_cmd(to_mdev(ibdev)->dev, mailbox->dma, 1, 0, in mlx4_ib_modify_device() 583 err = mlx4_cmd(dev->dev, mailbox->dma, port, 0, MLX4_CMD_SET_PORT, in mlx4_ib_SET_PORT() 1100 err = mlx4_cmd(dev, reg_id, 0, 0, in __mlx4_ib_destroy_flow() 1455 err = mlx4_cmd(dev, mailbox->dma, MLX4_SET_PORT_GID_TABLE << 8 | gw->port, in update_gids_task() 1490 err = mlx4_cmd(dev, mailbox->dma, in reset_gids_task()
|