Home
last modified time | relevance | path

Searched refs:pmcs (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/platform/x86/intel/pmc/
Dcore.c87 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in set_etr3()
117 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in etr3_is_visible()
131 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in etr3_show()
319 for (i = 0; i < ARRAY_SIZE(pmcdev->pmcs); ++i) { in pmc_core_ppfear_show()
320 struct pmc *pmc = pmcdev->pmcs[i]; in pmc_core_ppfear_show()
378 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in pmc_core_mphy_pg_show()
430 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in pmc_core_pll_show()
475 for (pmc_index = 0; pmc_index < ARRAY_SIZE(pmcdev->pmcs) && ltr_index >= 0; pmc_index++) { in pmc_core_send_ltr_ignore()
476 pmc = pmcdev->pmcs[pmc_index]; in pmc_core_send_ltr_ignore()
493 if (pmc_index >= ARRAY_SIZE(pmcdev->pmcs) || ltr_index < 0) in pmc_core_send_ltr_ignore()
[all …]
Dcore_ssram.c151 for (i = 0; i < ARRAY_SIZE(pmcdev->pmcs); ++i) { in pmc_core_ssram_get_lpm_reqs()
152 if (!pmcdev->pmcs[i]) in pmc_core_ssram_get_lpm_reqs()
155 ret = pmc_core_get_lpm_req(pmcdev, pmcdev->pmcs[i]); in pmc_core_ssram_get_lpm_reqs()
224 struct pmc *pmc = pmcdev->pmcs[pmc_index]; in pmc_core_pmc_add()
245 pmcdev->pmcs[pmc_index] = pmc; in pmc_core_pmc_add()
Dicl.c55 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in icl_core_init()
Dtgl.c243 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in pmc_core_get_tgl_lpm_reqs()
300 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in tgl_core_generic_init()
Dspt.c139 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in spt_core_init()
Dcnp.c226 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in cnp_core_init()
Dadl.c316 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in adl_core_init()
Dlnl.c557 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_SOC]; in lnl_core_init()
Darl.c697 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_SOC]; in arl_core_init()
Dcore.h408 struct pmc *pmcs[MAX_NUM_PMC]; member
Dmtl.c996 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_SOC]; in mtl_core_init()
/linux-6.12.1/arch/powerpc/perf/
Dcore-book3s.c61 unsigned long pmcs[MAX_HWEVENTS]; member
159 return cpuhw->pmcs[idx]; in get_pmcs_ext_regs()
689 unsigned pmcs[6]; in pmao_restore_workaround() local
745 pmcs[0] = mfspr(SPRN_PMC1); in pmao_restore_workaround()
746 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()
747 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround()
748 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
749 pmcs[4] = mfspr(SPRN_PMC5); in pmao_restore_workaround()
750 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
764 mtspr(SPRN_PMC1, pmcs[0]); in pmao_restore_workaround()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_internal.h153 u32 pmcs; member
Datomisp_v4l2.c369 pci_read_config_dword(pdev, MRFLD_PCI_PMCS, &isp->saved_regs.pmcs); in atomisp_save_iunit_reg()
425 pci_write_config_dword(pdev, MRFLD_PCI_PMCS, isp->saved_regs.pmcs); in atomisp_restore_iunit_reg()