Lines Matching refs:lookup
19 #define VCAP_IS1_CHAIN(lookup) \ argument
20 (1 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP)
21 #define VCAP_IS2_CHAIN(lookup, pag) \ argument
22 (2 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP + (pag))
26 int lookup, pag; in ocelot_chain_to_block() local
40 for (lookup = 0; lookup < VCAP_IS1_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block()
41 if (chain == VCAP_IS1_CHAIN(lookup)) in ocelot_chain_to_block()
44 for (lookup = 0; lookup < VCAP_IS2_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block()
46 if (chain == VCAP_IS2_CHAIN(lookup, pag)) in ocelot_chain_to_block()
65 int lookup = ocelot_chain_to_lookup(chain); in ocelot_chain_to_pag() local
68 return chain - VCAP_IS2_CHAIN(lookup, 0); in ocelot_chain_to_pag()
228 filter->lookup = ocelot_chain_to_lookup(chain); in ocelot_flower_parse_action()
273 filter->lookup != 0) { in ocelot_flower_parse_action()
369 if (filter->block_id == VCAP_IS1 && filter->lookup == 2) { in ocelot_flower_parse_action()
409 if ((filter->block_id == VCAP_IS2 && filter->lookup == 1) || in ocelot_flower_parse_action()