Searched refs:tree_val (Results 1 – 2 of 2) sorted by relevance
502 u8 arg1, arg2, tree_val; in qed_init_cmd_mode_match() local505 tree_val = modes_tree_buf[(*p_offset)++]; in qed_init_cmd_mode_match()506 switch (tree_val) { in qed_init_cmd_mode_match()518 tree_val -= MAX_INIT_MODE_OPS; in qed_init_cmd_mode_match()519 return (modes & BIT(tree_val)) ? 1 : 0; in qed_init_cmd_mode_match()
1426 u8 tree_val; in qed_is_mode_match_rec() local1436 tree_val = dbg_array[(*modes_buf_offset)++]; in qed_is_mode_match_rec()1438 switch (tree_val) { in qed_is_mode_match_rec()1448 return (tree_val == INIT_MODE_OP_OR) ? (arg1 || in qed_is_mode_match_rec()1451 return dev_data->mode_enable[tree_val - MAX_INIT_MODE_OPS] > 0; in qed_is_mode_match_rec()