Home
last modified time | relevance | path

Searched refs:log_sz (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/linux/mlx5/
Ddriver.h309 u8 log_sz; member
367 u8 log_sz; member
922 u8 log_sz; member
997 static inline void mlx5_fill_fbc_offset(u8 log_stride, u8 log_sz, in mlx5_fill_fbc_offset() argument
1002 fbc->log_sz = log_sz; in mlx5_fill_fbc_offset()
1003 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_fill_fbc_offset()
1009 static inline void mlx5_fill_fbc(u8 log_stride, u8 log_sz, in mlx5_fill_fbc() argument
1012 mlx5_fill_fbc_offset(log_stride, log_sz, 0, fbc); in mlx5_fill_fbc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1449 for (i = 0; i < (1 << cmd->log_sz); i++) { in mlx5_cmd_comp_handler()
1804 cmd->log_sz = cmd_l >> 4 & 0xf; in mlx5_cmd_init()
1806 if (1 << cmd->log_sz > MLX5_MAX_COMMANDS) { in mlx5_cmd_init()
1808 1 << cmd->log_sz); in mlx5_cmd_init()
1813 if (cmd->log_sz + cmd->log_stride > MLX5_ADAPTER_PAGE_SHIFT) { in mlx5_cmd_init()
1820 cmd->max_reg_cmds = (1 << cmd->log_sz) - 1; in mlx5_cmd_init()
Dwq.h187 return ctr >> wq->fbc.log_sz; in mlx5_cqwq_get_ctr_wrap_cnt()
Dhealth.c86 vector = ~dev->cmd.bitmask & ((1ul << (1 << dev->cmd.log_sz)) - 1); in trigger_cmd_completions()
Den_rx.c109 cq->title.op_own |= 0x01 & (cqcc >> cq->wq.fbc.log_sz); in mlx5e_decompress_cqe()