Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mediatek/
A Dmtk_ppe.c78 switch (FIELD_GET(MTK_FOE_IB1_PACKET_TYPE, e->ib1)) { in mtk_ppe_hash_entry()
155 entry->ib1 = val; in mtk_foe_entry_prepare()
284 if (!(entry->ib1 & MTK_FOE_IB1_BIND_VLAN_LAYER)) in mtk_foe_entry_set_dsa()
289 entry->ib1 &= ~MTK_FOE_IB1_BIND_VLAN_TAG; in mtk_foe_entry_set_dsa()
300 entry->ib1 |= MTK_FOE_IB1_BIND_VLAN_TAG | in mtk_foe_entry_set_vlan()
305 if (!(entry->ib1 & MTK_FOE_IB1_BIND_VLAN_TAG)) { in mtk_foe_entry_set_vlan()
323 (entry->ib1 & MTK_FOE_IB1_BIND_VLAN_TAG)) in mtk_foe_entry_set_pppoe()
326 entry->ib1 |= MTK_FOE_IB1_BIND_PPPOE; in mtk_foe_entry_set_pppoe()
334 return !(entry->ib1 & MTK_FOE_IB1_STATIC) && in mtk_foe_entry_usable()
345 entry->ib1 &= ~MTK_FOE_IB1_BIND_TIMESTAMP; in mtk_foe_entry_commit()
[all …]
A 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()
A 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()

Completed in 6 milliseconds