Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c170 ret = find_first_bit(&cmd->vars.bitmask, cmd->vars.max_reg_cmds); in cmd_alloc_index()
171 if (ret < cmd->vars.max_reg_cmds) { in cmd_alloc_index()
178 return ret < cmd->vars.max_reg_cmds ? ret : -ENOMEM; in cmd_alloc_index()
1030 ent->idx = cmd->vars.max_reg_cmds; in cmd_work_handler()
1223 if (bitmap_weight(&cmd->vars.bitmask, cmd->vars.max_reg_cmds) > 0) { in mlx5_cmd_all_stalled()
1228 for_each_clear_bit(i, &cmd->vars.bitmask, cmd->vars.max_reg_cmds) { in mlx5_cmd_all_stalled()
1661 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1668 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1677 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1684 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
[all …]
H A Ddebugfs.c189 weight = bitmap_weight(&cmd->vars.bitmask, cmd->vars.max_reg_cmds); in slots_read()
190 field = cmd->vars.max_reg_cmds - weight; in slots_read()
/linux/include/linux/mlx5/
H A Ddriver.h305 int max_reg_cmds; member