Lines Matching refs:location
19 TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location; in tsnep_enable_rule()
24 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_enable_rule()
34 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_disable_rule()
39 int location) in tsnep_get_rule() argument
44 if (rule->location == location) in tsnep_get_rule()
46 if (rule->location > location) in tsnep_get_rule()
62 if (cur->location >= rule->location) in tsnep_add_rule()
104 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_get_rule()
142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all()
156 int location = 0; in tsnep_rxnfc_find_location() local
159 if (tmp->location == location) in tsnep_rxnfc_find_location()
160 location++; in tsnep_rxnfc_find_location()
162 return location; in tsnep_rxnfc_find_location()
165 if (location >= adapter->rxnfc_max) in tsnep_rxnfc_find_location()
168 return location; in tsnep_rxnfc_find_location()
177 rule->location = fsp->location; in tsnep_rxnfc_init_rule()
191 tmp->location != rule->location) { in tsnep_rxnfc_check_rule()
227 if (fsp->location != RX_CLS_LOC_ANY && in tsnep_rxnfc_add_rule()
228 fsp->location >= adapter->rxnfc_max) { in tsnep_rxnfc_add_rule()
240 if (fsp->location == RX_CLS_LOC_ANY) { in tsnep_rxnfc_add_rule()
244 fsp->location = retval; in tsnep_rxnfc_add_rule()
253 old_rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_add_rule()
278 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_del_rule()