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.c165 ret = find_first_bit(&cmd->vars.bitmask, cmd->vars.max_reg_cmds); in cmd_alloc_index()
166 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()
1014 ent->idx = cmd->vars.max_reg_cmds; in cmd_work_handler()
1598 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1605 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1614 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1621 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1763 #define MLX5_CMD_MASK ((1UL << (cmd->vars.max_reg_cmds + \
1806 for (i = 0; i < cmd->vars.max_reg_cmds; i++) { in mlx5_cmd_flush()
[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