| /linux-6.15/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe.c | 826 if (!ppe) in mtk_ppe_prepare_reset() 888 ppe = devm_kzalloc(dev, sizeof(*ppe), GFP_KERNEL); in mtk_ppe_init() 889 if (!ppe) in mtk_ppe_init() 898 ppe->eth = eth; in mtk_ppe_init() 899 ppe->dev = dev; in mtk_ppe_init() 936 return ppe; in mtk_ppe_init() 980 if (!ppe) in mtk_ppe_start() 984 ppe_w32(ppe, MTK_PPE_TB_BASE, ppe->foe_phys); in mtk_ppe_start() 1065 if (ppe->accounting && ppe->mib_phys) { in mtk_ppe_start() 1066 ppe_w32(ppe, MTK_PPE_MIB_TB_BASE, ppe->mib_phys); in mtk_ppe_start() [all …]
|
| H A D | mtk_ppe.h | 349 void mtk_ppe_start(struct mtk_ppe *ppe); 350 int mtk_ppe_stop(struct mtk_ppe *ppe); 351 int mtk_ppe_prepare_reset(struct mtk_ppe *ppe); 356 mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash) in mtk_ppe_check_skb() argument 360 if (!ppe) in mtk_ppe_check_skb() 367 diff = now - ppe->foe_check_time[hash]; in mtk_ppe_check_skb() 371 ppe->foe_check_time[hash] = now; in mtk_ppe_check_skb() 372 __mtk_ppe_check_skb(ppe, skb, hash); in mtk_ppe_check_skb() 399 int mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_flow_entry *entry); 400 void mtk_foe_entry_clear(struct mtk_ppe *ppe, struct mtk_flow_entry *entry); [all …]
|
| H A D | mtk_ppe_debugfs.c | 79 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 D | mtk_ppe_offload.c | 479 err = mtk_foe_entry_commit(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_replace() 491 mtk_foe_entry_clear(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_replace() 509 mtk_foe_entry_clear(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_destroy() 531 idle = mtk_foe_entry_idle_time(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_stats() 535 mtk_foe_entry_get_mib(eth->ppe[entry->ppe_index], entry->hash, in mtk_flow_offload_stats() 653 if (!eth->ppe[id] || !eth->ppe[id]->foe_table) in mtk_eth_offload_init()
|
| H A D | mtk_eth_soc.h | 1304 struct mtk_ppe *ppe[3]; member 1361 mtk_foe_get_entry(struct mtk_ppe *ppe, u16 hash) in mtk_foe_get_entry() argument 1363 const struct mtk_soc_data *soc = ppe->eth->soc; in mtk_foe_get_entry() 1365 return ppe->foe_table + hash * soc->foe_entry_size; in mtk_foe_get_entry()
|
| /linux-6.15/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 42 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() 52 ppe->foe_dma + sram_tb_size); in airoha_ppe_hw_init() 809 airoha_ppe_hw_init(eth->ppe); in airoha_ppe_offload_setup() 867 struct airoha_ppe *ppe; in airoha_ppe_init() local 870 ppe = devm_kzalloc(eth->dev, sizeof(*ppe), GFP_KERNEL); in airoha_ppe_init() 871 if (!ppe) in airoha_ppe_init() 875 ppe->foe = dmam_alloc_coherent(eth->dev, foe_size, &ppe->foe_dma, in airoha_ppe_init() 877 if (!ppe->foe) in airoha_ppe_init() 880 ppe->eth = eth; in airoha_ppe_init() 881 eth->ppe = ppe; in airoha_ppe_init() [all …]
|
| H A D | airoha_ppe_debugfs.c | 55 struct airoha_ppe *ppe = m->private; in airoha_ppe_debugfs_foe_show() local 69 hwe = airoha_ppe_foe_get_entry(ppe, i); in airoha_ppe_debugfs_foe_show() 172 int airoha_ppe_debugfs_init(struct airoha_ppe *ppe) in airoha_ppe_debugfs_init() argument 174 ppe->debugfs_dir = debugfs_create_dir("ppe", NULL); in airoha_ppe_debugfs_init() 175 debugfs_create_file("entries", 0444, ppe->debugfs_dir, ppe, in airoha_ppe_debugfs_init() 177 debugfs_create_file("bind", 0444, ppe->debugfs_dir, ppe, in airoha_ppe_debugfs_init()
|
| H A D | airoha_eth.h | 497 struct airoha_ppe *ppe; member 538 void airoha_ppe_check_skb(struct airoha_ppe *ppe, u16 hash); 543 struct airoha_foe_entry *airoha_ppe_foe_get_entry(struct airoha_ppe *ppe, 547 int airoha_ppe_debugfs_init(struct airoha_ppe *ppe); 549 static inline int airoha_ppe_debugfs_init(struct airoha_ppe *ppe) in airoha_ppe_debugfs_init() argument
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H A D | hisilicon-hip04-net.txt | 10 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 D | hisilicon-hns-dsaf.txt | 23 - reg-names: may be ppe-base and(or) dsaf-base. It is used to find the 64 reg-names = "ppe-base", "dsaf-base";
|
| /linux-6.15/block/partitions/ |
| H A D | aix.c | 50 struct ppe { struct 64 struct ppe ppe[1016]; member 232 struct ppe *p = pvd->ppe + i; in aix_partition()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | sta.c | 123 static u8 iwl_mld_he_get_ppe_val(u8 *ppe, u8 ppe_pos_bit) in iwl_mld_he_get_ppe_val() argument 131 return (ppe[byte_num] >> bit_num) & in iwl_mld_he_get_ppe_val() 141 res = (ppe[byte_num + 1] & in iwl_mld_he_get_ppe_val() 151 u8 ru_index_bitmap, u8 *ppe, u8 ppe_pos_bit, in iwl_mld_parse_ppe() argument 186 high_th = iwl_mld_he_get_ppe_val(ppe, ppe_pos_bit); in iwl_mld_parse_ppe() 188 low_th = iwl_mld_he_get_ppe_val(ppe, ppe_pos_bit); in iwl_mld_parse_ppe() 205 u8 *ppe = &link_sta->he_cap.ppe_thres[0]; in iwl_mld_set_pkt_ext_from_he_ppe() local 207 u8_get_bits(*ppe, in iwl_mld_set_pkt_ext_from_he_ppe() 301 u8 *ppe = &link_sta->eht_cap.eht_ppe_thres[0]; in iwl_mld_fill_pkt_ext() local 303 u16_get_bits(*ppe, in iwl_mld_fill_pkt_ext() [all …]
|
| /linux-6.15/arch/mips/lantiq/ |
| H A D | clk.c | 30 unsigned long io, unsigned long ppe) in clkdev_add_static() argument 35 cpu_clk_generic[3].rate = ppe; in clkdev_add_static()
|
| H A D | clk.h | 73 unsigned long io, unsigned long ppe);
|
| /linux-6.15/Documentation/devicetree/bindings/media/ |
| H A D | nvidia,tegra-vde.yaml | 36 - const: ppe 106 reg-names = "sxe", "bsev", "mbe", "ppe", "mce",
|
| /linux-6.15/drivers/media/platform/nvidia/tegra-vde/ |
| H A D | vde.h | 98 void __iomem *ppe; member 217 if (vde->ppe == base) in tegra_vde_reg_base_name()
|
| H A D | vde.c | 251 vde->ppe = devm_platform_ioremap_resource_byname(pdev, "ppe"); in tegra_vde_probe() 252 if (IS_ERR(vde->ppe)) in tegra_vde_probe() 253 return PTR_ERR(vde->ppe); in tegra_vde_probe()
|
| H A D | h264.c | 281 tegra_vde_set_bits(vde, 0x000A, vde->ppe, 0x14); in tegra_vde_setup_hw_context() 282 tegra_vde_set_bits(vde, 0x000A, vde->ppe, 0x28); in tegra_vde_setup_hw_context()
|
| /linux-6.15/Documentation/devicetree/bindings/mfd/ |
| H A D | syscon.yaml | 72 - hisilicon,hip04-ppe 175 - hisilicon,hip04-ppe
|
| /linux-6.15/include/linux/mtd/ |
| H A D | nand.h | 41 #define NAND_MEMORG(bpc, ps, os, ppe, epl, mbb, ppl, lpt, nt) \ argument 46 .pages_per_eraseblock = (ppe), \
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac80211.c | 2232 static u8 iwl_mvm_he_get_ppe_val(u8 *ppe, u8 ppe_pos_bit) in iwl_mvm_he_get_ppe_val() argument 2240 return (ppe[byte_num] >> bit_num) & in iwl_mvm_he_get_ppe_val() 2251 res = (ppe[byte_num + 1] & in iwl_mvm_he_get_ppe_val() 2261 u8 ru_index_bitmap, u8 *ppe, u8 ppe_pos_bit, in iwl_mvm_parse_ppe() argument 2301 high_th = iwl_mvm_he_get_ppe_val(ppe, ppe_pos_bit); in iwl_mvm_parse_ppe() 2303 low_th = iwl_mvm_he_get_ppe_val(ppe, ppe_pos_bit); in iwl_mvm_parse_ppe() 2320 u8 *ppe = &link_sta->he_cap.ppe_thres[0]; in iwl_mvm_set_pkt_ext_from_he_ppe() local 2322 u8_get_bits(*ppe, in iwl_mvm_set_pkt_ext_from_he_ppe() 2428 u8 *ppe = &link_sta->eht_cap.eht_ppe_thres[0]; in iwl_mvm_set_sta_pkt_ext() local 2430 u16_get_bits(*ppe, in iwl_mvm_set_sta_pkt_ext() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| H A D | display_rq_dlg_calc_21.c | 697 unsigned int ppe = 1; in get_surf_rq_param() local 701 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 706 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| H A D | display_rq_dlg_calc_20.c | 688 unsigned int ppe = 1; in get_surf_rq_param() local 692 vp_width = pipe_src_param->viewport_width_c / ppe; in get_surf_rq_param() 697 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param()
|
| H A D | display_rq_dlg_calc_20v2.c | 688 unsigned int ppe = 1; in get_surf_rq_param() local 692 vp_width = pipe_src_param->viewport_width_c / ppe; in get_surf_rq_param() 697 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| H A D | display_rq_dlg_calc_30.c | 664 unsigned int ppe = 1; in get_surf_rq_param() local 668 vp_width = pipe_param->src.viewport_width_c / ppe; in get_surf_rq_param() 674 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param()
|