Lines Matching refs:stream_entry

1844 	struct felix_stream *stream_entry;  in vsc9959_stream_table_add()  local
1847 stream_entry = kmemdup(stream, sizeof(*stream_entry), GFP_KERNEL); in vsc9959_stream_table_add()
1848 if (!stream_entry) in vsc9959_stream_table_add()
1852 ret = vsc9959_mact_stream_set(ocelot, stream_entry, extack); in vsc9959_stream_table_add()
1854 kfree(stream_entry); in vsc9959_stream_table_add()
1859 list_add_tail(&stream_entry->list, stream_list); in vsc9959_stream_table_add()
2237 struct felix_stream *stream_entry; in vsc9959_psfp_filter_add() local
2311 stream_entry = vsc9959_stream_table_lookup(&psfp->stream_list, &stream); in vsc9959_psfp_filter_add()
2312 if (stream_entry) { in vsc9959_psfp_filter_add()
2313 if (stream_entry->ports & BIT(port)) { in vsc9959_psfp_filter_add()
2320 if (stream_entry->ports != BIT(stream_entry->port)) { in vsc9959_psfp_filter_add()
2327 stream_entry->ports |= BIT(port); in vsc9959_psfp_filter_add()
2328 stream.ports = stream_entry->ports; in vsc9959_psfp_filter_add()
2331 stream_entry->sfid); in vsc9959_psfp_filter_add()
2334 vsc9959_psfp_sfi_table_del(ocelot, stream_entry->sfid); in vsc9959_psfp_filter_add()
2336 old_sfi.portmask = stream_entry->ports; in vsc9959_psfp_filter_add()
2339 if (stream_entry->port > port) { in vsc9959_psfp_filter_add()
2342 stream_entry->dummy = true; in vsc9959_psfp_filter_add()
2351 stream_entry->sfid = old_sfi.index; in vsc9959_psfp_filter_add()
2386 struct felix_stream *stream, tmp, *stream_entry; in vsc9959_psfp_filter_del() local
2417 stream_entry = vsc9959_stream_table_lookup(&psfp->stream_list, &tmp); in vsc9959_psfp_filter_del()
2418 if (stream_entry) { in vsc9959_psfp_filter_del()
2419 stream_entry->ports = BIT(stream_entry->port); in vsc9959_psfp_filter_del()
2420 if (stream_entry->dummy) { in vsc9959_psfp_filter_del()
2421 stream_entry->dummy = false; in vsc9959_psfp_filter_del()
2422 vsc9959_mact_stream_set(ocelot, stream_entry, NULL); in vsc9959_psfp_filter_del()
2424 vsc9959_psfp_sfidmask_set(ocelot, stream_entry->sfid, in vsc9959_psfp_filter_del()
2425 stream_entry->ports); in vsc9959_psfp_filter_del()