| /OK3568_Linux_fs/kernel/arch/x86/events/intel/ |
| H A D | uncore.h | 112 int pmu_idx; member 240 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl() 277 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset() 278 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset() 352 pmu->type->freerunning[type].box_offsets[pmu->pmu_idx] : in uncore_freerunning_counter() 353 pmu->type->freerunning[type].box_offset * pmu->pmu_idx); in uncore_freerunning_counter()
|
| H A D | uncore_snb.c | 158 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box() 172 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box() 257 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box() 263 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box() 275 if (box->pmu->pmu_idx == 0) in skl_uncore_msr_exit_box() 1280 addr = (resource_size_t)(mch_bar + TGL_UNCORE_MMIO_IMC_MEM_OFFSET * pmu->pmu_idx); in tgl_uncore_imc_freerunning_init_box()
|
| H A D | uncore_nhmex.c | 367 if (box->pmu->pmu_idx == 0) in nhmex_bbox_hw_config() 452 if (box->pmu->pmu_idx == 0) in nhmex_sbox_hw_config() 784 msr = er->msr + type->msr_offset * box->pmu->pmu_idx; in nhmex_mbox_hw_config() 811 if (box->pmu->pmu_idx == 0) in nhmex_mbox_hw_config() 1119 port = idx / 6 + box->pmu->pmu_idx * 4; in nhmex_rbox_msr_enable_event()
|
| H A D | uncore_snbep.c | 1006 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config() 1188 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event() 1689 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config() 2117 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config() 2672 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config() 3560 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config() 3641 return pmu->type->topology[die] >> (pmu->pmu_idx * BUS_NUM_STRIDE); in skx_iio_stack() 3650 return (!skx_iio_stack(pmu, die) && pmu->pmu_idx) ? 0 : attr->mode; in skx_iio_mapping_visible() 4305 box->pmu->type->msr_offset * box->pmu->pmu_idx; in snr_cha_hw_config() 4864 icx_cha_msr_offsets[box->pmu->pmu_idx]; in icx_cha_hw_config() [all …]
|
| H A D | uncore.c | 747 if (pmu->type->single_fixed && pmu->pmu_idx > 0) in uncore_pmu_event_init() 866 pmu->pmu_idx); in uncore_pmu_register() 932 pmus[i].pmu_idx = i; in uncore_type_init()
|
| /OK3568_Linux_fs/kernel/drivers/perf/ |
| H A D | arm_pmu_acpi.c | 289 int pmu_idx = 0; in arm_pmu_acpi_probe() local 322 pmu->name = kasprintf(GFP_KERNEL, "%s_%d", base_name, pmu_idx++); in arm_pmu_acpi_probe()
|
| H A D | arm_dsu_pmu.c | 713 static atomic_t pmu_idx = ATOMIC_INIT(-1); in dsu_pmu_device_probe() local 739 PMUNAME, atomic_inc_return(&pmu_idx)); in dsu_pmu_device_probe()
|
| H A D | arm_spe_pmu.c | 897 static atomic_t pmu_idx = ATOMIC_INIT(-1); in arm_spe_pmu_perf_init() local 928 idx = atomic_inc_return(&pmu_idx); in arm_spe_pmu_perf_init()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/perf/ |
| H A D | imc-pmu.c | 1779 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument 1783 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_pcie.c | 1849 uint cur_coreidx, pmu_idx; in dhdpcie_htclkratio_cal() local 1865 pmu_idx = si_coreidx(bus->sih); in dhdpcie_htclkratio_cal() 1868 ilp_start = si_corereg(bus->sih, pmu_idx, offsetof(pmuregs_t, pmutimer), 0, 0); in dhdpcie_htclkratio_cal() 1870 ilp_tick = si_corereg(bus->sih, pmu_idx, offsetof(pmuregs_t, pmutimer), 0, 0); in dhdpcie_htclkratio_cal() 1875 xtal_ratio = si_corereg(bus->sih, pmu_idx, offsetof(pmuregs_t, pmu_xtalfreq), 0, 0); in dhdpcie_htclkratio_cal()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_pcie.c | 1849 uint cur_coreidx, pmu_idx; in dhdpcie_htclkratio_cal() local 1865 pmu_idx = si_coreidx(bus->sih); in dhdpcie_htclkratio_cal() 1868 ilp_start = si_corereg(bus->sih, pmu_idx, offsetof(pmuregs_t, pmutimer), 0, 0); in dhdpcie_htclkratio_cal() 1870 ilp_tick = si_corereg(bus->sih, pmu_idx, offsetof(pmuregs_t, pmutimer), 0, 0); in dhdpcie_htclkratio_cal() 1875 xtal_ratio = si_corereg(bus->sih, pmu_idx, offsetof(pmuregs_t, pmu_xtalfreq), 0, 0); in dhdpcie_htclkratio_cal()
|