Home
last modified time | relevance | path

Searched refs:max_reg_cmds (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c166 if (ret < cmd->vars.max_reg_cmds) { in cmd_alloc_index()
173 return ret < cmd->vars.max_reg_cmds ? ret : -ENOMEM; in cmd_alloc_index()
1013 ent->idx = cmd->vars.max_reg_cmds; in cmd_work_handler()
1597 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1604 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1613 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1620 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1805 for (i = 0; i < cmd->vars.max_reg_cmds; i++) { in mlx5_cmd_flush()
1819 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_flush()
2281 cmd->vars.max_reg_cmds = (1 << cmd->vars.log_sz) - 1; in mlx5_cmd_enable()
[all …]
H A Ddebugfs.c179 weight = bitmap_weight(&cmd->vars.bitmask, cmd->vars.max_reg_cmds); in slots_read()
180 field = cmd->vars.max_reg_cmds - weight; in slots_read()
/openbmc/linux/include/linux/mlx5/
H A Ddriver.h296 int max_reg_cmds; member