| /linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| H A D | misc.h | 61 get_mmcr0_fc56(u64 mmcr0,int pmc) get_mmcr0_fc56() argument 66 get_mmcr0_pmccext(u64 mmcr0,int pmc) get_mmcr0_pmccext() argument 71 get_mmcr0_pmao(u64 mmcr0,int pmc) get_mmcr0_pmao() argument 76 get_mmcr0_cc56run(u64 mmcr0,int pmc) get_mmcr0_cc56run() argument 81 get_mmcr0_pmcjce(u64 mmcr0,int pmc) get_mmcr0_pmcjce() argument 86 get_mmcr0_pmc1ce(u64 mmcr0,int pmc) get_mmcr0_pmc1ce() argument 91 get_mmcr0_pmae(u64 mmcr0,int pmc) get_mmcr0_pmae() argument 96 get_mmcr1_pmcxsel(u64 mmcr1,int pmc) get_mmcr1_pmcxsel() argument 101 get_mmcr1_unit(u64 mmcr1,int pmc) get_mmcr1_unit() argument 106 get_mmcr1_comb(u64 mmcr1,int pmc) get_mmcr1_comb() argument 111 get_mmcr1_cache(u64 mmcr1,int pmc) get_mmcr1_cache() argument 116 get_mmcr1_rsq(u64 mmcr1,int pmc) get_mmcr1_rsq() argument 121 get_mmcr2_fcs(u64 mmcr2,int pmc) get_mmcr2_fcs() argument 126 get_mmcr2_fcp(u64 mmcr2,int pmc) get_mmcr2_fcp() argument 131 get_mmcr2_fcpc(u64 mmcr2,int pmc) get_mmcr2_fcpc() argument 136 get_mmcr2_fcm1(u64 mmcr2,int pmc) get_mmcr2_fcm1() argument 141 get_mmcr2_fcm0(u64 mmcr2,int pmc) get_mmcr2_fcm0() argument 146 get_mmcr2_fcwait(u64 mmcr2,int pmc) get_mmcr2_fcwait() argument 151 get_mmcr2_fch(u64 mmcr2,int pmc) get_mmcr2_fch() argument 156 get_mmcr2_fcti(u64 mmcr2,int pmc) get_mmcr2_fcti() argument 161 get_mmcr2_fcta(u64 mmcr2,int pmc) get_mmcr2_fcta() argument 166 get_mmcr2_l2l3(u64 mmcr2,int pmc) get_mmcr2_l2l3() argument 173 get_mmcr3_src(u64 mmcr3,int pmc) get_mmcr3_src() argument 180 get_mmcra_thd_cmp(u64 mmcra,int pmc) get_mmcra_thd_cmp() argument 187 get_mmcra_sm(u64 mmcra,int pmc) get_mmcra_sm() argument 192 get_mmcra_bhrb_disable(u64 mmcra,int pmc) get_mmcra_bhrb_disable() argument 199 get_mmcra_ifm(u64 mmcra,int pmc) get_mmcra_ifm() argument 204 get_mmcra_thd_sel(u64 mmcra,int pmc) get_mmcra_thd_sel() argument 209 get_mmcra_thd_start(u64 mmcra,int pmc) get_mmcra_thd_start() argument 214 get_mmcra_thd_stop(u64 mmcra,int pmc) get_mmcra_thd_stop() argument 219 get_mmcra_rand_samp_elig(u64 mmcra,int pmc) get_mmcra_rand_samp_elig() argument 224 get_mmcra_sample_mode(u64 mmcra,int pmc) get_mmcra_sample_mode() argument 229 get_mmcra_marked(u64 mmcra,int pmc) get_mmcra_marked() argument [all...] |
| /linux/drivers/soc/tegra/ |
| H A D | pmc.c | 206 struct tegra_pmc *pmc; member 216 struct tegra_pmc *pmc; member 273 struct tegra_pmc *pmc; member 284 struct tegra_pmc *pmc; member 493 static struct tegra_pmc *pmc = &(struct tegra_pmc) { variable 504 static u32 tegra_pmc_readl(struct tegra_pmc *pmc, unsigned long offset) in tegra_pmc_readl() 526 static void tegra_pmc_writel(struct tegra_pmc *pmc, u32 value, in tegra_pmc_writel() 547 static u32 tegra_pmc_scratch_readl(struct tegra_pmc *pmc, unsigned long offset) in tegra_pmc_scratch_readl() 555 static void tegra_pmc_scratch_writel(struct tegra_pmc *pmc, u32 value, in tegra_pmc_scratch_writel() 564 static inline bool tegra_powergate_state(struct tegra_pmc *pmc, int id) in tegra_powergate_state() [all …]
|
| /linux/arch/arm64/kvm/ |
| H A D | pmu-emul.c | 33 static struct kvm_vcpu *kvm_pmc_to_vcpu(const struct kvm_pmc *pmc) in kvm_pmc_to_vcpu() 87 static bool kvm_pmc_is_64bit(struct kvm_pmc *pmc) in kvm_pmc_is_64bit() 95 static bool kvm_pmc_has_64bit_overflow(struct kvm_pmc *pmc) in kvm_pmc_has_64bit_overflow() 107 static bool kvm_pmu_counter_can_chain(struct kvm_pmc *pmc) in kvm_pmu_counter_can_chain() 123 static u64 kvm_pmc_read_evtreg(const struct kvm_pmc *pmc) in kvm_pmc_read_evtreg() 128 static u64 kvm_pmu_get_pmc_value(struct kvm_pmc *pmc) in kvm_pmu_get_pmc_value() 160 static void kvm_pmu_set_pmc_value(struct kvm_pmc *pmc, u64 val, bool force) in kvm_pmu_set_pmc_value() 215 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc) in kvm_pmu_release_perf_event() 230 static void kvm_pmu_stop_counter(struct kvm_pmc *pmc) in kvm_pmu_stop_counter() 328 static void kvm_pmc_enable_perf_event(struct kvm_pmc *pmc) in kvm_pmc_enable_perf_event() [all …]
|
| /linux/drivers/mfd/ |
| H A D | intel_pmc_bxt.c | 82 int intel_pmc_gcr_read64(struct intel_pmc_dev *pmc, u32 offset, u64 *data) in intel_pmc_gcr_read64() 107 int intel_pmc_gcr_update(struct intel_pmc_dev *pmc, u32 offset, u32 mask, u32 val) in intel_pmc_gcr_update() 138 int intel_pmc_s0ix_counter_read(struct intel_pmc_dev *pmc, u64 *data) in intel_pmc_s0ix_counter_read() 168 struct intel_pmc_dev *pmc = dev_get_drvdata(dev); in simplecmd_store() local 204 struct intel_pmc_dev *pmc = dev_get_drvdata(dev); in northpeak_store() local 303 struct intel_pmc_dev *pmc, in intel_pmc_get_resources() 392 static int intel_pmc_create_devices(struct intel_pmc_dev *pmc) in intel_pmc_create_devices() 425 struct intel_pmc_dev *pmc; in intel_pmc_probe() local
|
| /linux/arch/powerpc/perf/ |
| H A D | isa207-common.h | 200 #define CNST_PMC_SHIFT(pmc) ((pmc - 1) * 2) argument 201 #define CNST_PMC_VAL(pmc) (1 << CNST_PMC_SHIFT(pmc)) argument 202 #define CNST_PMC_MASK(pmc) (2 << CNST_PMC_SHIFT(pmc)) argument 210 #define MMCR1_UNIT_SHIFT(pmc) (60 - (4 * ((pmc) - 1))) argument 211 #define MMCR1_COMBINE_SHIFT(pmc) (35 - ((pmc) - 1)) argument 212 #define MMCR1_PMCSEL_SHIFT(pmc) (24 - (((pmc) - 1)) * 8) argument 218 #define p9_MMCR1_COMBINE_SHIFT(pmc) (38 - ((pmc - 1) * 2)) argument 250 #define MMCR2_FCS(pmc) (1ull << (63 - (((pmc) - 1) * 9))) argument 251 #define MMCR2_FCP(pmc) (1ull << (62 - (((pmc) - 1) * 9))) argument 252 #define MMCR2_FCWAIT(pmc) (1ull << (58 - (((pmc) - 1) * 9))) argument [all …]
|
| H A D | mpc7450-pmu.c | 39 int pmc; in mpc7450_classify_event() local 79 int pmc, sel; in mpc7450_threshold_use() local 153 int pmc, class; in mpc7450_get_constraint() local 269 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local 342 static void mpc7450_disable_pmc(unsigned int pmc, struct mmcr_regs *mmcr) in mpc7450_disable_pmc()
|
| H A D | power6-pmu.c | 139 int pmc, psel, ptype; in power6_marked_instr_event() local 182 unsigned int pmc, ev, b, u, s, psel; in p6_compute_mmcr() local 272 int pmc, byte, sh, subunit; in p6_get_constraint() local 305 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p6_limited_pmc_event() local 376 unsigned int psel, pmc; in p6_get_alternatives() local 475 static void p6_disable_pmc(unsigned int pmc, struct mmcr_regs *mmcr) in p6_disable_pmc()
|
| H A D | power5+-pmu.c | 137 int pmc, byte, unit, sh; in power5p_get_constraint() local 191 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_limited_pmc_event() local 245 int pmc, altpmc, pp, j; in find_alternative_bdecode() local 405 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, struct mmcr_regs *mmcr) in power5p_disable_pmc()
|
| H A D | power7-pmu.c | 86 int pmc, sh, unit; in power7_get_constraint() local 146 int pmc, psel; in find_alternative_decode() local 215 int pmc, psel; in power7_marked_instr_event() local 253 unsigned int pmc, unit, combine, l2sel, psel; in power7_compute_mmcr() local 315 static void power7_disable_pmc(unsigned int pmc, struct mmcr_regs *mmcr) in power7_disable_pmc()
|
| H A D | power5-pmu.c | 141 int pmc, byte, unit, sh; in power5_get_constraint() local 253 int pmc, altpmc, pp, j; in find_alternative_bdecode() local 341 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, struct mmcr_regs *mmcr) in power5_disable_pmc()
|
| H A D | ppc970-pmu.c | 147 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local 195 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, struct mmcr_regs *mmcr) in p970_disable_pmc()
|
| /linux/drivers/platform/x86/ |
| H A D | pmc_atom.c | 206 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read() 211 static inline void pmc_reg_write(struct pmc_dev *pmc, int reg_offset, u32 val) in pmc_reg_write() 218 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read() local 244 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup() 275 struct pmc_dev *pmc = s->private; in pmc_dev_state_show() local 298 struct pmc_dev *pmc = s->private; in pmc_pss_state_show() local 315 struct pmc_dev *pmc = s->private; in pmc_sleep_tmr_show() local 334 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() 350 static void pmc_dbgfs_register(struct pmc_dev *pmc) in pmc_dbgfs_register() 475 struct pmc_dev *pmc = &pmc_device; in pmc_s2idle_check() local [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | pmc.c | 21 static int wil_is_pmc_allocated(struct pmc_ctx *pmc) in wil_is_pmc_allocated() 44 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_alloc() local 226 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_free() local 316 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_read() local 372 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_llseek() local 422 struct pmc_ctx *pmc = &wil->pmc; in wil_pmcring_read() local
|
| /linux/net/ipv4/ |
| H A D | igmp.c | 178 #define for_each_pmc_rcu(in_dev, pmc) \ argument 183 #define for_each_pmc_rtnl(in_dev, pmc) \ argument 275 static int is_in(struct ip_mc_list *pmc, struct ip_sf_list *psf, int type, in is_in() 320 igmp_scount(struct ip_mc_list *pmc, int type, int gdeleted, int sdeleted) in igmp_scount() 433 static int grec_size(struct ip_mc_list *pmc, int type, int gdel, int sdel) in grec_size() 438 static struct sk_buff *add_grhead(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grhead() 463 static struct sk_buff *add_grec(struct sk_buff *skb, struct ip_mc_list *pmc, in add_grec() 591 static int igmpv3_send_report(struct in_device *in_dev, struct ip_mc_list *pmc) in igmpv3_send_report() 649 static void kfree_pmc(struct ip_mc_list *pmc) in kfree_pmc() 658 struct ip_mc_list *pmc, *pmc_prev, *pmc_next; in igmpv3_send_cr() local [all …]
|
| /linux/mm/ |
| H A D | mremap.c | 197 static int move_ptes(struct pagetable_move_control *pmc, in move_ptes() 330 static inline bool uffd_supports_page_table_move(struct pagetable_move_control *pmc) in uffd_supports_page_table_move() 350 static bool move_normal_pmd(struct pagetable_move_control *pmc, in move_normal_pmd() 419 static inline bool move_normal_pmd(struct pagetable_move_control *pmc, in move_normal_pmd() 427 static bool move_normal_pud(struct pagetable_move_control *pmc, in move_normal_pud() 470 static inline bool move_normal_pud(struct pagetable_move_control *pmc, in move_normal_pud() 478 static bool move_huge_pud(struct pagetable_move_control *pmc, in move_huge_pud() 519 static bool move_huge_pud(struct pagetable_move_control *pmc, in move_huge_pud() 542 struct pagetable_move_control *pmc) in get_extent() 580 static bool should_take_rmap_locks(struct pagetable_move_control *pmc, in should_take_rmap_locks() [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_pmu.c | 38 static u64 kvm_pmu_get_sample_period(struct kvm_pmc *pmc) in kvm_pmu_get_sample_period() 80 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc) in kvm_pmu_release_perf_event() 210 struct kvm_pmc *pmc; in pmu_fw_ctr_read_hi() local 241 struct kvm_pmc *pmc; in pmu_ctr_read() local 280 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_riscv_pmu_overflow() local 317 static long kvm_pmu_create_perf_event(struct kvm_pmc *pmc, struct perf_event_attr *attr, in kvm_pmu_create_perf_event() 544 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_ctr_start() local 622 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_ctr_stop() local 724 struct kvm_pmc *pmc = NULL; in kvm_riscv_vcpu_pmu_ctr_cfg_match() local 823 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_init() local [all …]
|
| /linux/net/ipv6/ |
| H A D | mcast.c | 120 #define for_each_pmc_socklock(np, sk, pmc) \ argument 125 #define for_each_pmc_rcu(np, pmc) \ argument 359 struct ipv6_mc_socklist *pmc; in ip6_mc_source() local 494 struct ipv6_mc_socklist *pmc; in ip6_mc_msfilter() local 590 struct ipv6_mc_socklist *pmc; in ip6_mc_msfget() local 733 struct ifmcaddr6 *pmc; in mld_add_delrec() local 774 struct ifmcaddr6 *pmc, *pmc_prev; in mld_del_delrec() local 814 struct ifmcaddr6 *pmc, *nextpmc; in mld_clear_delrec() local 1171 static bool mld_xmarksources(struct ifmcaddr6 *pmc, int nsrcs, in mld_xmarksources() 1201 static bool mld_marksources(struct ifmcaddr6 *pmc, int nsrcs, in mld_marksources() [all …]
|
| /linux/include/linux/mfd/ |
| H A D | intel_pmc_bxt.h | 35 static inline int intel_pmc_gcr_read64(struct intel_pmc_dev *pmc, u32 offset, in intel_pmc_gcr_read64() 41 static inline int intel_pmc_gcr_update(struct intel_pmc_dev *pmc, u32 offset, in intel_pmc_gcr_update() 47 static inline int intel_pmc_s0ix_counter_read(struct intel_pmc_dev *pmc, u64 *data) in intel_pmc_s0ix_counter_read()
|
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A 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() 440 void write_pmc(int pmc, u64 value) in write_pmc() 452 u64 read_pmc(int pmc) in read_pmc()
|
| H A 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/drivers/usb/typec/mux/ |
| H A D | intel_pmc_mux.c | 135 struct pmc_usb *pmc; member 572 static int pmc_usb_register_port(struct pmc_usb *pmc, int index, in pmc_usb_register_port() 660 static int pmc_usb_probe_iom(struct pmc_usb *pmc) in pmc_usb_probe_iom() 733 struct pmc_usb *pmc; in pmc_usb_probe() local 805 struct pmc_usb *pmc = platform_get_drvdata(pdev); in pmc_usb_remove() local
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91sam9g35.dtsi | 28 pmc: clock-controller@fffffc00 { label
|
| H A D | at91sam9g25.dtsi | 29 pmc: clock-controller@fffffc00 { label
|
| H A D | at91sam9x25.dtsi | 30 pmc: clock-controller@fffffc00 { label
|
| H A D | at91sam9x35.dtsi | 29 pmc: clock-controller@fffffc00 { label
|