Lines Matching refs:in_mod
123 u32 in_mod; in mlx4_set_port_mac_table() local
132 in_mod = MLX4_SET_PORT_MAC_TABLE << 8 | port; in mlx4_set_port_mac_table()
134 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_mac_table()
340 u32 in_mod; in mlx4_set_port_vlan_table() local
348 in_mod = MLX4_SET_PORT_VLAN_TABLE << 8 | port; in mlx4_set_port_vlan_table()
349 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_vlan_table()
689 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, in mlx4_common_set_port() argument
714 port = in_mod & 0xff; in mlx4_common_set_port()
715 in_modifier = in_mod >> 8; in mlx4_common_set_port()
834 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
841 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
977 u32 in_mod; in mlx4_SET_PORT_general() local
990 in_mod = MLX4_SET_PORT_GENERAL << 8 | port; in mlx4_SET_PORT_general()
991 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_general()
1006 u32 in_mod; in mlx4_SET_PORT_qpn_calc() local
1028 in_mod = MLX4_SET_PORT_RQP_CALC << 8 | port; in mlx4_SET_PORT_qpn_calc()
1029 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_qpn_calc()
1042 u32 in_mod; in mlx4_SET_PORT_fcs_check() local
1055 in_mod = MLX4_SET_PORT_GENERAL << 8 | port; in mlx4_SET_PORT_fcs_check()
1056 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_fcs_check()
1082 u32 in_mod; in mlx4_SET_PORT_VXLAN() local
1097 in_mod = MLX4_SET_PORT_VXLAN << 8 | port; in mlx4_SET_PORT_VXLAN()
1098 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_VXLAN()
1159 u32 in_mod, struct mlx4_cmd_mailbox *outbox) in mlx4_common_dump_eth_stats() argument
1161 return mlx4_cmd_box(dev, 0, outbox->dma, in_mod, 0, in mlx4_common_dump_eth_stats()