Searched refs:foe (Results 1 – 6 of 6) sorted by relevance
| /drivers/net/ethernet/mediatek/ |
| A D | mtk_ppe_offload.c | 60 return mtk_foe_entry_set_ipv4_tuple(eth, foe, egress, in mtk_flow_set_ipv4_addr() 69 return mtk_foe_entry_set_ipv6_tuple(eth, foe, in mtk_flow_set_ipv6_addr() 232 mtk_foe_entry_set_dsa(eth, foe, dsa_port); in mtk_flow_set_output_device() 237 mtk_foe_entry_set_queue(eth, foe, queue); in mtk_flow_set_output_device() 240 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device() 253 struct mtk_foe_entry foe; in mtk_flow_offload_replace() local 407 mtk_flow_set_ipv4_addr(eth, &foe, &data, false); in mtk_flow_offload_replace() 418 mtk_flow_set_ipv6_addr(eth, &foe, &data); in mtk_flow_offload_replace() 454 foe.bridge.vlan = data.vlan_in; in mtk_flow_offload_replace() 460 mtk_foe_entry_set_pppoe(eth, &foe, data.pppoe.sid); in mtk_flow_offload_replace() [all …]
|
| A D | mtk_ppe.c | 590 struct mtk_foe_entry foe = {}; in mtk_flow_entry_update() local 610 entry->data.ib1 = foe.ib1; in mtk_flow_entry_update() 703 struct mtk_foe_entry foe = {}, *hwe; in mtk_foe_entry_commit_subflow() local 720 memcpy(&foe, hwe, soc->foe_entry_size); in mtk_foe_entry_commit_subflow() 721 foe.ib1 &= ib1_mask; in mtk_foe_entry_commit_subflow() 724 l2 = mtk_foe_entry_l2(ppe->eth, &foe); in mtk_foe_entry_commit_subflow() 729 memcpy(&foe.ipv4.new, &foe.ipv4.orig, sizeof(foe.ipv4.new)); in mtk_foe_entry_commit_subflow() 886 void *foe; in mtk_ppe_init() local 903 foe = dmam_alloc_coherent(ppe->dev, in mtk_ppe_init() 906 if (!foe) in mtk_ppe_init() [all …]
|
| /drivers/net/ethernet/airoha/ |
| A D | airoha_ppe.c | 517 u32 *hwe = ppe->foe + hash * sizeof(struct airoha_foe_entry); in airoha_ppe_foe_get_entry_locked() 539 return ppe->foe + hash * sizeof(struct airoha_foe_entry); in airoha_ppe_foe_get_entry_locked() 575 struct airoha_foe_entry *hwe = ppe->foe + hash * sizeof(*hwe); in airoha_ppe_foe_commit_entry() 1190 struct airoha_foe_entry *hwe = ppe->foe; in airoha_ppe_flush_sram_entries() 1312 ppe->foe = dmam_alloc_coherent(eth->dev, foe_size, &ppe->foe_dma, in airoha_ppe_init() 1314 if (!ppe->foe) in airoha_ppe_init()
|
| A D | airoha_eth.h | 540 void *foe; member
|
| /drivers/net/wireless/mediatek/mt76/mt7615/ |
| A D | mac.c | 223 s16 foe = FIELD_GET(MT_RXV5_FOE, rxv5); in mt7615_mac_fill_tm_rx() local 228 foe &= ~BIT(11); in mt7615_mac_fill_tm_rx() 229 foe *= 1000; in mt7615_mac_fill_tm_rx() 230 foe >>= 11; in mt7615_mac_fill_tm_rx() 232 if (foe > 2048) in mt7615_mac_fill_tm_rx() 233 foe -= 4096; in mt7615_mac_fill_tm_rx() 235 foe = (foe * foe_const) >> 15; in mt7615_mac_fill_tm_rx() 238 phy->test.last_freq_offset = foe; in mt7615_mac_fill_tm_rx()
|
| /drivers/net/wireless/mediatek/mt76/mt7915/ |
| A D | mac.c | 569 s32 foe; in mt7915_mac_fill_rx_vector() local 596 foe = FIELD_GET(MT_CRXV_FOE_LO, v20) | in mt7915_mac_fill_rx_vector() 601 phy->test.last_freq_offset = foe; in mt7915_mac_fill_rx_vector()
|
Completed in 29 milliseconds