Searched refs:ib1 (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe.c | 226 entry->ib1 = val; in mtk_foe_entry_prepare() 237 entry->ib1 = val; in mtk_foe_entry_prepare() 488 if ((data->ib1 ^ entry->data.ib1) & MTK_FOE_IB1_UDP) in mtk_flow_entry_match() 520 hwe->ib1 &= ~MTK_FOE_IB1_STATE; in __mtk_foe_entry_clear() 566 u32 ib1; in mtk_flow_entry_update_l2() local 569 ib1 = READ_ONCE(hwe->ib1); in mtk_flow_entry_update_l2() 583 entry->data.ib1 |= ib1 & ib1_ts_mask; in mtk_flow_entry_update_l2() 610 entry->data.ib1 = foe.ib1; in mtk_flow_entry_update() 638 hwe->ib1 = entry->ib1; in __mtk_foe_entry_commit() 721 foe.ib1 &= ib1_mask; in mtk_foe_entry_commit_subflow() [all …]
|
| H A D | mtk_ppe_debugfs.c | 93 state = FIELD_GET(MTK_FOE_IB1_STATE, entry->ib1); in mtk_ppe_debugfs_foe_show() 102 type = mtk_get_ib1_pkt_type(ppe->eth, entry->ib1); in mtk_ppe_debugfs_foe_show() 163 l2->vlan1, l2->vlan2, entry->ib1, ib2, in mtk_ppe_debugfs_foe_show()
|
| H A D | mtk_ppe.h | 240 u32 ib1; member
|
| /linux-6.15/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 218 hwe->ib1 = val; in airoha_ppe_foe_entry_prepare() 300 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv4_tuple() 432 if ((hwe->ib1 ^ e->data.ib1) & AIROHA_FOE_IB1_BIND_UDP) in airoha_ppe_foe_compare_entry() 440 return !memcmp(&e->data.d, &hwe->d, len - sizeof(hwe->ib1)); in airoha_ppe_foe_compare_entry() 451 memcpy(&hwe->d, &e->d, sizeof(*hwe) - sizeof(hwe->ib1)); in airoha_ppe_foe_commit_entry() 454 e->ib1 &= ~AIROHA_FOE_IB1_BIND_TIMESTAMP; in airoha_ppe_foe_commit_entry() 455 e->ib1 |= FIELD_PREP(AIROHA_FOE_IB1_BIND_TIMESTAMP, ts); in airoha_ppe_foe_commit_entry() 456 hwe->ib1 = e->ib1; in airoha_ppe_foe_commit_entry() 492 state = FIELD_GET(AIROHA_FOE_IB1_BIND_STATE, hwe->ib1); in airoha_ppe_foe_insert_entry() 529 e->data.ib1 &= ~AIROHA_FOE_IB1_BIND_STATE; in airoha_ppe_foe_flow_remove_entry() [all …]
|
| H A D | airoha_ppe_debugfs.c | 73 state = FIELD_GET(AIROHA_FOE_IB1_BIND_STATE, hwe->ib1); in airoha_ppe_debugfs_foe_show() 81 type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_debugfs_foe_show() 154 l2->vlan1, l2->vlan2, hwe->ib1, ib2); in airoha_ppe_debugfs_foe_show()
|
| H A D | airoha_eth.h | 381 u32 ib1; member
|