Lines Matching defs:index
1715 u32 index;
1728 u32 index;
1742 u32 index;
1899 if (sfi->index > VSC9959_PSFP_SFID_MAX)
1903 ocelot_write(ocelot, ANA_TABLES_SFIDTIDX_SFID_INDEX(sfi->index),
1923 ANA_TABLES_SFIDTIDX_SFID_INDEX(sfi->index),
1981 vsc9959_psfp_sfidmask_set(ocelot, sfi->index, sfi->portmask);
2006 sfi->index = tmp->index;
2010 /* Make sure that the index is increasing in order. */
2011 if (tmp->index == insert) {
2016 sfi->index = insert;
2036 /* Make sure that the index is increasing in order. */
2037 if (tmp->index >= insert + 2)
2040 insert = tmp->index + 1;
2043 sfi->index = insert;
2049 sfi2->index = insert + 1;
2055 vsc9959_psfp_sfi_table_get(struct list_head *sfi_list, u32 index)
2060 if (tmp->index == index)
2066 static void vsc9959_psfp_sfi_table_del(struct ocelot *ocelot, u32 index)
2075 if (tmp->index == index) {
2090 sgi->index = entry->hw_index;
2116 if (sgi->index > VSC9959_PSFP_GATE_ID_MAX)
2119 ocelot_write(ocelot, ANA_SG_ACCESS_CTRL_SGID(sgi->index),
2187 if (tmp->index == sgi->index) {
2202 tmp->index = sgi->index;
2210 u32 index)
2220 if (tmp->index == index) {
2223 sgi.index = index;
2247 u32 index;
2275 sfi.sgid = sgi->index;
2279 index = a->hw_index + VSC9959_PSFP_POLICER_BASE;
2280 if (index > VSC9959_PSFP_POLICER_MAX) {
2291 ret = ocelot_vcap_policer_add(ocelot, index, &pol);
2296 sfi.fmid = index;
2354 stream_entry->sfid = old_sfi.index;
2361 stream.sfid = sfi.index;
2441 u32 sfid = sfi->index;