Home
last modified time | relevance | path

Searched refs:ppe (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/airoha/
H A Dairoha_ppe.c35 static int airoha_ppe_get_num_stats_entries(struct airoha_ppe *ppe) in airoha_ppe_get_num_stats_entries() argument
40 if (airoha_is_7583(ppe->eth)) in airoha_ppe_get_num_stats_entries()
46 static int airoha_ppe_get_total_num_stats_entries(struct airoha_ppe *ppe) in airoha_ppe_get_total_num_stats_entries() argument
48 int num_stats = airoha_ppe_get_num_stats_entries(ppe); in airoha_ppe_get_total_num_stats_entries()
51 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_num_stats_entries()
59 static u32 airoha_ppe_get_total_sram_num_entries(struct airoha_ppe *ppe) in airoha_ppe_get_total_sram_num_entries() argument
61 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_sram_num_entries()
66 u32 airoha_ppe_get_total_num_entries(struct airoha_ppe *ppe) in airoha_ppe_get_total_num_entries() argument
68 u32 sram_num_entries = airoha_ppe_get_total_sram_num_entries(ppe); in airoha_ppe_get_total_num_entries()
81 static u32 airoha_ppe_get_timestamp(struct airoha_ppe *ppe) in airoha_ppe_get_timestamp() argument
101 airoha_ppe_hw_init(struct airoha_ppe * ppe) airoha_ppe_hw_init() argument
488 airoha_ppe_foe_get_entry_hash(struct airoha_ppe * ppe,struct airoha_foe_entry * hwe) airoha_ppe_foe_get_entry_hash() argument
542 airoha_ppe_foe_get_flow_stats_index(struct airoha_ppe * ppe,u32 hash,u32 * index) airoha_ppe_foe_get_flow_stats_index() argument
557 airoha_ppe_foe_flow_stat_entry_reset(struct airoha_ppe * ppe,struct airoha_npu * npu,int index) airoha_ppe_foe_flow_stat_entry_reset() argument
565 airoha_ppe_foe_flow_stats_reset(struct airoha_ppe * ppe,struct airoha_npu * npu) airoha_ppe_foe_flow_stats_reset() argument
578 airoha_ppe_foe_flow_stats_update(struct airoha_ppe * ppe,struct airoha_npu * npu,struct airoha_foe_entry * hwe,u32 hash) airoha_ppe_foe_flow_stats_update() argument
634 airoha_ppe_foe_get_entry_locked(struct airoha_ppe * ppe,u32 hash) airoha_ppe_foe_get_entry_locked() argument
665 airoha_ppe_foe_get_entry(struct airoha_ppe * ppe,u32 hash) airoha_ppe_foe_get_entry() argument
694 airoha_ppe_foe_commit_sram_entry(struct airoha_ppe * ppe,u32 hash) airoha_ppe_foe_commit_sram_entry() argument
715 airoha_ppe_foe_commit_entry(struct airoha_ppe * ppe,struct airoha_foe_entry * e,u32 hash,bool rx_wlan) airoha_ppe_foe_commit_entry() argument
752 airoha_ppe_foe_remove_flow(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_remove_flow() argument
771 airoha_ppe_foe_remove_l2_flow(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_remove_l2_flow() argument
785 airoha_ppe_foe_flow_remove_entry(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_flow_remove_entry() argument
799 airoha_ppe_foe_commit_subflow_entry(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e,u32 hash,bool rx_wlan) airoha_ppe_foe_commit_subflow_entry() argument
847 airoha_ppe_foe_insert_entry(struct airoha_ppe * ppe,struct sk_buff * skb,u32 hash,bool rx_wlan) airoha_ppe_foe_insert_entry() argument
900 airoha_ppe_foe_l2_flow_commit_entry(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_l2_flow_commit_entry() argument
919 airoha_ppe_foe_flow_commit_entry(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_flow_commit_entry() argument
939 airoha_ppe_get_entry_idle_time(struct airoha_ppe * ppe,u32 ib1) airoha_ppe_get_entry_idle_time() argument
959 airoha_ppe_foe_flow_l2_entry_update(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_flow_l2_entry_update() argument
995 airoha_ppe_foe_flow_entry_update(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_foe_flow_entry_update() argument
1025 airoha_ppe_entry_idle_time(struct airoha_ppe * ppe,struct airoha_flow_table_entry * e) airoha_ppe_entry_idle_time() argument
1251 airoha_ppe_foe_entry_get_stats(struct airoha_ppe * ppe,u32 hash,struct airoha_foe_stats64 * stats) airoha_ppe_foe_entry_get_stats() argument
1329 airoha_ppe_flush_sram_entries(struct airoha_ppe * ppe) airoha_ppe_flush_sram_entries() argument
1385 struct airoha_ppe *ppe = eth->ppe; airoha_ppe_offload_setup() local
1424 struct airoha_ppe *ppe = dev->priv; airoha_ppe_setup_tc_block_cb() local
1450 struct airoha_ppe *ppe = dev->priv; airoha_ppe_check_skb() local
1534 struct airoha_ppe *ppe = dev->priv; airoha_ppe_put_dev() local
1546 struct airoha_ppe *ppe; airoha_ppe_init() local
[all...]
H A Dairoha_eth.h613 struct airoha_ppe *ppe;
687 u32 airoha_ppe_get_total_num_entries(struct airoha_ppe *ppe);
688 struct airoha_foe_entry *airoha_ppe_foe_get_entry(struct airoha_ppe *ppe,
690 void airoha_ppe_foe_entry_get_stats(struct airoha_ppe *ppe, u32 hash,
694 int airoha_ppe_debugfs_init(struct airoha_ppe *ppe);
696 static inline int airoha_ppe_debugfs_init(struct airoha_ppe *ppe)
596 struct airoha_ppe *ppe; global() member
680 airoha_ppe_debugfs_init(struct airoha_ppe * ppe) airoha_ppe_debugfs_init() argument
H A Dairoha_eth.c748 airoha_ppe_check_skb(&eth->ppe->dev, q->skb, hash, in airoha_qdma_init_rx_queue()
2966 return airoha_ppe_setup_tc_block_cb(&eth->ppe->dev, type_data); in airoha_alloc_gdm_port()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c79 struct mtk_ppe *ppe = m->private; in mtk_ppe_debugfs_foe_show() local
83 struct mtk_foe_entry *entry = mtk_foe_get_entry(ppe, i); in mtk_ppe_debugfs_foe_show()
100 acct = mtk_foe_entry_get_mib(ppe, i, NULL); in mtk_ppe_debugfs_foe_show()
102 type = mtk_get_ib1_pkt_type(ppe->eth, entry->ib1); in mtk_ppe_debugfs_foe_show()
184 int mtk_ppe_debugfs_init(struct mtk_ppe *ppe, int index) in mtk_ppe_debugfs_init() argument
188 snprintf(ppe->dirname, sizeof(ppe->dirname), "ppe%d", index); in mtk_ppe_debugfs_init()
190 root = debugfs_create_dir(ppe->dirname, NULL); in mtk_ppe_debugfs_init()
191 debugfs_create_file("entries", S_IRUGO, root, ppe, &mtk_ppe_debugfs_foe_all_fops); in mtk_ppe_debugfs_init()
192 debugfs_create_file("bind", S_IRUGO, root, ppe, &mtk_ppe_debugfs_foe_bind_fops); in mtk_ppe_debugfs_init()
H A Dmtk_ppe_offload.c500 err = mtk_foe_entry_commit(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_replace()
512 mtk_foe_entry_clear(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_replace()
530 mtk_foe_entry_clear(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_destroy()
552 idle = mtk_foe_entry_idle_time(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_stats()
556 mtk_foe_entry_get_mib(eth->ppe[entry->ppe_index], entry->hash, in mtk_flow_offload_stats()
674 if (!eth->ppe[id] || !eth->ppe[id]->foe_table) in mtk_eth_offload_init()
H A Dmtk_eth_soc.h1345 struct mtk_ppe *ppe[3]; member
1402 mtk_foe_get_entry(struct mtk_ppe *ppe, u16 hash) in mtk_foe_get_entry() argument
1404 const struct mtk_soc_data *soc = ppe->eth->soc; in mtk_foe_get_entry()
1406 return ppe->foe_table + hash * soc->foe_entry_size; in mtk_foe_get_entry()
H A Dmtk_eth_soc.c2384 mtk_ppe_check_skb(eth->ppe[ppe_idx], skb, hash); in mtk_poll_rx()
3630 for (i = 0; i < ARRAY_SIZE(eth->ppe); i++) in mtk_open()
3631 mtk_ppe_start(eth->ppe[i]); in mtk_open()
3655 for (i = 0; i < ARRAY_SIZE(eth->ppe); i++) in mtk_open()
3656 mtk_ppe_update_mtu(eth->ppe[i], mtu); in mtk_open()
3759 for (i = 0; i < ARRAY_SIZE(eth->ppe); i++) in mtk_stop()
3760 mtk_ppe_stop(eth->ppe[i]); in mtk_stop()
4363 for (i = 0; i < ARRAY_SIZE(eth->ppe); i++) in mtk_change_mtu()
4364 mtk_ppe_update_mtu(eth->ppe[i], max_mtu); in mtk_change_mtu()
4403 for (i = 0; i < ARRAY_SIZE(eth->ppe); in mtk_prepare_for_reset()
[all...]
H A Dmtk_wed.c1974 mtk_ppe_check_skb(eth->ppe[dev->hw->index], skb, hash); in mtk_wed_ppe_check()
/linux/Documentation/devicetree/bindings/net/
H A Dhisilicon-hip04-net.txt10 phandle, specifies a reference to the syscon ppe node
50 ppe: ppe@28c0000 {
51 compatible = "hisilicon,hip04-ppe", "syscon";
60 port-handle = <&ppe 31 0 31>;
68 port-handle = <&ppe 0 1 0>;
77 port-handle = <&ppe 8 2 8>;
H A Dhisilicon-hns-dsaf.txt23 - reg-names: may be ppe-base and(or) dsaf-base. It is used to find the
64 reg-names = "ppe-base", "dsaf-base";
/linux/Documentation/networking/device_drivers/ethernet/
H A Dindex.rst53 qualcomm/ppe/ppe
/linux/arch/mips/lantiq/
H A Dclk.c30 unsigned long io, unsigned long ppe) in clkdev_add_static() argument
35 cpu_clk_generic[3].rate = ppe; in clkdev_add_static()
H A Dclk.h73 unsigned long io, unsigned long ppe);
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.h98 void __iomem *ppe; member
218 if (vde->ppe == base) in tegra_vde_reg_base_name()
H A Dvde.c253 vde->ppe = devm_platform_ioremap_resource_byname(pdev, "ppe"); in tegra_vde_probe()
254 if (IS_ERR(vde->ppe)) in tegra_vde_probe()
255 return PTR_ERR(vde->ppe); in tegra_vde_probe()
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhip06.dtsi482 reg-names = "ppe-base", "dsaf-base";
H A Dhip07.dtsi1389 reg-names = "ppe-base", "dsaf-base";
/linux/arch/arm/boot/dts/mediatek/
H A Dmt2701.dtsi742 reset-names = "fe", "gmac", "ppe";
/linux/
H A DMAINTAINERS22329 F: Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
22330 F: Documentation/networking/device_drivers/ethernet/qualcomm/ppe/ppe.rst
22331 F: drivers/net/ethernet/qualcomm/ppe/