Home
last modified time | relevance | path

Searched refs:in_mod (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw_qos.c90 u32 in_mod; in mlx4_SET_PORT_PRIO2TC() local
102 in_mod = MLX4_SET_PORT_PRIO2TC << 8 | port; in mlx4_SET_PORT_PRIO2TC()
103 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_PRIO2TC()
117 u32 in_mod; in mlx4_SET_PORT_SCHEDULER() local
150 in_mod = MLX4_SET_PORT_SCHEDULER << 8 | port; in mlx4_SET_PORT_SCHEDULER()
151 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_SCHEDULER()
H A Dmlx4_port.c131 u32 in_mod; in mlx4_set_port_mac_table() local
140 in_mod = MLX4_SET_PORT_MAC_TABLE << 8 | port; in mlx4_set_port_mac_table()
142 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_mac_table()
540 u32 in_mod; in mlx4_set_port_vlan_table() local
548 in_mod = MLX4_SET_PORT_VLAN_TABLE << 8 | port; in mlx4_set_port_vlan_table()
549 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_vlan_table()
1247 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, in mlx4_common_set_port() argument
1272 port = in_mod & 0xff; in mlx4_common_set_port()
1273 in_modifier = in_mod >> 8; in mlx4_common_set_port()
1405 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
[all …]
H A Dmlx4_fw.c2610 u32 in_mod; in mlx4_get_phys_port_id() local
2623 in_mod = port << MOD_STAT_CFG_PORT_OFFSET; in mlx4_get_phys_port_id()
2624 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_mod, 0x2, in mlx4_get_phys_port_id()
2645 u32 in_mod = MLX4_WOL_SETUP_MODE | port << 8; in mlx4_wol_read() local
2647 return mlx4_cmd_imm(dev, 0, config, in_mod, 0x3, in mlx4_wol_read()
2655 u32 in_mod = MLX4_WOL_SETUP_MODE | port << 8; in mlx4_wol_write() local
2657 return mlx4_cmd(dev, config, in_mod, 0x1, MLX4_CMD_MOD_STAT_CFG, in mlx4_wol_write()
2993 u32 in_mod; in mlx4_SET_PORT_phv_bit() local
3005 in_mod = MLX4_SET_PORT_GENERAL << 8 | port; in mlx4_SET_PORT_phv_bit()
3006 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_phv_bit()
H A Dmlx4_mcg.c99 u32 in_mod; in mlx4_WRITE_PROMISC() local
101 in_mod = (u32) port << 16 | steer << 1; in mlx4_WRITE_PROMISC()
102 return mlx4_cmd(dev, mailbox->dma, in_mod, 0x1, in mlx4_WRITE_PROMISC()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_port.c194 u64 in_mod = reset << 8 | port; in mlx4_en_DUMP_ETH_STATS() local
201 err = mlx4_cmd_box(mdev->dev, 0, mailbox->dma, in_mod, 0, in mlx4_en_DUMP_ETH_STATS()
378 in_mod | MLX4_DUMP_ETH_STATS_FLOW_CONTROL, in mlx4_en_DUMP_ETH_STATS()