Searched refs:ib1 (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 149 switch (mtk_get_ib1_pkt_type(eth, e->ib1)) { in mtk_ppe_hash_entry() 187 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_l2() 201 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_ib2() 226 entry->ib1 = val; in mtk_foe_entry_prepare() 237 entry->ib1 = val; in mtk_foe_entry_prepare() 302 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_set_ipv4_tuple() 342 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_set_ipv6_tuple() 377 if (!(entry->ib1 & mtk_get_ib1_vlan_layer_mask(eth))) in mtk_foe_entry_set_dsa() 378 entry->ib1 |= mtk_prep_ib1_vlan_layer(eth, 1); in mtk_foe_entry_set_dsa() 382 entry->ib1 in mtk_foe_entry_set_dsa() 542 __mtk_foe_entry_idle_time(struct mtk_ppe * ppe,u32 ib1) __mtk_foe_entry_idle_time() argument 566 u32 ib1; mtk_flow_entry_update_l2() local [all...] |
H A D | mtk_ppe.h | 240 u32 ib1; member
|
/linux/drivers/net/ethernet/airoha/ |
H A D | airoha_ppe.c | 237 hwe->ib1 = val; in airoha_ppe_foe_entry_prepare() 330 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv4_tuple() 364 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv6_tuple() 390 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_get_entry_hash() 471 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_flow_stats_update() 557 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, e->data.ib1); in airoha_ppe_foe_compare_entry() 560 if ((hwe->ib1 ^ e->data.ib1) & AIROHA_FOE_IB1_BIND_UDP) in airoha_ppe_foe_compare_entry() 568 return !memcmp(&e->data.d, &hwe->d, len - sizeof(hwe->ib1)); in airoha_ppe_foe_compare_entry() 581 memcpy(&hwe->d, &e->d, sizeof(*hwe) - sizeof(hwe->ib1)); in airoha_ppe_foe_commit_entry() 801 airoha_ppe_get_entry_idle_time(struct airoha_ppe * ppe,u32 ib1) airoha_ppe_get_entry_idle_time() argument 832 u32 ib1, state; airoha_ppe_foe_flow_l2_entry_update() local [all...] |
H A D | airoha_ppe_debugfs.c | 74 state = FIELD_GET(AIROHA_FOE_IB1_BIND_STATE, hwe->ib1); in airoha_ppe_debugfs_foe_show() 82 type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_debugfs_foe_show() 155 " vlan=%d,%d ib1=%08x ib2=%08x" in airoha_ppe_debugfs_foe_show() 158 l2->vlan1, l2->vlan2, hwe->ib1, ib2, in airoha_ppe_debugfs_foe_show()
|
H A D | airoha_eth.h | 404 u32 ib1; member
|