Lines Matching defs:index
82 /* Return an invalid entry index if not found */
225 mac[dp->index] = default_mac;
241 mac[dp->index].drpuntag = true;
374 l2_lookup[0].index = SJA1105_MAX_L2_LOOKUP_COUNT - 1;
600 from = dl->dp->index;
861 .switchid = priv->ds->index,
1194 u32 index;
1198 if (of_property_read_u32(child, "reg", &index) < 0) {
1210 index);
1226 priv->fixed_link[index] = true;
1231 priv->phy_mode[index] = phy_mode;
1233 err = sja1105_parse_rgmii_delays(priv, index, child);
1506 * holds the FDB entries. An FDB index spans from 0 to 1023 and is comprised of
1525 int index = sja1105et_fdb_index(bin, way);
1531 index, &l2_lookup)) {
1544 /* Return an invalid entry index if not found */
1571 int index = sja1105et_fdb_index(bin, way);
1595 index, NULL, false);
1599 l2_lookup.index = sja1105et_fdb_index(bin, way);
1602 l2_lookup.index, &l2_lookup,
1638 int index, bin, way, rc;
1646 index = sja1105et_fdb_index(bin, way);
1661 index, &l2_lookup, keep);
1686 if (rc == 0 && tmp.index != SJA1105_MAX_L2_LOOKUP_COUNT - 1) {
1695 /* l2_lookup.index is populated by the switch in case it
1716 l2_lookup.index = i;
1722 l2_lookup.index, &l2_lookup,
1732 * is in the FDB at an index smaller than the static one, or isn't (it
1733 * can also be at a larger index, but in that case it is inactive
1749 if (tmp.index < l2_lookup.index) {
1751 tmp.index, NULL, false);
1789 l2_lookup.index, &l2_lookup, keep);
2203 int index;
2209 index = sja1105_find_cbs_shaper(priv, port, offload->queue);
2210 if (index < 0) {
2212 index = sja1105_find_unused_cbs_shaper(priv);
2213 if (index < 0)
2217 cbs = &priv->cbs[index];
2243 return sja1105_dynamic_config_write(priv, BLK_IDX_CBS, index, cbs,
2737 int port = xmit_work->dp->index;
3008 l2_lookup[match].index,