Searched refs:tree_val (Results 1 – 2 of 2) sorted by relevance
402 u8 arg1, arg2, tree_val; in qed_init_cmd_mode_match() local405 tree_val = modes_tree_buf[(*p_offset)++]; in qed_init_cmd_mode_match()406 switch (tree_val) { in qed_init_cmd_mode_match()418 tree_val -= MAX_INIT_MODE_OPS; in qed_init_cmd_mode_match()419 return (modes & BIT(tree_val)) ? 1 : 0; in qed_init_cmd_mode_match()
1801 u8 tree_val = ((u8 *)ptr)[(*modes_buf_offset)++]; in qed_is_mode_match() local1804 switch (tree_val) { in qed_is_mode_match()1811 return (tree_val == INIT_MODE_OP_OR) ? (arg1 || in qed_is_mode_match()1814 return dev_data->mode_enable[tree_val - MAX_INIT_MODE_OPS] > 0; in qed_is_mode_match()