/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 26 static void ppe_w32(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_w32() argument 28 writel(val, ppe->base + reg); in ppe_w32() 31 static u32 ppe_r32(struct mtk_ppe *ppe, u32 reg) in ppe_r32() argument 33 return readl(ppe->base + reg); in ppe_r32() 36 static u32 ppe_m32(struct mtk_ppe *ppe, u32 reg, u32 mask, u32 set) in ppe_m32() argument 40 val = ppe_r32(ppe, reg); in ppe_m32() 43 ppe_w32(ppe, reg, val); in ppe_m32() 48 static u32 ppe_set(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_set() argument 50 return ppe_m32(ppe, reg, 0, val); in ppe_set() 53 static u32 ppe_clear(struct mtk_ppe *ppe, u3 argument 63 mtk_ppe_wait_busy(struct mtk_ppe *ppe) mtk_ppe_wait_busy() argument 78 mtk_ppe_mib_wait_busy(struct mtk_ppe *ppe) mtk_ppe_mib_wait_busy() argument 93 mtk_mib_entry_read(struct mtk_ppe *ppe, u16 index, u64 *bytes, u64 *packets) mtk_mib_entry_read() argument 127 mtk_ppe_cache_clear(struct mtk_ppe *ppe) mtk_ppe_cache_clear() argument 133 mtk_ppe_cache_enable(struct mtk_ppe *ppe, bool enable) mtk_ppe_cache_enable() argument 499 __mtk_foe_entry_clear(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) __mtk_foe_entry_clear() argument 540 __mtk_foe_entry_idle_time(struct mtk_ppe *ppe, u32 ib1) __mtk_foe_entry_idle_time() argument 553 mtk_flow_entry_update_l2(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) mtk_flow_entry_update_l2() argument 586 mtk_flow_entry_update(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) mtk_flow_entry_update() argument 615 __mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_foe_entry *entry, u16 hash) __mtk_foe_entry_commit() argument 651 mtk_foe_entry_clear(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) mtk_foe_entry_clear() argument 659 mtk_foe_entry_commit_l2(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) mtk_foe_entry_commit_l2() argument 677 mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) mtk_foe_entry_commit() argument 696 mtk_foe_entry_commit_subflow(struct mtk_ppe *ppe, struct mtk_flow_entry *entry, u16 hash) mtk_foe_entry_commit_subflow() argument 736 __mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash) __mtk_ppe_check_skb() argument 815 mtk_foe_entry_idle_time(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) mtk_foe_entry_idle_time() argument 822 mtk_ppe_prepare_reset(struct mtk_ppe *ppe) mtk_ppe_prepare_reset() argument 849 mtk_foe_entry_get_mib(struct mtk_ppe *ppe, u32 index, struct mtk_foe_accounting *diff) mtk_foe_entry_get_mib() argument 882 struct mtk_ppe *ppe; mtk_ppe_init() local 952 mtk_ppe_init_foe_table(struct mtk_ppe *ppe) mtk_ppe_init_foe_table() argument 974 mtk_ppe_start(struct mtk_ppe *ppe) mtk_ppe_start() argument 1074 mtk_ppe_stop(struct mtk_ppe *ppe) mtk_ppe_stop() argument [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); 353 void __mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash); 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() 398 int mtk_foe_entry_commit(struct mtk_ppe *ppe, struc [all...] |
H A D | mtk_ppe_debugfs.c | 78 struct mtk_ppe *ppe = m->private; in mtk_ppe_debugfs_foe_show() local 82 struct mtk_foe_entry *entry = mtk_foe_get_entry(ppe, i); in mtk_ppe_debugfs_foe_show() 99 acct = mtk_foe_entry_get_mib(ppe, i, NULL); in mtk_ppe_debugfs_foe_show() 101 type = mtk_get_ib1_pkt_type(ppe->eth, entry->ib1); in mtk_ppe_debugfs_foe_show() 183 int mtk_ppe_debugfs_init(struct mtk_ppe *ppe, int index) in mtk_ppe_debugfs_init() argument 187 snprintf(ppe->dirname, sizeof(ppe->dirname), "ppe%d", index); in mtk_ppe_debugfs_init() 189 root = debugfs_create_dir(ppe->dirname, NULL); in mtk_ppe_debugfs_init() 190 debugfs_create_file("entries", S_IRUGO, root, ppe, in mtk_ppe_debugfs_init() [all...] |
H A D | mtk_ppe_offload.c | 460 err = mtk_foe_entry_commit(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_replace() 472 mtk_foe_entry_clear(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_replace() 490 mtk_foe_entry_clear(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_destroy() 512 idle = mtk_foe_entry_idle_time(eth->ppe[entry->ppe_index], entry); in mtk_flow_offload_stats() 516 mtk_foe_entry_get_mib(eth->ppe[entry->ppe_index], entry->hash, in mtk_flow_offload_stats()
|
H A D | mtk_eth_soc.h | 1289 struct mtk_ppe *ppe[2]; member 1345 mtk_foe_get_entry(struct mtk_ppe *ppe, u16 hash) in mtk_foe_get_entry() argument 1347 const struct mtk_soc_data *soc = ppe->eth->soc; in mtk_foe_get_entry() 1349 return ppe->foe_table + hash * soc->foe_entry_size; in mtk_foe_get_entry()
|
/kernel/linux/linux-5.10/block/partitions/ |
H A D | aix.c | 50 struct ppe { struct 64 struct ppe ppe[1016]; member 248 struct ppe *p = pvd->ppe + i; in aix_partition()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/ |
H A D | vde.h | 31 void __iomem *ppe; member 86 if (vde->ppe == base) in tegra_vde_reg_base_name()
|
H A D | vde.c | 313 tegra_vde_set_bits(vde, 0x000A, vde->ppe, 0x14); in tegra_vde_setup_hw_context() 314 tegra_vde_set_bits(vde, 0x000A, vde->ppe, 0x28); in tegra_vde_setup_hw_context() 971 vde->ppe = devm_platform_ioremap_resource_byname(pdev, "ppe"); in tegra_vde_probe() 972 if (IS_ERR(vde->ppe)) in tegra_vde_probe() 973 return PTR_ERR(vde->ppe); in tegra_vde_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | cbe_thermal.c | 273 static DEVICE_PREFIX_ATTR(ppe, throttle_end, 0600); 274 static DEVICE_PREFIX_ATTR(ppe, throttle_begin, 0600); 275 static DEVICE_PREFIX_ATTR(ppe, throttle_full_stop, 0600); 306 /* ppe in init_default_values() 310 tpr.ppe = 0x1F0803; in init_default_values()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | cbe_thermal.c | 272 static DEVICE_PREFIX_ATTR(ppe, throttle_end, 0600); 273 static DEVICE_PREFIX_ATTR(ppe, throttle_begin, 0600); 274 static DEVICE_PREFIX_ATTR(ppe, throttle_full_stop, 0600); 305 /* ppe in init_default_values() 309 tpr.ppe = 0x1F0803; in init_default_values()
|
/kernel/linux/linux-5.10/arch/mips/lantiq/ |
H A D | clk.c | 30 unsigned long io, unsigned long ppe) in clkdev_add_static() 35 cpu_clk_generic[3].rate = ppe; in clkdev_add_static() 29 clkdev_add_static(unsigned long cpu, unsigned long fpi, unsigned long io, unsigned long ppe) clkdev_add_static() argument
|
H A D | clk.h | 73 unsigned long io, unsigned long ppe);
|
/kernel/linux/linux-6.6/arch/mips/lantiq/ |
H A D | clk.c | 30 unsigned long io, unsigned long ppe) in clkdev_add_static() 35 cpu_clk_generic[3].rate = ppe; in clkdev_add_static() 29 clkdev_add_static(unsigned long cpu, unsigned long fpi, unsigned long io, unsigned long ppe) clkdev_add_static() argument
|
H A D | clk.h | 73 unsigned long io, unsigned long ppe);
|
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.h | 99 void __iomem *ppe; member 218 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()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | nand.h | 41 #define NAND_MEMORG(bpc, ps, os, ppe, epl, mbb, ppl, lpt, nt) \ 46 .pages_per_eraseblock = (ppe), \
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | nand.h | 41 #define NAND_MEMORG(bpc, ps, os, ppe, epl, mbb, ppl, lpt, nt) \ 46 .pages_per_eraseblock = (ppe), \
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | cell-regs.h | 49 u32 ppe; member
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | cell-regs.h | 49 u32 ppe; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac80211.c | 1948 static u8 iwl_mvm_he_get_ppe_val(u8 *ppe, u8 ppe_pos_bit) in iwl_mvm_he_get_ppe_val() argument 1956 return (ppe[byte_num] >> bit_num) & in iwl_mvm_he_get_ppe_val() 1967 res = (ppe[byte_num + 1] & in iwl_mvm_he_get_ppe_val() 1970 res += (ppe[byte_num] >> bit_num) & (BIT(residue_bits) - 1); in iwl_mvm_he_get_ppe_val() 1977 u8 ru_index_bitmap, u8 *ppe, u8 ppe_pos_bit, in iwl_mvm_parse_ppe() 2017 high_th = iwl_mvm_he_get_ppe_val(ppe, ppe_pos_bit); in iwl_mvm_parse_ppe() 2019 low_th = iwl_mvm_he_get_ppe_val(ppe, ppe_pos_bit); in iwl_mvm_parse_ppe() 2036 u8 *ppe = &link_sta->he_cap.ppe_thres[0]; in iwl_mvm_set_pkt_ext_from_he_ppe() local 2038 u8_get_bits(*ppe, in iwl_mvm_set_pkt_ext_from_he_ppe() 2043 iwl_mvm_parse_ppe(mvm, pkt_ext, nss, ru_index_bitmap, ppe, ppe_pos_bi in iwl_mvm_set_pkt_ext_from_he_ppe() 1975 iwl_mvm_parse_ppe(struct iwl_mvm *mvm, struct iwl_he_pkt_ext_v2 *pkt_ext, u8 nss, u8 ru_index_bitmap, u8 *ppe, u8 ppe_pos_bit, bool inheritance) iwl_mvm_parse_ppe() argument 2144 u8 *ppe = &link_sta->eht_cap.eht_ppe_thres[0]; iwl_mvm_set_sta_pkt_ext() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 705 unsigned int ppe = mode_422 ? 2 : 1; in get_surf_rq_param() local 707 // FIXME check if ppe apply for both luma and chroma in 422 case in get_surf_rq_param() 709 vp_width = pipe_param.src.viewport_width_c / ppe; in get_surf_rq_param() 714 vp_width = pipe_param.src.viewport_width / ppe; in get_surf_rq_param()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20v2.c | 696 unsigned int ppe = mode_422 ? 2 : 1; in get_surf_rq_param() local 698 // TODO check if ppe apply for both luma and chroma in 422 case in get_surf_rq_param() 700 vp_width = pipe_src_param.viewport_width_c / ppe; in get_surf_rq_param() 705 vp_width = pipe_src_param.viewport_width / ppe; in get_surf_rq_param()
|
H A D | display_rq_dlg_calc_20.c | 696 unsigned int ppe = mode_422 ? 2 : 1; in get_surf_rq_param() local 698 // TODO check if ppe apply for both luma and chroma in 422 case in get_surf_rq_param() 700 vp_width = pipe_src_param.viewport_width_c / ppe; in get_surf_rq_param() 705 vp_width = pipe_src_param.viewport_width / ppe; in get_surf_rq_param()
|