Lines Matching defs:nfc
2167 struct ethtool_rxnfc *nfc)
2172 index = bcm_sysport_rule_find(priv, nfc->fs.location);
2176 nfc->fs.ring_cookie = RX_CLS_FLOW_WAKE;
2182 struct ethtool_rxnfc *nfc)
2190 if (nfc->fs.location > RXCHK_BRCM_TAG_CID_MASK)
2194 if (nfc->fs.ring_cookie != RX_CLS_FLOW_WAKE)
2207 reg |= nfc->fs.location << RXCHK_BRCM_TAG_CID_SHIFT;
2211 priv->filters_loc[index] = nfc->fs.location;
2237 struct ethtool_rxnfc *nfc, u32 *rule_locs)
2242 switch (nfc->cmd) {
2244 ret = bcm_sysport_rule_get(priv, nfc);
2254 struct ethtool_rxnfc *nfc)
2259 switch (nfc->cmd) {
2261 ret = bcm_sysport_rule_set(priv, nfc);
2264 ret = bcm_sysport_rule_del(priv, nfc->fs.location);