Searched refs:foe (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A 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() 226 mtk_foe_entry_set_dsa(eth, foe, dsa_port); in mtk_flow_set_output_device() 231 mtk_foe_entry_set_queue(eth, foe, queue); in mtk_flow_set_output_device() 234 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device() 246 struct mtk_foe_entry foe; in mtk_flow_offload_replace() local [all …]
|
H A D | mtk_ppe.c | 588 struct mtk_foe_entry foe = {}; in mtk_flow_entry_update() local 602 memcpy(&foe, hwe, ppe->eth->soc->foe_entry_size); in mtk_flow_entry_update() 603 if (!mtk_flow_entry_match(ppe->eth, entry, &foe)) { in mtk_flow_entry_update() 608 entry->data.ib1 = foe.ib1; in mtk_flow_entry_update() 701 struct mtk_foe_entry foe = {}, *hwe; in mtk_foe_entry_commit_subflow() local 718 memcpy(&foe, hwe, soc->foe_entry_size); in mtk_foe_entry_commit_subflow() 719 foe.ib1 &= ib1_mask; in mtk_foe_entry_commit_subflow() 720 foe.ib1 |= entry->data.ib1 & ~ib1_mask; in mtk_foe_entry_commit_subflow() 722 l2 = mtk_foe_entry_l2(ppe->eth, &foe); in mtk_foe_entry_commit_subflow() 725 type = mtk_get_ib1_pkt_type(ppe->eth, foe.ib1); in mtk_foe_entry_commit_subflow() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 226 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()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H 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()
|