Home
last modified time | relevance | path

Searched refs:tree_val (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c402 u8 arg1, arg2, tree_val; in qed_init_cmd_mode_match() local
405 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()
Dqed_debug.c1801 u8 tree_val = ((u8 *)ptr)[(*modes_buf_offset)++]; in qed_is_mode_match() local
1804 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()