/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | fw_qos.c | 90 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()
|
D | port.c | 131 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() 1332 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, in mlx4_common_set_port() argument 1354 port = in_mod & 0xff; in mlx4_common_set_port() 1355 in_modifier = in_mod >> 8; in mlx4_common_set_port() 1469 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port() [all …]
|
D | en_port.c | 192 u64 in_mod = reset << 8 | port; in mlx4_en_DUMP_ETH_STATS() local 208 err = mlx4_cmd_box(mdev->dev, 0, mailbox->dma, in_mod, 0, in mlx4_en_DUMP_ETH_STATS() 229 in_mod | MLX4_DUMP_ETH_STATS_FLOW_CONTROL, in mlx4_en_DUMP_ETH_STATS()
|
D | fw.c | 2645 u32 in_mod; in mlx4_get_phys_port_id() local 2658 in_mod = port << MOD_STAT_CFG_PORT_OFFSET; in mlx4_get_phys_port_id() 2659 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_mod, 0x2, in mlx4_get_phys_port_id() 2680 u32 in_mod = MLX4_WOL_SETUP_MODE | port << 8; in mlx4_wol_read() local 2682 return mlx4_cmd_imm(dev, 0, config, in_mod, 0x3, in mlx4_wol_read() 2690 u32 in_mod = MLX4_WOL_SETUP_MODE | port << 8; in mlx4_wol_write() local 2692 return mlx4_cmd(dev, config, in_mod, 0x1, MLX4_CMD_MOD_STAT_CFG, in mlx4_wol_write() 3028 u32 in_mod; in mlx4_SET_PORT_phv_bit() local 3040 in_mod = MLX4_SET_PORT_GENERAL << 8 | port; in mlx4_SET_PORT_phv_bit() 3041 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_phv_bit()
|
D | mcg.c | 99 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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | cmd.h | 29 u32 in_mod, bool out_mbox_direct, bool reset_ok, 34 u8 opcode_mod, u32 in_mod, char *in_mbox, in mlxsw_cmd_exec_in() argument 37 return mlxsw_cmd_exec(mlxsw_core, opcode, opcode_mod, in_mod, false, in mlxsw_cmd_exec_in() 42 u8 opcode_mod, u32 in_mod, in mlxsw_cmd_exec_out() argument 46 return mlxsw_cmd_exec(mlxsw_core, opcode, opcode_mod, in_mod, in mlxsw_cmd_exec_out() 52 u8 opcode_mod, u32 in_mod) in mlxsw_cmd_exec_none() argument 54 return mlxsw_cmd_exec(mlxsw_core, opcode, opcode_mod, in_mod, false, in mlxsw_cmd_exec_none()
|
D | i2c.c | 244 struct mlxsw_i2c *mlxsw_i2c, u16 opcode, u32 in_mod) in mlxsw_i2c_write_init_cmd() argument 263 prep_cmd_buf[3] = cpu_to_be32(in_mod); in mlxsw_i2c_write_init_cmd() 408 mlxsw_i2c_cmd(struct device *dev, u16 opcode, u32 in_mod, size_t in_mbox_size, in mlxsw_i2c_cmd() argument 455 in_mod); in mlxsw_i2c_cmd() 502 u32 in_mod, bool out_mbox_direct, in mlxsw_i2c_cmd_exec() argument 509 return mlxsw_i2c_cmd(mlxsw_i2c->dev, opcode, in_mod, in_mbox_size, in mlxsw_i2c_cmd_exec()
|
D | core.c | 3254 u32 in_mod, bool out_mbox_direct, bool reset_ok, in mlxsw_cmd_exec() argument 3266 opcode, mlxsw_cmd_opcode_str(opcode), opcode_mod, in_mod); in mlxsw_cmd_exec() 3273 opcode_mod, in_mod, out_mbox_direct, in mlxsw_cmd_exec() 3288 in_mod, status, mlxsw_cmd_status_str(status)); in mlxsw_cmd_exec() 3292 in_mod); in mlxsw_cmd_exec()
|
D | core.h | 485 u32 in_mod, bool out_mbox_direct,
|
D | pci.c | 1769 u32 in_mod, bool out_mbox_direct, in mlxsw_pci_cmd_exec() argument 1799 mlxsw_pci_write32(mlxsw_pci, CIR_IN_MODIFIER, in_mod); in mlxsw_pci_cmd_exec()
|