Searched refs:IS_BIT_SET (Results 1 – 4 of 4) sorted by relevance
8 return IS_BIT_SET(ctx->caps->rtc_reparse_mode, MLX5_IFC_RTC_REPARSE_BY_STC); in mlx5hws_context_cap_dynamic_reparse()119 !IS_BIT_SET(caps->rtc_reparse_mode, MLX5_IFC_RTC_REPARSE_ALWAYS)) { in hws_context_check_hws_supp()125 if (!IS_BIT_SET(caps->ste_format, MLX5_IFC_RTC_STE_FORMAT_8DW)) { in hws_context_check_hws_supp()131 if (!IS_BIT_SET(caps->rtc_index_mode, MLX5_IFC_RTC_STE_UPDATE_MODE_BY_HASH) || in hws_context_check_hws_supp()132 !IS_BIT_SET(caps->rtc_index_mode, MLX5_IFC_RTC_STE_UPDATE_MODE_BY_OFFSET)) { in hws_context_check_hws_supp()138 if (!IS_BIT_SET(caps->definer_format_sup, MLX5_IFC_DEFINER_FORMAT_ID_SELECT)) { in hws_context_check_hws_supp()
35 #define IS_BIT_SET(_value, _bit) ((_value) & (1ULL << (_bit))) macro
744 !IS_BIT_SET(caps->access_index_mode, in hws_matcher_validate_insert_mode()
1595 if (!IS_BIT_SET(ctx->caps->supp_ste_format_gen_wqe, MLX5_IFC_RTC_STE_FORMAT_RANGE)) { in hws_action_create_dest_match_range_table()