Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/mlx4/
Dfw.c133 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_MOD_STAT_CFG, in mlx4_MOD_STAT_CFG()
508 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
518 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, MLX4_CMD_TIME_CLASS_B); in mlx4_map_cmd()
547 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_FA, MLX4_CMD_TIME_CLASS_B); in mlx4_UNMAP_FA()
553 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_RUN_FW, MLX4_CMD_TIME_CLASS_A); in mlx4_RUN_FW()
559 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_QUERY_FW()
820 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_INIT_HCA, 10000); in mlx4_INIT_HCA()
871 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT()
876 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT()
885 return mlx4_cmd(dev, 0, port, 0, MLX4_CMD_CLOSE_PORT, 1000); in mlx4_CLOSE_PORT()
[all …]
Den_port.c47 return mlx4_cmd(dev, (mac | (clear << 63)), port, mode, in mlx4_SET_MCAST_FLTR()
79 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_SET_VLAN_FLTR, in mlx4_SET_VLAN_FLTR()
108 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_general()
145 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_qpn_calc()
Dqp.c120 return mlx4_cmd(dev, 0, qp->qpn, 2, in mlx4_qp_modify()
140 ret = mlx4_cmd(dev, mailbox->dma, qp->qpn | (!!sqd_event << 31), in mlx4_qp_modify()
266 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
Dsrq.c87 return mlx4_cmd(dev, mailbox->dma, srq_num, 0, MLX4_CMD_SW2HW_SRQ, in mlx4_SW2HW_SRQ()
101 return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ, in mlx4_ARM_SRQ()
Dport.c86 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_set_port_mac_table()
320 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_set_port_vlan_table()
479 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_SET_PORT, in mlx4_SET_PORT()
Dcq.c119 return mlx4_cmd(dev, mailbox->dma, cq_num, 0, MLX4_CMD_SW2HW_CQ, in mlx4_SW2HW_CQ()
126 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ()
Den_selftest.c45 return mlx4_cmd(priv->mdev->dev, 0, 0, 0, MLX4_CMD_HW_HEALTH_CHECK, in mlx4_en_test_registers()
Dcmd.c157 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post()
271 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait()
Dmlx4.h187 struct mlx4_cmd { struct
335 struct mlx4_cmd cmd;
Dicm.c215 return mlx4_cmd(dev, virt, page_count, 0, MLX4_CMD_UNMAP_ICM, in mlx4_UNMAP_ICM()
226 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_ICM_AUX, MLX4_CMD_TIME_CLASS_B); in mlx4_UNMAP_ICM_AUX()
Dmr.c255 return mlx4_cmd(dev, mailbox->dma, mpt_index, 0, MLX4_CMD_SW2HW_MPT, in mlx4_SW2HW_MPT()
665 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_SYNC_TPT, 1000); in mlx4_SYNC_TPT()
Deq.c295 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ()
302 return mlx4_cmd(dev, mailbox->dma, eq_num, 0, MLX4_CMD_SW2HW_EQ, in mlx4_SW2HW_EQ()
Dmcg.c56 return mlx4_cmd(dev, mailbox->dma, index, 0, MLX4_CMD_WRITE_MCG, in mlx4_WRITE_ENTRY()
66 return mlx4_cmd(dev, mailbox->dma, in_mod, 0x1, in mlx4_WRITE_PROMISC()
/linux-2.6.39/include/linux/mlx4/
Dcmd.h160 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd() function
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dmain.c397 mlx4_cmd(to_mdev(ibdev)->dev, mailbox->dma, 1, 0, in mlx4_ib_modify_device()
426 err = mlx4_cmd(dev->dev, mailbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_SET_PORT()
811 err = mlx4_cmd(dev, mailbox->dma, MLX4_SET_PORT_GID_TABLE << 8 | gw->port, in update_gids_task()