Lines Matching refs:location
364 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv4_rule_set()
368 rule_index = fs->location; in bcm_sf2_cfp_ipv4_rule_set()
460 fs->location = rule_index; in bcm_sf2_cfp_ipv4_rule_set()
543 int port, u32 location) in bcm_sf2_cfp_rule_find() argument
548 if (rule->port == port && rule->fs.location == location) in bcm_sf2_cfp_rule_find()
645 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv6_rule_set()
649 rule_index[1] = fs->location; in bcm_sf2_cfp_ipv6_rule_set()
809 fs->location = rule_index[1]; in bcm_sf2_cfp_ipv6_rule_set()
885 if (fs->location != RX_CLS_LOC_ANY && fs->location >= CFP_NUM_RULES) in bcm_sf2_cfp_rule_set()
888 if (fs->location != RX_CLS_LOC_ANY && in bcm_sf2_cfp_rule_set()
889 test_bit(fs->location, priv->cfp.used)) in bcm_sf2_cfp_rule_set()
892 if (fs->location != RX_CLS_LOC_ANY && in bcm_sf2_cfp_rule_set()
893 fs->location > bcm_sf2_cfp_rule_size(priv)) in bcm_sf2_cfp_rule_set()
1016 rule = bcm_sf2_cfp_rule_find(priv, port, nfc->fs.location); in bcm_sf2_cfp_rule_get()
1107 ret = bcm_sf2_cfp_rule_del(priv, port, nfc->fs.location); in bcm_sf2_set_rxnfc()
1126 bcm_sf2_cfp_rule_del(priv, port, nfc->fs.location); in bcm_sf2_set_rxnfc()
1168 bcm_sf2_cfp_rule_del(priv, rule->port, rule->fs.location); in bcm_sf2_cfp_exit()
1191 rule->fs.location); in bcm_sf2_cfp_resume()