Home
last modified time | relevance | path

Searched refs:foe (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c55 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr() argument
58 return mtk_foe_entry_set_ipv4_tuple(eth, foe, egress, in mtk_flow_set_ipv4_addr()
64 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() argument
67 return mtk_foe_entry_set_ipv6_tuple(eth, foe, in mtk_flow_set_ipv6_addr()
187 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() argument
195 mtk_foe_entry_set_wdma(eth, foe, info.wdma_idx, info.queue, in mtk_flow_set_output_device()
230 mtk_foe_entry_set_dsa(eth, foe, dsa_port); in mtk_flow_set_output_device()
235 mtk_foe_entry_set_queue(eth, foe, queue); in mtk_flow_set_output_device()
238 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device()
251 struct mtk_foe_entry foe; in mtk_flow_offload_replace() local
[all …]
Dmtk_ppe.c590 struct mtk_foe_entry foe = {}; in mtk_flow_entry_update() local
604 memcpy(&foe, hwe, ppe->eth->soc->foe_entry_size); in mtk_flow_entry_update()
605 if (!mtk_flow_entry_match(ppe->eth, entry, &foe)) { in mtk_flow_entry_update()
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()
722 foe.ib1 |= entry->data.ib1 & ~ib1_mask; in mtk_foe_entry_commit_subflow()
724 l2 = mtk_foe_entry_l2(ppe->eth, &foe); in mtk_foe_entry_commit_subflow()
727 type = mtk_get_ib1_pkt_type(ppe->eth, foe.ib1); in mtk_foe_entry_commit_subflow()
[all …]
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c226 s16 foe = FIELD_GET(MT_RXV5_FOE, rxv5); in mt7615_mac_fill_tm_rx() local
231 foe &= ~BIT(11); in mt7615_mac_fill_tm_rx()
232 foe *= 1000; in mt7615_mac_fill_tm_rx()
233 foe >>= 11; in mt7615_mac_fill_tm_rx()
235 if (foe > 2048) in mt7615_mac_fill_tm_rx()
236 foe -= 4096; in mt7615_mac_fill_tm_rx()
238 foe = (foe * foe_const) >> 15; in mt7615_mac_fill_tm_rx()
241 phy->test.last_freq_offset = foe; in mt7615_mac_fill_tm_rx()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c576 s32 foe; in mt7915_mac_fill_rx_vector() local
603 foe = FIELD_GET(MT_CRXV_FOE_LO, v20) | in mt7915_mac_fill_rx_vector()
608 phy->test.last_freq_offset = foe; in mt7915_mac_fill_rx_vector()