Home
last modified time | relevance | path

Searched refs:ib1 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_ppe.c78 switch (FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, e->ib1)) { in mtk_ppe_hash_entry()
123 int type = FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, entry->ib1); in mtk_foe_entry_l2()
134 int type = FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, entry->ib1); in mtk_foe_entry_ib2()
155 entry->ib1 = val; in mtk_foe_entry_prepare()
208 int type = FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, entry->ib1); in mtk_foe_entry_set_ipv4_tuple()
247 int type = FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, entry->ib1); in mtk_foe_entry_set_ipv6_tuple()
284 if (!(entry->ib1 & MTK_FOE_IB1_BIND_VLAN_LAYER)) in mtk_foe_entry_set_dsa()
285 entry->ib1 |= FIELD_PREP(MTK_FOE_IB1_BIND_VLAN_LAYER, 1); in mtk_foe_entry_set_dsa()
289 entry->ib1 &= ~MTK_FOE_IB1_BIND_VLAN_TAG; in mtk_foe_entry_set_dsa()
298 switch (FIELD_GET(MTK_FOE_IB1_BIND_VLAN_LAYER, entry->ib1)) { in mtk_foe_entry_set_vlan()
[all …]
Dmtk_ppe.h197 u32 ib1; member
257 ppe->foe_table[hash].ib1 = 0; in mtk_foe_entry_clear()
264 u32 ib1 = READ_ONCE(ppe->foe_table[hash].ib1); in mtk_foe_entry_timestamp() local
266 if (FIELD_GET(MTK_FOE_IB1_STATE, ib1) != MTK_FOE_STATE_BIND) in mtk_foe_entry_timestamp()
269 return FIELD_GET(MTK_FOE_IB1_BIND_TIMESTAMP, ib1); in mtk_foe_entry_timestamp()
Dmtk_ppe_debugfs.c92 state = FIELD_GET(MTK_FOE_IB1_STATE, entry->ib1); in mtk_ppe_debugfs_foe_show()
99 type = FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, entry->ib1); in mtk_ppe_debugfs_foe_show()
159 l2->vlan1, l2->vlan2, entry->ib1, ib2); in mtk_ppe_debugfs_foe_show()