Searched refs:in_mod (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c123 u32 in_mod; mlx4_set_port_mac_table() local
132 in_mod = MLX4_SET_PORT_MAC_TABLE << 8 | port; mlx4_set_port_mac_table()
134 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, mlx4_set_port_mac_table()
340 u32 in_mod; mlx4_set_port_vlan_table() local
348 in_mod = MLX4_SET_PORT_VLAN_TABLE << 8 | port; mlx4_set_port_vlan_table()
349 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, mlx4_set_port_vlan_table()
689 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, mlx4_common_set_port() argument
714 port = in_mod & 0xff; mlx4_common_set_port()
715 in_modifier = in_mod >> 8; mlx4_common_set_port()
834 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, mlx4_common_set_port()
841 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, mlx4_common_set_port()
977 u32 in_mod; mlx4_SET_PORT_general() local
990 in_mod = MLX4_SET_PORT_GENERAL << 8 | port; mlx4_SET_PORT_general()
991 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, mlx4_SET_PORT_general()
1006 u32 in_mod; mlx4_SET_PORT_qpn_calc() local
1028 in_mod = MLX4_SET_PORT_RQP_CALC << 8 | port; mlx4_SET_PORT_qpn_calc()
1029 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, mlx4_SET_PORT_qpn_calc()
1042 u32 in_mod; mlx4_SET_PORT_fcs_check() local
1055 in_mod = MLX4_SET_PORT_GENERAL << 8 | port; mlx4_SET_PORT_fcs_check()
1056 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, mlx4_SET_PORT_fcs_check()
1082 u32 in_mod; mlx4_SET_PORT_VXLAN() local
1097 in_mod = MLX4_SET_PORT_VXLAN << 8 | port; mlx4_SET_PORT_VXLAN()
1098 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, mlx4_SET_PORT_VXLAN()
1159 u32 in_mod, struct mlx4_cmd_mailbox *outbox) mlx4_common_dump_eth_stats()
1161 return mlx4_cmd_box(dev, 0, outbox->dma, in_mod, 0, mlx4_common_dump_eth_stats()
1158 mlx4_common_dump_eth_stats(struct mlx4_dev *dev, int slave, u32 in_mod, struct mlx4_cmd_mailbox *outbox) mlx4_common_dump_eth_stats() argument
H A Dfw_qos.c90 u32 in_mod; mlx4_SET_PORT_PRIO2TC() local
102 in_mod = MLX4_SET_PORT_PRIO2TC << 8 | port; mlx4_SET_PORT_PRIO2TC()
103 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, mlx4_SET_PORT_PRIO2TC()
117 u32 in_mod; mlx4_SET_PORT_SCHEDULER() local
150 in_mod = MLX4_SET_PORT_SCHEDULER << 8 | port; mlx4_SET_PORT_SCHEDULER()
151 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, mlx4_SET_PORT_SCHEDULER()
H A Den_port.c157 u64 in_mod = reset << 8 | port; mlx4_en_DUMP_ETH_STATS() local
164 err = mlx4_cmd_box(mdev->dev, 0, mailbox->dma, in_mod, 0, mlx4_en_DUMP_ETH_STATS()
306 in_mod | MLX4_DUMP_ETH_STATS_FLOW_CONTROL, mlx4_en_DUMP_ETH_STATS()
H A Dfw.c2386 u32 in_mod; mlx4_get_phys_port_id() local
2399 in_mod = port << MOD_STAT_CFG_PORT_OFFSET; mlx4_get_phys_port_id()
2400 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_mod, 0x2, mlx4_get_phys_port_id()
2421 u32 in_mod = MLX4_WOL_SETUP_MODE | port << 8; mlx4_wol_read() local
2423 return mlx4_cmd_imm(dev, 0, config, in_mod, 0x3, mlx4_wol_read()
2431 u32 in_mod = MLX4_WOL_SETUP_MODE | port << 8; mlx4_wol_write() local
2433 return mlx4_cmd(dev, config, in_mod, 0x1, MLX4_CMD_MOD_STAT_CFG, mlx4_wol_write()
H A Dmcg.c100 u32 in_mod; mlx4_WRITE_PROMISC() local
102 in_mod = (u32) port << 16 | steer << 1; mlx4_WRITE_PROMISC()
103 return mlx4_cmd(dev, mailbox->dma, in_mod, 0x1, mlx4_WRITE_PROMISC()
H A Dmlx4.h1296 int mlx4_common_dump_eth_stats(struct mlx4_dev *dev, int slave, u32 in_mod,
H A Dcmd.c509 mlx4_warn(dev, "Could not post command 0x%x: ret=%d, in_param=0x%llx, in_mod=0x%x, op_mod=0x%x\n", mlx4_cmd_post()

Completed in 226 milliseconds