/Linux-v4.19/drivers/platform/x86/ |
D | pmc_atom.c | 211 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read() 216 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write() 223 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read() local 235 struct pmc_dev *pmc = &pmc_device; in pmc_atom_write() local 262 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup() 293 struct pmc_dev *pmc = s->private; in pmc_dev_state_show() local 316 struct pmc_dev *pmc = s->private; in pmc_pss_state_show() local 333 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show() local 352 static void pmc_dbgfs_unregister(struct pmc_dev *pmc) in pmc_dbgfs_unregister() 357 static int pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() [all …]
|
/Linux-v4.19/arch/x86/kvm/ |
D | pmu.h | 7 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) argument 38 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() 45 static inline u64 pmc_read_counter(struct kvm_pmc *pmc) in pmc_read_counter() 57 static inline void pmc_stop_counter(struct kvm_pmc *pmc) in pmc_stop_counter() 66 static inline bool pmc_is_gp(struct kvm_pmc *pmc) in pmc_is_gp() 71 static inline bool pmc_is_fixed(struct kvm_pmc *pmc) in pmc_is_fixed() 76 static inline bool pmc_is_enabled(struct kvm_pmc *pmc) in pmc_is_enabled()
|
D | pmu.c | 62 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow() local 76 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow_intr() local 99 static void pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, in pmc_reprogram_counter() 143 void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel) in reprogram_gp_counter() 185 void reprogram_fixed_counter(struct kvm_pmc *pmc, u8 ctrl, int idx) in reprogram_fixed_counter() 205 struct kvm_pmc *pmc = kvm_x86_ops->pmu_ops->pmc_idx_to_pmc(pmu, pmc_idx); in reprogram_counter() local 230 struct kvm_pmc *pmc = kvm_x86_ops->pmu_ops->pmc_idx_to_pmc(pmu, bit); in kvm_pmu_handle_event() local 284 struct kvm_pmc *pmc; in kvm_pmu_rdpmc() local
|
D | pmu_intel.c | 45 struct kvm_pmc *pmc; in reprogram_fixed_counters() local 97 static bool intel_pmc_is_enabled(struct kvm_pmc *pmc) in intel_pmc_is_enabled() 170 struct kvm_pmc *pmc; in intel_pmu_get_msr() local 202 struct kvm_pmc *pmc; in intel_pmu_set_msr() local 332 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in intel_pmu_reset() local
|
D | pmu_amd.c | 157 static bool amd_pmc_is_enabled(struct kvm_pmc *pmc) in amd_pmc_is_enabled() 216 struct kvm_pmc *pmc; in amd_pmu_get_msr() local 237 struct kvm_pmc *pmc; in amd_pmu_set_msr() local 299 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset() local
|
/Linux-v4.19/arch/powerpc/perf/ |
D | isa207-common.h | 152 #define CNST_PMC_SHIFT(pmc) ((pmc - 1) * 2) argument 153 #define CNST_PMC_VAL(pmc) (1 << CNST_PMC_SHIFT(pmc)) argument 154 #define CNST_PMC_MASK(pmc) (2 << CNST_PMC_SHIFT(pmc)) argument 162 #define MMCR1_UNIT_SHIFT(pmc) (60 - (4 * ((pmc) - 1))) argument 163 #define MMCR1_COMBINE_SHIFT(pmc) (35 - ((pmc) - 1)) argument 164 #define MMCR1_PMCSEL_SHIFT(pmc) (24 - (((pmc) - 1)) * 8) argument 170 #define p9_MMCR1_COMBINE_SHIFT(pmc) (38 - ((pmc - 1) * 2)) argument 197 #define MMCR2_FCS(pmc) (1ull << (63 - (((pmc) - 1) * 9))) argument 198 #define MMCR2_FCP(pmc) (1ull << (62 - (((pmc) - 1) * 9))) argument 199 #define MMCR2_FCH(pmc) (1ull << (57 - (((pmc) - 1) * 9))) argument
|
D | mpc7450-pmu.c | 43 int pmc; in mpc7450_classify_event() local 83 int pmc, sel; in mpc7450_threshold_use() local 157 int pmc, class; in mpc7450_get_constraint() local 272 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local 338 static void mpc7450_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in mpc7450_disable_pmc()
|
D | power6-pmu.c | 141 int pmc, psel, ptype; in power6_marked_instr_event() local 183 unsigned int pmc, ev, b, u, s, psel; in p6_compute_mmcr() local 273 int pmc, byte, sh, subunit; in p6_get_constraint() local 306 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_limited_pmc_event() local 365 unsigned int psel, pmc; in p6_get_alternatives() local 464 static void p6_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in p6_disable_pmc()
|
D | power7-pmu.c | 88 int pmc, sh, unit; in power7_get_constraint() local 148 int pmc, psel; in find_alternative_decode() local 217 int pmc, psel; in power7_marked_instr_event() local 252 unsigned int pmc, unit, combine, l2sel, psel; in power7_compute_mmcr() local 314 static void power7_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in power7_disable_pmc()
|
D | power5+-pmu.c | 139 int pmc, byte, unit, sh; in power5p_get_constraint() local 193 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_limited_pmc_event() local 247 int pmc, altpmc, pp, j; in find_alternative_bdecode() local 407 int pmc, psel; in power5p_marked_instr_event() local 459 unsigned int pmc, unit, byte, psel; in power5p_compute_mmcr() local 603 static void power5p_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in power5p_disable_pmc()
|
D | power5-pmu.c | 143 int pmc, byte, unit, sh; in power5_get_constraint() local 255 int pmc, altpmc, pp, j; in find_alternative_bdecode() local 343 int pmc, psel; in power5_marked_instr_event() local 390 unsigned int pmc, unit, byte, psel; in power5_compute_mmcr() local 545 static void power5_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in power5_disable_pmc()
|
D | isa207-common.c | 121 static unsigned long combine_shift(unsigned long pmc) in combine_shift() 235 unsigned int unit, pmc, cache, ebb; in isa207_get_constraint() local 353 unsigned int pmc, pmc_inuse; in isa207_compute_mmcr() local 467 void isa207_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in isa207_disable_pmc()
|
D | ppc970-pmu.c | 149 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local 197 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local 263 unsigned int pmc, unit, byte, psel; in p970_compute_mmcr() local 406 static void p970_disable_pmc(unsigned int pmc, unsigned long mmcr[]) in p970_disable_pmc()
|
/Linux-v4.19/virt/kvm/arm/ |
D | pmu.c | 36 struct kvm_pmc *pmc = &pmu->pmc[select_idx]; in kvm_pmu_get_counter_value() local 73 static void kvm_pmu_stop_counter(struct kvm_vcpu *vcpu, struct kvm_pmc *pmc) in kvm_pmu_stop_counter() 116 struct kvm_pmc *pmc = &pmu->pmc[i]; in kvm_pmu_vcpu_destroy() local 148 struct kvm_pmc *pmc; in kvm_pmu_enable_counter() local 177 struct kvm_pmc *pmc; in kvm_pmu_disable_counter() local 276 static inline struct kvm_vcpu *kvm_pmc_to_vcpu(struct kvm_pmc *pmc) in kvm_pmc_to_vcpu() 294 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_pmu_perf_overflow() local 344 struct kvm_pmc *pmc; in kvm_pmu_handle_pmcr() local 390 struct kvm_pmc *pmc = &pmu->pmc[select_idx]; in kvm_pmu_set_counter_event_type() local
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | pmc.c | 31 static int wil_is_pmc_allocated(struct pmc_ctx *pmc) in wil_is_pmc_allocated() 55 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_alloc() local 240 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_free() local 332 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_read() local 388 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_llseek() local
|
/Linux-v4.19/net/ipv4/ |
D | igmp.c | 183 #define for_each_pmc_rcu(in_dev, pmc) \ argument 188 #define for_each_pmc_rtnl(in_dev, pmc) \ argument 267 static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, in is_in() 312 igmp_scount(struct ip_mc_list *pmc, int type, int gdeleted, int sdeleted) in igmp_scount() 423 static int grec_size(struct ip_mc_list *pmc, int type, int gdel, int sdel) in grec_size() 428 static struct sk_buff *add_grhead(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grhead() 453 static struct sk_buff *add_grec(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grec() 580 static int igmpv3_send_report(struct in_device *in_dev, struct ip_mc_list *pmc) in igmpv3_send_report() 640 struct ip_mc_list *pmc, *pmc_prev, *pmc_next; in igmpv3_send_cr() local 711 static int igmp_send_report(struct in_device *in_dev, struct ip_mc_list *pmc, in igmp_send_report() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | mcast.c | 120 #define for_each_pmc_rcu(np, pmc) \ argument 336 struct ipv6_mc_socklist *pmc; in ip6_mc_source() local 467 struct ipv6_mc_socklist *pmc; in ip6_mc_msfilter() local 558 struct ipv6_mc_socklist *pmc; in ip6_mc_msfget() local 733 struct ifmcaddr6 *pmc; in mld_add_delrec() local 771 struct ifmcaddr6 *pmc, *pmc_prev; in mld_del_delrec() local 809 struct ifmcaddr6 *pmc, *nextpmc; in mld_clear_delrec() local 1107 static bool mld_xmarksources(struct ifmcaddr6 *pmc, int nsrcs, in mld_xmarksources() 1135 static bool mld_marksources(struct ifmcaddr6 *pmc, int nsrcs, in mld_marksources() 1507 static bool is_in(struct ifmcaddr6 *pmc, struct ip6_sf_list *psf, int type, in is_in() [all …]
|
/Linux-v4.19/drivers/soc/tegra/ |
D | pmc.c | 127 struct tegra_pmc *pmc; member 221 static struct tegra_pmc *pmc = &(struct tegra_pmc) { variable 260 static int tegra_powergate_lookup(struct tegra_pmc *pmc, const char *name) in tegra_powergate_lookup() 787 static void tegra_powergate_add(struct tegra_pmc *pmc, struct device_node *np) in tegra_powergate_add() 889 static void tegra_powergate_init(struct tegra_pmc *pmc, in tegra_powergate_init() 911 tegra_io_pad_find(struct tegra_pmc *pmc, enum tegra_io_pad id) in tegra_io_pad_find() 1202 static int tegra_pmc_parse_dt(struct tegra_pmc *pmc, struct device_node *np) in tegra_pmc_parse_dt() 1274 static void tegra_pmc_init(struct tegra_pmc *pmc) in tegra_pmc_init() 1280 static void tegra_pmc_init_tsense_reset(struct tegra_pmc *pmc) in tegra_pmc_init_tsense_reset() 1484 static void tegra20_pmc_init(struct tegra_pmc *pmc) in tegra20_pmc_init() [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb.c | 71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) in ebb_check_count() 252 int count_pmc(int pmc, uint32_t sample_period) in count_pmc() 442 void write_pmc(int pmc, u64 value) in write_pmc() 454 u64 read_pmc(int pmc) in read_pmc()
|
D | ebb.h | 14 #define PMC_INDEX(pmc) ((pmc)-1) argument 41 static inline void ebb_enable_pmc_counting(int pmc) in ebb_enable_pmc_counting()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
D | gp100.c | 109 int index, struct nvkm_mc **pmc) in gp100_mc_new_() 125 gp100_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) in gp100_mc_new()
|
/Linux-v4.19/arch/powerpc/boot/dts/fsl/ |
D | mpc8569si-post.dtsi | 183 pmc: power@70 { label
|
D | mpc8568si-post.dtsi | 195 pmc: power@70 { label
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | sama5d3_tcb1.dtsi | 21 pmc: pmc@fffffc00 { label
|
D | at91sam9x5_macb1.dtsi | 34 pmc: pmc@fffffc00 { label
|