Searched refs:foe (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 55 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() 186 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() argument 194 mtk_foe_entry_set_wdma(eth, foe, info.wdma_idx, info.queue, in mtk_flow_set_output_device() 216 mtk_foe_entry_set_dsa(eth, foe, dsa_port); in mtk_flow_set_output_device() 226 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device() 237 struct mtk_foe_entry foe; in mtk_flow_offload_replace() local 350 err = mtk_foe_entry_prepare(eth, &foe, offload_type, l4proto, 0, in mtk_flow_offload_replace() [all …]
|
D | mtk_ppe.c | 499 struct mtk_foe_entry foe = {}; in mtk_flow_entry_update() local 513 memcpy(&foe, hwe, ppe->eth->soc->foe_entry_size); in mtk_flow_entry_update() 514 if (!mtk_flow_entry_match(ppe->eth, entry, &foe)) { in mtk_flow_entry_update() 519 entry->data.ib1 = foe.ib1; in mtk_flow_entry_update() 593 struct mtk_foe_entry foe = {}, *hwe; in mtk_foe_entry_commit_subflow() local 611 memcpy(&foe, hwe, soc->foe_entry_size); in mtk_foe_entry_commit_subflow() 612 foe.ib1 &= ib1_mask; in mtk_foe_entry_commit_subflow() 613 foe.ib1 |= entry->data.ib1 & ~ib1_mask; in mtk_foe_entry_commit_subflow() 615 l2 = mtk_foe_entry_l2(ppe->eth, &foe); in mtk_foe_entry_commit_subflow() 618 type = mtk_get_ib1_pkt_type(ppe->eth, foe.ib1); in mtk_foe_entry_commit_subflow() [all …]
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.c | 228 s16 foe = FIELD_GET(MT_RXV5_FOE, rxv5); in mt7615_mac_fill_tm_rx() local 233 foe &= ~BIT(11); in mt7615_mac_fill_tm_rx() 234 foe *= 1000; in mt7615_mac_fill_tm_rx() 235 foe >>= 11; in mt7615_mac_fill_tm_rx() 237 if (foe > 2048) in mt7615_mac_fill_tm_rx() 238 foe -= 4096; in mt7615_mac_fill_tm_rx() 240 foe = (foe * foe_const) >> 15; in mt7615_mac_fill_tm_rx() 243 phy->test.last_freq_offset = foe; in mt7615_mac_fill_tm_rx()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 511 s32 foe; in mt7915_mac_fill_rx_vector() local 538 foe = FIELD_GET(MT_CRXV_FOE_LO, v20) | in mt7915_mac_fill_rx_vector() 543 phy->test.last_freq_offset = foe; in mt7915_mac_fill_rx_vector()
|