Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_ops.c442 u8 arg1, arg2, tree_val; local
445 tree_val = modes_tree_buf[(*p_offset)++];
446 switch(tree_val) {
458 tree_val -= MAX_INIT_MODE_OPS;
459 return (modes & (1 << tree_val)) ? 1 : 0;
H A Decore_dbg_fw_funcs.c2701 u8 tree_val; in ecore_is_mode_match() local
2704 tree_val = ((u8*)s_dbg_arrays[BIN_BUF_DBG_MODE_TREE].ptr)[(*modes_buf_offset)++]; in ecore_is_mode_match()
2706 switch (tree_val) { in ecore_is_mode_match()
2713 return (tree_val == INIT_MODE_OP_OR) ? (arg1 || arg2) : (arg1 && arg2); in ecore_is_mode_match()
2714 default: return dev_data->mode_enable[tree_val - MAX_INIT_MODE_OPS] > 0; in ecore_is_mode_match()