Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mediatek/
A Dmtk_ppe_offload.c61 return mtk_foe_entry_set_ipv4_tuple(foe, egress, in mtk_flow_set_ipv4_addr()
158 mtk_foe_entry_set_dsa(foe, dsa_port); in mtk_flow_set_output_device()
167 mtk_foe_entry_set_pse_port(foe, pse_port); in mtk_flow_set_output_device()
178 struct mtk_foe_entry foe; in mtk_flow_offload_replace() local
264 err = mtk_foe_entry_prepare(&foe, offload_type, l4proto, 0, in mtk_flow_offload_replace()
288 mtk_flow_set_ipv4_addr(&foe, &data, false); in mtk_flow_offload_replace()
315 err = mtk_flow_set_ipv4_addr(&foe, &data, true); in mtk_flow_offload_replace()
324 mtk_foe_entry_set_vlan(&foe, data.vlan.id); in mtk_flow_offload_replace()
327 mtk_foe_entry_set_pppoe(&foe, data.pppoe.sid); in mtk_flow_offload_replace()
329 err = mtk_flow_set_output_device(eth, &foe, odev); in mtk_flow_offload_replace()
[all …]
A Dmtk_ppe.c372 struct mtk_foe_entry *foe; in mtk_ppe_init() local
381 foe = dmam_alloc_coherent(ppe->dev, MTK_PPE_ENTRIES * sizeof(*foe), in mtk_ppe_init()
383 if (!foe) in mtk_ppe_init()
386 ppe->foe_table = foe; in mtk_ppe_init()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmac.c227 s16 foe = FIELD_GET(MT_RXV5_FOE, rxv5); in mt7615_mac_fill_tm_rx() local
232 foe &= ~BIT(11); in mt7615_mac_fill_tm_rx()
233 foe *= 1000; in mt7615_mac_fill_tm_rx()
234 foe >>= 11; in mt7615_mac_fill_tm_rx()
236 if (foe > 2048) in mt7615_mac_fill_tm_rx()
237 foe -= 4096; in mt7615_mac_fill_tm_rx()
239 foe = (foe * foe_const) >> 15; in mt7615_mac_fill_tm_rx()
242 phy->test.last_freq_offset = foe; in mt7615_mac_fill_tm_rx()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.c717 s32 foe; in mt7915_mac_fill_rx_vector() local
741 foe = FIELD_GET(MT_CRXV_FOE_LO, v20) | in mt7915_mac_fill_rx_vector()
746 phy->test.last_freq_offset = foe; in mt7915_mac_fill_rx_vector()

Completed in 16 milliseconds