Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c125 ret = find_first_bit(&cmd->bitmask, cmd->max_reg_cmds); in cmd_alloc_index()
126 if (ret < cmd->max_reg_cmds) in cmd_alloc_index()
130 return ret < cmd->max_reg_cmds ? ret : -ENOMEM; in cmd_alloc_index()
978 ent->idx = cmd->max_reg_cmds; in cmd_work_handler()
1561 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1568 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1577 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_change_mod()
1584 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_change_mod()
1762 for (i = 0; i < cmd->max_reg_cmds; i++) { in mlx5_cmd_flush()
1776 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_flush()
[all …]
Ddebugfs.c179 weight = bitmap_weight(&cmd->bitmask, cmd->max_reg_cmds); in slots_read()
180 field = cmd->max_reg_cmds - weight; in slots_read()
/linux-6.1.9/include/linux/mlx5/
Ddriver.h294 int max_reg_cmds; member