Lines Matching defs:index

84 	/* Return an invalid entry index if not found */
227 mac[dp->index] = default_mac;
243 mac[dp->index].drpuntag = true;
376 l2_lookup[0].index = SJA1105_MAX_L2_LOOKUP_COUNT - 1;
602 from = dl->dp->index;
863 .switchid = priv->ds->index,
1196 u32 index;
1200 if (of_property_read_u32(child, "reg", &index) < 0) {
1212 index);
1228 priv->fixed_link[index] = true;
1233 priv->phy_mode[index] = phy_mode;
1235 err = sja1105_parse_rgmii_delays(priv, index, child);
1365 struct dw_xpcs *xpcs = priv->xpcs[dp->index];
1385 sja1105_inhibit_tx(dp->ds->priv, BIT(dp->index), true);
1397 int port = dp->index;
1519 * holds the FDB entries. An FDB index spans from 0 to 1023 and is comprised of
1538 int index = sja1105et_fdb_index(bin, way);
1544 index, &l2_lookup)) {
1557 /* Return an invalid entry index if not found */
1584 int index = sja1105et_fdb_index(bin, way);
1608 index, NULL, false);
1612 l2_lookup.index = sja1105et_fdb_index(bin, way);
1615 l2_lookup.index, &l2_lookup,
1651 int index, bin, way, rc;
1659 index = sja1105et_fdb_index(bin, way);
1674 index, &l2_lookup, keep);
1699 if (rc == 0 && tmp.index != SJA1105_MAX_L2_LOOKUP_COUNT - 1) {
1708 /* l2_lookup.index is populated by the switch in case it
1729 l2_lookup.index = i;
1735 l2_lookup.index, &l2_lookup,
1745 * is in the FDB at an index smaller than the static one, or isn't (it
1746 * can also be at a larger index, but in that case it is inactive
1762 if (tmp.index < l2_lookup.index) {
1764 tmp.index, NULL, false);
1802 l2_lookup.index, &l2_lookup, keep);
2215 int index;
2221 index = sja1105_find_cbs_shaper(priv, port, offload->queue);
2222 if (index < 0) {
2224 index = sja1105_find_unused_cbs_shaper(priv);
2225 if (index < 0)
2229 cbs = &priv->cbs[index];
2255 return sja1105_dynamic_config_write(priv, BLK_IDX_CBS, index, cbs,
2749 int port = xmit_work->dp->index;
3020 l2_lookup[match].index,