/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | base.c | 29 nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in nvkm_pmu_pgob() argument 31 const struct nvkm_pmu_impl *impl = (void *)nv_oclass(pmu); in nvkm_pmu_pgob() 33 impl->pgob(pmu, enable); in nvkm_pmu_pgob() 37 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in nvkm_pmu_send() argument 40 struct nvkm_subdev *subdev = nv_subdev(pmu); in nvkm_pmu_send() 44 addr = nv_rd32(pmu, 0x10a4a0); in nvkm_pmu_send() 45 if (!nv_wait_ne(pmu, 0x10a4b0, 0xffffffff, addr ^ 8)) in nvkm_pmu_send() 54 pmu->recv.message = message; in nvkm_pmu_send() 55 pmu->recv.process = process; in nvkm_pmu_send() 60 nv_wr32(pmu, 0x10a580, 0x00000001); in nvkm_pmu_send() [all …]
|
D | memx.c | 8 struct nvkm_pmu *pmu; member 21 struct nvkm_pmu *pmu = memx->pmu; in memx_out() local 25 nv_wr32(pmu, 0x10a1c4, (memx->c.size << 16) | memx->c.mthd); in memx_out() 27 nv_wr32(pmu, 0x10a1c4, memx->c.data[i]); in memx_out() 45 nvkm_memx_init(struct nvkm_pmu *pmu, struct nvkm_memx **pmemx) in nvkm_memx_init() argument 51 ret = pmu->message(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_init() 59 memx->pmu = pmu; in nvkm_memx_init() 65 nv_wr32(pmu, 0x10a580, 0x00000003); in nvkm_memx_init() 66 } while (nv_rd32(pmu, 0x10a580) != 0x00000003); in nvkm_memx_init() 67 nv_wr32(pmu, 0x10a1c0, 0x01000000 | memx->base); in nvkm_memx_init() [all …]
|
D | gk110.c | 32 gk110_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in gk110_pmu_pgob() argument 57 nv_mask(pmu, 0x000200, 0x00001000, 0x00000000); in gk110_pmu_pgob() 58 nv_rd32(pmu, 0x000200); in gk110_pmu_pgob() 59 nv_mask(pmu, 0x000200, 0x08000000, 0x08000000); in gk110_pmu_pgob() 62 nv_mask(pmu, 0x10a78c, 0x00000002, 0x00000002); in gk110_pmu_pgob() 63 nv_mask(pmu, 0x10a78c, 0x00000001, 0x00000001); in gk110_pmu_pgob() 64 nv_mask(pmu, 0x10a78c, 0x00000001, 0x00000000); in gk110_pmu_pgob() 66 nv_mask(pmu, 0x0206b4, 0x00000000, 0x00000000); in gk110_pmu_pgob() 68 nv_wr32(pmu, magic[i].addr, magic[i].data); in gk110_pmu_pgob() 69 nv_wait(pmu, magic[i].addr, 0x80000000, 0x00000000); in gk110_pmu_pgob() [all …]
|
D | gk104.c | 30 gk104_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in gk104_pmu_pgob() argument 32 nv_mask(pmu, 0x000200, 0x00001000, 0x00000000); in gk104_pmu_pgob() 33 nv_rd32(pmu, 0x000200); in gk104_pmu_pgob() 34 nv_mask(pmu, 0x000200, 0x08000000, 0x08000000); in gk104_pmu_pgob() 37 nv_mask(pmu, 0x10a78c, 0x00000002, 0x00000002); in gk104_pmu_pgob() 38 nv_mask(pmu, 0x10a78c, 0x00000001, 0x00000001); in gk104_pmu_pgob() 39 nv_mask(pmu, 0x10a78c, 0x00000001, 0x00000000); in gk104_pmu_pgob() 41 nv_mask(pmu, 0x020004, 0xc0000000, enable ? 0xc0000000 : 0x40000000); in gk104_pmu_pgob() 44 nv_mask(pmu, 0x10a78c, 0x00000002, 0x00000000); in gk104_pmu_pgob() 45 nv_mask(pmu, 0x10a78c, 0x00000001, 0x00000001); in gk104_pmu_pgob() [all …]
|
D | Kbuild | 1 nvkm-y += nvkm/subdev/pmu/base.o 2 nvkm-y += nvkm/subdev/pmu/memx.o 3 nvkm-y += nvkm/subdev/pmu/gt215.o 4 nvkm-y += nvkm/subdev/pmu/gf100.o 5 nvkm-y += nvkm/subdev/pmu/gf110.o 6 nvkm-y += nvkm/subdev/pmu/gk104.o 7 nvkm-y += nvkm/subdev/pmu/gk110.o 8 nvkm-y += nvkm/subdev/pmu/gk208.o 9 nvkm-y += nvkm/subdev/pmu/gk20a.o
|
D | gk20a.c | 165 struct nvkm_pmu *pmu = (void *)object; in gk20a_pmu_fini() local 166 struct gk20a_pmu_priv *priv = (void *)pmu; in gk20a_pmu_fini() 170 return nvkm_subdev_fini(&pmu->base, suspend); in gk20a_pmu_fini() 176 struct nvkm_pmu *pmu = (void *)object; in gk20a_pmu_init() local 177 struct gk20a_pmu_priv *priv = (void *)pmu; in gk20a_pmu_init() 180 ret = nvkm_subdev_init(&pmu->base); in gk20a_pmu_init() 184 pmu->pgob = nvkm_pmu_pgob; in gk20a_pmu_init() 187 nv_wr32(pmu, 0x10a504 + (BUSY_SLOT * 0x10), 0x00200001); in gk20a_pmu_init() 188 nv_wr32(pmu, 0x10a50c + (BUSY_SLOT * 0x10), 0x00000002); in gk20a_pmu_init() 189 nv_wr32(pmu, 0x10a50c + (CLK_SLOT * 0x10), 0x00000003); in gk20a_pmu_init() [all …]
|
D | gt215.c | 30 struct nvkm_pmu *pmu = (void *)object; in gt215_pmu_init() local 31 nv_mask(pmu, 0x022210, 0x00000001, 0x00000000); in gt215_pmu_init() 32 nv_mask(pmu, 0x022210, 0x00000001, 0x00000001); in gt215_pmu_init() 33 return nvkm_pmu_init(pmu); in gt215_pmu_init()
|
D | priv.h | 28 void nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable);
|
/linux-4.1.27/arch/x86/kvm/ |
D | pmu.c | 50 struct kvm_pmu *pmu = &pmc->vcpu->arch.pmu; in pmc_bitmask() local 52 return pmu->counter_bitmask[pmc->type]; in pmc_bitmask() 57 struct kvm_pmu *pmu = &pmc->vcpu->arch.pmu; in pmc_enabled() local 58 return test_bit(pmc->idx, (unsigned long *)&pmu->global_ctrl); in pmc_enabled() 61 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc() argument 64 if (msr >= base && msr < base + pmu->nr_arch_gp_counters) in get_gp_pmc() 65 return &pmu->gp_counters[msr - base]; in get_gp_pmc() 69 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc() argument 72 if (msr >= base && msr < base + pmu->nr_arch_fixed_counters) in get_fixed_pmc() 73 return &pmu->fixed_counters[msr - base]; in get_fixed_pmc() [all …]
|
D | Makefile | 15 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_rapl.c | 125 struct pmu *pmu; /* pointer to rapl_pmu_class */ member 131 static struct pmu rapl_pmu_class; 205 static void rapl_start_hrtimer(struct rapl_pmu *pmu) in rapl_start_hrtimer() argument 207 __hrtimer_start_range_ns(&pmu->hrtimer, in rapl_start_hrtimer() 208 pmu->timer_interval, 0, in rapl_start_hrtimer() 212 static void rapl_stop_hrtimer(struct rapl_pmu *pmu) in rapl_stop_hrtimer() argument 214 hrtimer_cancel(&pmu->hrtimer); in rapl_stop_hrtimer() 219 struct rapl_pmu *pmu = __this_cpu_read(rapl_pmu); in rapl_hrtimer_handle() local 223 if (!pmu->n_active) in rapl_hrtimer_handle() 226 spin_lock_irqsave(&pmu->lock, flags); in rapl_hrtimer_handle() [all …]
|
D | perf_event_intel_uncore.h | 55 struct pmu *pmu; /* for custom pmu ops */ member 76 struct pmu pmu; member 104 struct intel_uncore_pmu *pmu; member 142 return box->pmu->type->box_ctl; in uncore_pci_box_ctl() 147 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl() 152 return box->pmu->type->fixed_ctr; in uncore_pci_fixed_ctr() 158 return idx * 4 + box->pmu->type->event_ctl; in uncore_pci_event_ctl() 164 return idx * 8 + box->pmu->type->perf_ctr; in uncore_pci_perf_ctr() 169 struct intel_uncore_pmu *pmu = box->pmu; in uncore_msr_box_offset() local 170 return pmu->type->msr_offsets ? in uncore_msr_box_offset() [all …]
|
D | perf_event_intel_uncore.c | 33 return container_of(event->pmu, struct intel_uncore_pmu, pmu); in uncore_event_to_pmu() 36 struct intel_uncore_box *uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu) in uncore_pmu_to_box() argument 40 box = *per_cpu_ptr(pmu->box, cpu); in uncore_pmu_to_box() 46 if (*per_cpu_ptr(pmu->box, cpu)) in uncore_pmu_to_box() 48 list_for_each_entry(box, &pmu->box_list, list) { in uncore_pmu_to_box() 51 *per_cpu_ptr(pmu->box, cpu) = box; in uncore_pmu_to_box() 58 return *per_cpu_ptr(pmu->box, cpu); in uncore_pmu_to_box() 287 return event->pmu->event_init == uncore_pmu_event_init; in is_uncore_event() 296 max_count = box->pmu->type->num_counters; in uncore_collect_events() 297 if (box->pmu->type->fixed_ctl) in uncore_collect_events() [all …]
|
D | perf_event_amd_uncore.c | 40 struct pmu *pmu; member 48 static struct pmu amd_nb_pmu; 49 static struct pmu amd_l2_pmu; 56 return event->pmu->type == amd_nb_pmu.type; in is_nb_event() 61 return event->pmu->type == amd_l2_pmu.type; in is_l2_event() 180 if (event->attr.type != event->pmu->type) in amd_uncore_event_init() 223 struct pmu *pmu = dev_get_drvdata(dev); in amd_uncore_attr_show_cpumask() local 225 if (pmu->type == amd_nb_pmu.type) in amd_uncore_attr_show_cpumask() 227 else if (pmu->type == amd_l2_pmu.type) in amd_uncore_attr_show_cpumask() 265 static struct pmu amd_nb_pmu = { [all …]
|
D | perf_event_amd_ibs.c | 45 struct pmu pmu; member 157 if (perf_ibs_fetch.pmu.type == type) in get_ibs_pmu() 159 if (perf_ibs_op.pmu.type == type) in get_ibs_pmu() 244 if (event->pmu != &perf_ibs->pmu) in perf_ibs_init() 368 struct perf_ibs *perf_ibs = container_of(event->pmu, struct perf_ibs, pmu); in perf_ibs_start() 388 struct perf_ibs *perf_ibs = container_of(event->pmu, struct perf_ibs, pmu); in perf_ibs_stop() 422 struct perf_ibs *perf_ibs = container_of(event->pmu, struct perf_ibs, pmu); in perf_ibs_add() 440 struct perf_ibs *perf_ibs = container_of(event->pmu, struct perf_ibs, pmu); in perf_ibs_del() 469 .pmu = { 493 .pmu = { [all …]
|
D | perf_event_amd_iommu.c | 39 struct pmu pmu; member 204 if (event->attr.type != event->pmu->type) in perf_iommu_event_init() 225 if (event->pmu != &perf_iommu->pmu) in perf_iommu_event_init() 368 container_of(event->pmu, struct perf_amd_iommu, pmu); in perf_iommu_add() 389 container_of(event->pmu, struct perf_amd_iommu, pmu); in perf_iommu_del() 455 perf_iommu->pmu.attr_groups = perf_iommu->attr_groups; in _init_perf_amd_iommu() 457 ret = perf_pmu_register(&perf_iommu->pmu, name, -1); in _init_perf_amd_iommu() 471 .pmu = {
|
D | perf_event_intel_pt.c | 1047 if (event->attr.type != pt_pmu.pmu.type) in pt_event_init() 1093 pt_pmu.pmu.capabilities = in pt_init() 1096 pt_pmu.pmu.capabilities |= PERF_PMU_CAP_EXCLUSIVE | PERF_PMU_CAP_ITRACE; in pt_init() 1097 pt_pmu.pmu.attr_groups = pt_attr_groups; in pt_init() 1098 pt_pmu.pmu.task_ctx_nr = perf_sw_context; in pt_init() 1099 pt_pmu.pmu.event_init = pt_event_init; in pt_init() 1100 pt_pmu.pmu.add = pt_event_add; in pt_init() 1101 pt_pmu.pmu.del = pt_event_del; in pt_init() 1102 pt_pmu.pmu.start = pt_event_start; in pt_init() 1103 pt_pmu.pmu.stop = pt_event_stop; in pt_init() [all …]
|
D | perf_event_intel_uncore_snb.c | 85 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box() 239 struct intel_uncore_pmu *pmu; in snb_uncore_imc_event_init() local 245 if (event->attr.type != event->pmu->type) in snb_uncore_imc_event_init() 248 pmu = uncore_event_to_pmu(event); in snb_uncore_imc_event_init() 250 if (pmu->func_id < 0) in snb_uncore_imc_event_init() 278 box = uncore_pmu_to_box(pmu, event->cpu); in snb_uncore_imc_event_init() 418 static struct pmu snb_uncore_imc_pmu = { 449 .pmu = &snb_uncore_imc_pmu,
|
D | perf_event.c | 591 static void x86_pmu_disable(struct pmu *pmu) in x86_pmu_disable() argument 623 static struct pmu pmu; variable 627 return event->pmu == &pmu; in is_x86_event() 996 static void x86_pmu_enable(struct pmu *pmu) in x86_pmu_enable() argument 1508 pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; in pmu_check_apic() 1726 perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW); in init_hw_perf_events() 1743 static void x86_pmu_start_txn(struct pmu *pmu) in x86_pmu_start_txn() argument 1745 perf_pmu_disable(pmu); in x86_pmu_start_txn() 1755 static void x86_pmu_cancel_txn(struct pmu *pmu) in x86_pmu_cancel_txn() argument 1764 perf_pmu_enable(pmu); in x86_pmu_cancel_txn() [all …]
|
D | intel_pt.h | 81 struct pmu pmu; member
|
D | perf_event_intel_uncore_nhmex.c | 245 else if (box->pmu->type->event_mask & NHMEX_PMON_CTL_EN_BIT0) in nhmex_uncore_msr_enable_event() 360 if (box->pmu->pmu_idx == 0) in nhmex_bbox_hw_config() 445 if (box->pmu->pmu_idx == 0) in nhmex_sbox_hw_config() 760 struct intel_uncore_type *type = box->pmu->type; in nhmex_mbox_hw_config() 777 msr = er->msr + type->msr_offset * box->pmu->pmu_idx; in nhmex_mbox_hw_config() 804 if (box->pmu->pmu_idx == 0) in nhmex_mbox_hw_config() 1112 port = idx / 6 + box->pmu->pmu_idx * 4; in nhmex_rbox_msr_enable_event()
|
D | perf_event_intel_lbr.c | 332 perf_sched_cb_inc(event->ctx->pmu); in intel_pmu_lbr_enable() 351 perf_sched_cb_dec(event->ctx->pmu); in intel_pmu_lbr_disable()
|
D | perf_event_intel_cqm.c | 810 static struct pmu intel_cqm_pmu; 1226 static struct pmu intel_cqm_pmu = {
|
D | perf_event_intel_uncore_snbep.c | 739 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config() 921 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event() 1393 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config() 1879 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config()
|
D | perf_event_intel_bts.c | 63 struct pmu bts_pmu;
|
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,dove-pinctrl.txt | 14 Note: pmu* also allows for Power Management functions listed below 18 mpp0 0 gpio, pmu, uart2(rts), sdio0(cd), lcd0(pwm), pmu* 19 mpp1 1 gpio, pmu, uart2(cts), sdio0(wp), lcd1(pwm), pmu* 20 mpp2 2 gpio, pmu, uart2(txd), sdio0(buspwr), sata(prsnt), 21 uart1(rts), pmu* 22 mpp3 3 gpio, pmu, uart2(rxd), sdio0(ledctrl), sata(act), 23 uart1(cts), lcd-spi(cs1), pmu* 24 mpp4 4 gpio, pmu, uart3(rts), sdio1(cd), spi1(miso), pmu* 25 mpp5 5 gpio, pmu, uart3(cts), sdio1(wp), spi1(cs), pmu* 26 mpp6 6 gpio, pmu, uart3(txd), sdio1(buspwr), spi1(mosi), pmu* [all …]
|
D | rockchip,pinctrl.txt | 29 - rockchip,pmu: phandle referencing a syscon providing the pmu registers 37 Use rockchip,grf and rockchip,pmu described above instead. 56 rockchip,pmu described above instead 124 rockchip,pmu = <&pmu>;
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gm204.c | 31 pmu_code(struct nv50_devinit_priv *priv, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() argument 36 nv_wr32(priv, 0x10a180, 0x01000000 | (sec ? 0x10000000 : 0) | pmu); in pmu_code() 39 nv_wr32(priv, 0x10a188, (pmu + i) >> 8); in pmu_code() 50 pmu_data(struct nv50_devinit_priv *priv, u32 pmu, u32 img, u32 len) in pmu_data() argument 55 nv_wr32(priv, 0x10a1c0, 0x01000000 | pmu); in pmu_data() 81 struct nvbios_pmuR pmu; in pmu_load() local 83 if (!nvbios_pmuRm(bios, type, &pmu)) { in pmu_load() 91 pmu_code(priv, pmu.boot_addr_pmu, pmu.boot_addr, pmu.boot_size, false); in pmu_load() 92 pmu_code(priv, pmu.code_addr_pmu, pmu.code_addr, pmu.code_size, true); in pmu_load() 93 pmu_data(priv, pmu.data_addr_pmu, pmu.data_addr, pmu.data_size); in pmu_load() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | pmu.c | 434 perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config() 441 struct perf_pmu *pmu; in pmu_lookup() local 460 pmu = zalloc(sizeof(*pmu)); in pmu_lookup() 461 if (!pmu) in pmu_lookup() 464 pmu->cpus = pmu_cpumask(name); in pmu_lookup() 466 INIT_LIST_HEAD(&pmu->format); in pmu_lookup() 467 INIT_LIST_HEAD(&pmu->aliases); in pmu_lookup() 468 list_splice(&format, &pmu->format); in pmu_lookup() 469 list_splice(&aliases, &pmu->aliases); in pmu_lookup() 470 pmu->name = strdup(name); in pmu_lookup() [all …]
|
D | pmu.h | 49 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, 55 int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms, 57 struct list_head *perf_pmu__alias(struct perf_pmu *pmu, 67 struct perf_pmu *perf_pmu__scan(struct perf_pmu *pmu); 72 int perf_pmu__scan_file(struct perf_pmu *pmu, const char *name, const char *fmt, 77 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu);
|
D | Build | 52 libperf-y += pmu.o 53 libperf-y += pmu-flex.o 54 libperf-y += pmu-bison.o 110 $(OUTPUT)util/pmu-flex.c: util/pmu.l $(OUTPUT)util/pmu-bison.c 112 @$(call echo-cmd,flex)$(FLEX) -o $@ --header-file=$(OUTPUT)util/pmu-flex.h util/pmu.l 114 $(OUTPUT)util/pmu-bison.c: util/pmu.y 116 @$(call echo-cmd,bison)$(BISON) -v util/pmu.y -d -o $@ -p perf_pmu_ 124 $(OUTPUT)util/pmu.o: $(OUTPUT)util/pmu-flex.c $(OUTPUT)util/pmu-bison.c
|
D | parse-events.c | 634 struct perf_pmu *pmu; in parse_events_add_pmu() local 637 pmu = perf_pmu__find(name); in parse_events_add_pmu() 638 if (!pmu) in parse_events_add_pmu() 641 if (pmu->default_config) { in parse_events_add_pmu() 642 memcpy(&attr, pmu->default_config, in parse_events_add_pmu() 649 attr.type = pmu->type; in parse_events_add_pmu() 650 evsel = __add_event(list, idx, &attr, NULL, pmu->cpus); in parse_events_add_pmu() 654 if (perf_pmu__check_alias(pmu, head_config, &info)) in parse_events_add_pmu() 663 if (perf_pmu__config(pmu, &attr, head_config)) in parse_events_add_pmu() 667 pmu->cpus); in parse_events_add_pmu() [all …]
|
D | parse-events.h | 110 char *pmu , struct list_head *head_config);
|
D | header.c | 761 struct perf_pmu *pmu = NULL; in write_pmu_mappings() local 771 while ((pmu = perf_pmu__scan(pmu))) { in write_pmu_mappings() 772 if (!pmu->name) in write_pmu_mappings() 776 ret = do_write(fd, &pmu->type, sizeof(pmu->type)); in write_pmu_mappings() 780 ret = do_write_string(fd, pmu->name); in write_pmu_mappings()
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ |
D | pmu.txt | 11 "arm,cortex-a17-pmu" 12 "arm,cortex-a15-pmu" 13 "arm,cortex-a12-pmu" 14 "arm,cortex-a9-pmu" 15 "arm,cortex-a8-pmu" 16 "arm,cortex-a7-pmu" 17 "arm,cortex-a5-pmu" 18 "arm,arm11mpcore-pmu" 19 "arm,arm1176-pmu" 20 "arm,arm1136-pmu" [all …]
|
D | cci.txt | 92 A CCI pmu node must contain the following properties: 98 "arm,cci-400-pmu,r0" 99 "arm,cci-400-pmu,r1" 100 "arm,cci-400-pmu" - DEPRECATED, permitted only where OS has 212 pmu@9000 { 213 compatible = "arm,cci-400-pmu";
|
D | cpus.txt | 232 - rockchip,pmu
|
/linux-4.1.27/arch/powerpc/perf/ |
D | Makefile | 6 obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \ 7 power5+-pmu.o power6-pmu.o power7-pmu.o \ 8 power8-pmu.o 9 obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o 12 obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o
|
D | core-fsl-emb.c | 207 static void fsl_emb_pmu_disable(struct pmu *pmu) in fsl_emb_pmu_disable() argument 246 static void fsl_emb_pmu_enable(struct pmu *pmu) in fsl_emb_pmu_enable() argument 301 perf_pmu_disable(event->pmu); in fsl_emb_pmu_add() 349 perf_pmu_enable(event->pmu); in fsl_emb_pmu_add() 359 perf_pmu_disable(event->pmu); in fsl_emb_pmu_del() 387 perf_pmu_enable(event->pmu); in fsl_emb_pmu_del() 407 perf_pmu_disable(event->pmu); in fsl_emb_pmu_start() 417 perf_pmu_enable(event->pmu); in fsl_emb_pmu_start() 432 perf_pmu_disable(event->pmu); in fsl_emb_pmu_stop() 439 perf_pmu_enable(event->pmu); in fsl_emb_pmu_stop() [all …]
|
D | core-book3s.c | 362 perf_sched_cb_inc(event->ctx->pmu); in power_pmu_bhrb_enable() 374 perf_sched_cb_dec(event->ctx->pmu); in power_pmu_bhrb_disable() 1153 static void power_pmu_disable(struct pmu *pmu) in power_pmu_disable() argument 1211 static void power_pmu_enable(struct pmu *pmu) in power_pmu_enable() argument 1414 perf_pmu_disable(event->pmu); in power_pmu_add() 1467 perf_pmu_enable(event->pmu); in power_pmu_add() 1482 perf_pmu_disable(event->pmu); in power_pmu_del() 1522 perf_pmu_enable(event->pmu); in power_pmu_del() 1547 perf_pmu_disable(event->pmu); in power_pmu_start() 1559 perf_pmu_enable(event->pmu); in power_pmu_start() [all …]
|
D | hv-gpci.c | 219 if (event->attr.type != event->pmu->type) in h_gpci_event_init() 270 static struct pmu h_gpci_pmu = {
|
D | hv-24x7.c | 1144 if (event->attr.type != event->pmu->type) in h_24x7_event_init() 1258 static struct pmu h_24x7_pmu = {
|
/linux-4.1.27/drivers/regulator/ |
D | bcm590xx-regulator.c | 367 struct bcm590xx_reg *pmu; in bcm590xx_probe() local 378 pmu = devm_kzalloc(&pdev->dev, sizeof(*pmu), GFP_KERNEL); in bcm590xx_probe() 379 if (!pmu) in bcm590xx_probe() 382 pmu->mfd = bcm590xx; in bcm590xx_probe() 384 platform_set_drvdata(pdev, pmu); in bcm590xx_probe() 386 pmu->desc = devm_kzalloc(&pdev->dev, BCM590XX_NUM_REGS * in bcm590xx_probe() 388 if (!pmu->desc) in bcm590xx_probe() 400 pmu->desc[i].name = info->name; in bcm590xx_probe() 401 pmu->desc[i].supply_name = info->vin_name; in bcm590xx_probe() 402 pmu->desc[i].id = i; in bcm590xx_probe() [all …]
|
/linux-4.1.27/drivers/bus/ |
D | arm-cci.c | 117 struct pmu pmu; member 129 static struct cci_pmu *pmu; variable 131 #define to_cci_pmu(c) (container_of(c, struct cci_pmu, pmu)) 210 if (ev_code >= pmu->model->event_ranges[if_type].min && in pmu_validate_hw_event() 211 ev_code <= pmu->model->event_ranges[if_type].max) in pmu_validate_hw_event() 244 return readl_relaxed(pmu->base + CCI_PMU_CNTR_BASE(idx) + offset); in pmu_read_register() 249 return writel_relaxed(value, pmu->base + CCI_PMU_CNTR_BASE(idx) + offset); in pmu_write_register() 278 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in pmu_get_event_idx() 322 if (pmu->nr_irqs < 1) { in pmu_request_irq() 334 for (i = 0; i < pmu->nr_irqs; i++) { in pmu_request_irq() [all …]
|
D | arm-ccn.c | 149 struct arm_ccn_dt, pmu), struct arm_ccn, dt) 169 struct pmu pmu; member 592 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_destroy() 623 if (event->attr.type != event->pmu->type) in arm_ccn_pmu_event_init() 626 ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_init() 786 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_update() 802 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_xp_dt_config() 831 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_start() 848 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_stop() 873 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_xp_watchpoint_config() [all …]
|
/linux-4.1.27/arch/arm/kernel/ |
D | perf_event.c | 82 if (type == event->pmu->type) in armpmu_map_event() 99 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period() 139 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_update() 168 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop() 184 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start() 209 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del() 226 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_add() 232 perf_pmu_disable(event->pmu); in armpmu_add() 257 perf_pmu_enable(event->pmu); in armpmu_add() 262 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() argument [all …]
|
D | perf_event_cpu.c | 182 struct arm_pmu *pmu = container_of(b, struct arm_pmu, hotplug_nb); in cpu_pmu_notify() local 187 if (pmu->reset) in cpu_pmu_notify() 188 pmu->reset(pmu); in cpu_pmu_notify() 226 cpu_pmu->pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; in cpu_pmu_init() 284 static int probe_current_pmu(struct arm_pmu *pmu) in probe_current_pmu() argument 296 ret = info->init(pmu); in probe_current_pmu() 357 struct arm_pmu *pmu; in cpu_pmu_device_probe() local 365 pmu = kzalloc(sizeof(struct arm_pmu), GFP_KERNEL); in cpu_pmu_device_probe() 366 if (!pmu) { in cpu_pmu_device_probe() 371 cpu_pmu = pmu; in cpu_pmu_device_probe() [all …]
|
D | perf_event_v7.c | 636 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_read_counter() 656 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_write_counter() 763 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_enable_event() 809 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_disable_event() 925 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv7pmu_get_event_idx() 1346 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in krait_pmu_disable_event() 1372 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in krait_pmu_enable_event() 1433 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in krait_event_to_bit() 1679 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in scorpion_pmu_disable_event() 1705 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in scorpion_pmu_enable_event() [all …]
|
D | perf_event_xscale.c | 199 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale1pmu_enable_event() 235 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale1pmu_disable_event() 540 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale2pmu_enable_event() 586 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in xscale2pmu_disable_event()
|
D | perf_event_v6.c | 263 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6pmu_enable_event() 410 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6pmu_disable_event() 445 struct arm_pmu *cpu_pmu = to_arm_pmu(event->pmu); in armv6mpcore_pmu_disable_event()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 340 return this_cpu_ptr(ctx->pmu->pmu_cpu_context); in __get_cpu_context() 475 struct pmu *pmu; in perf_cgroup_switch() local 491 list_for_each_entry_rcu(pmu, &pmus, entry) { in perf_cgroup_switch() 492 cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_cgroup_switch() 493 if (cpuctx->unique_pmu != pmu) in perf_cgroup_switch() 505 perf_pmu_disable(cpuctx->ctx.pmu); in perf_cgroup_switch() 526 perf_pmu_enable(cpuctx->ctx.pmu); in perf_cgroup_switch() 777 struct pmu *pmu; in perf_cpu_hrtimer_cancel() local 787 list_for_each_entry_rcu(pmu, &pmus, entry) { in perf_cpu_hrtimer_cancel() 788 cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_cpu_hrtimer_cancel() [all …]
|
D | ring_buffer.c | 477 if (event->pmu->capabilities & PERF_PMU_CAP_AUX_NO_SG) { in rb_alloc_aux() 488 if ((event->pmu->capabilities & PERF_PMU_CAP_AUX_SW_DOUBLEBUF) && in rb_alloc_aux() 501 rb->free_aux = event->pmu->free_aux; in rb_alloc_aux() 522 if ((event->pmu->capabilities & PERF_PMU_CAP_AUX_NO_SG) && in rb_alloc_aux() 530 rb->aux_priv = event->pmu->setup_aux(event->cpu, rb->aux_pages, nr_pages, in rb_alloc_aux()
|
D | hw_breakpoint.c | 608 static struct pmu perf_breakpoint = {
|
/linux-4.1.27/include/linux/ |
D | perf_event.h | 184 struct pmu { struct 208 void (*pmu_enable) (struct pmu *pmu); /* optional */ argument 209 void (*pmu_disable) (struct pmu *pmu); /* optional */ argument 256 void (*start_txn) (struct pmu *pmu); /* optional */ argument 263 int (*commit_txn) (struct pmu *pmu); /* optional */ argument 268 void (*cancel_txn) (struct pmu *pmu); /* optional */ argument 378 struct pmu *pmu; member 503 struct pmu *pmu; member 567 struct pmu *unique_pmu; 622 extern int perf_pmu_register(struct pmu *pmu, const char *name, int type); [all …]
|
/linux-4.1.27/arch/arm/mach-rockchip/ |
D | platsmp.c | 44 static struct regmap *pmu; variable 51 ret = regmap_read(pmu, PMU_PWRDN_ST, &val); in pmu_power_domain_is_on() 92 ret = regmap_update_bits(pmu, PMU_PWRDN_CON, BIT(pd), val); in pmu_set_power_domain() 126 if (!sram_base_addr || !pmu) { in rockchip_boot_secondary() 225 pmu = syscon_regmap_lookup_by_phandle(node, "rockchip,pmu"); in rockchip_smp_prepare_pmu() 227 if (!IS_ERR(pmu)) in rockchip_smp_prepare_pmu() 230 pmu = syscon_regmap_lookup_by_compatible("rockchip,rk3066-pmu"); in rockchip_smp_prepare_pmu() 231 if (!IS_ERR(pmu)) in rockchip_smp_prepare_pmu() 235 pmu = NULL; in rockchip_smp_prepare_pmu() 248 pmu = regmap_init_mmio(NULL, pmu_base, &rockchip_pmu_regmap_config); in rockchip_smp_prepare_pmu() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/samsung/ |
D | pmu.txt | 5 - "samsung,exynos3250-pmu" - for Exynos3250 SoC, 6 - "samsung,exynos4210-pmu" - for Exynos4210 SoC, 7 - "samsung,exynos4212-pmu" - for Exynos4212 SoC, 8 - "samsung,exynos4412-pmu" - for Exynos4412 SoC, 9 - "samsung,exynos5250-pmu" - for Exynos5250 SoC, 10 - "samsung,exynos5260-pmu" - for Exynos5260 SoC. 11 - "samsung,exynos5410-pmu" - for Exynos5410 SoC, 12 - "samsung,exynos5420-pmu" - for Exynos5420 SoC. 13 - "samsung,exynos7-pmu" - for Exynos7 SoC. 48 compatible = "samsung,exynos5250-pmu", "syscon";
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/rockchip/ |
D | pmu-sram.txt | 1 Rockchip SRAM for pmu: 4 The sram of pmu is used to store the function of resume from maskrom(the 1st 5 level loader). This is a common use of the "pmu-sram" because it keeps power 9 - compatible : should be "rockchip,rk3288-pmu-sram" 14 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
|
D | pmu.txt | 4 The pmu is used to turn off and on different power domains of the SoCs 8 - compatible value : = "rockchip,rk3066-pmu"; 13 pmu@20004000 { 14 compatible = "rockchip,rk3066-pmu";
|
/linux-4.1.27/arch/sh/kernel/ |
D | perf_event.c | 272 perf_pmu_disable(event->pmu); in sh_pmu_add() 292 perf_pmu_enable(event->pmu); in sh_pmu_add() 328 static void sh_pmu_enable(struct pmu *pmu) in sh_pmu_enable() argument 336 static void sh_pmu_disable(struct pmu *pmu) in sh_pmu_disable() argument 344 static struct pmu pmu = { variable 392 pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; in register_sh_pmu() 396 perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW); in register_sh_pmu()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | perf_event.c | 51 #define to_arm_pmu(p) (container_of(p, struct arm_pmu, pmu)) 155 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period() 197 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_update() 231 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop() 249 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start() 274 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del() 291 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_add() 297 perf_pmu_disable(event->pmu); in armpmu_add() 322 perf_pmu_enable(event->pmu); in armpmu_add() 327 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() argument [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | perf_cpum_cf.c | 174 static void cpumf_pmu_enable(struct pmu *pmu) in cpumf_pmu_enable() argument 197 static void cpumf_pmu_disable(struct pmu *pmu) in cpumf_pmu_disable() argument 576 static void cpumf_pmu_start_txn(struct pmu *pmu) in cpumf_pmu_start_txn() argument 580 perf_pmu_disable(pmu); in cpumf_pmu_start_txn() 590 static void cpumf_pmu_cancel_txn(struct pmu *pmu) in cpumf_pmu_cancel_txn() argument 597 perf_pmu_enable(pmu); in cpumf_pmu_cancel_txn() 605 static int cpumf_pmu_commit_txn(struct pmu *pmu) in cpumf_pmu_commit_txn() argument 617 perf_pmu_enable(pmu); in cpumf_pmu_commit_txn() 622 static struct pmu cpumf_pmu = {
|
D | perf_cpum_sf.c | 850 static void cpumsf_pmu_enable(struct pmu *pmu) in cpumsf_pmu_enable() argument 899 static void cpumsf_pmu_disable(struct pmu *pmu) in cpumsf_pmu_disable() argument 1037 event->pmu->stop(event, 0); in perf_push_sample() 1317 perf_pmu_disable(event->pmu); in cpumsf_pmu_start() 1322 perf_pmu_enable(event->pmu); in cpumsf_pmu_start() 1335 perf_pmu_disable(event->pmu); in cpumsf_pmu_stop() 1344 perf_pmu_enable(event->pmu); in cpumsf_pmu_stop() 1359 perf_pmu_disable(event->pmu); in cpumsf_pmu_add() 1393 perf_pmu_enable(event->pmu); in cpumsf_pmu_add() 1401 perf_pmu_disable(event->pmu); in cpumsf_pmu_del() [all …]
|
/linux-4.1.27/arch/arc/kernel/ |
D | perf_event.c | 22 struct pmu pmu; member 168 static void arc_pmu_enable(struct pmu *pmu) in arc_pmu_enable() argument 176 static void arc_pmu_disable(struct pmu *pmu) in arc_pmu_disable() argument 324 arc_pmu->pmu = (struct pmu) { in arc_pmu_device_probe() 336 arc_pmu->pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; in arc_pmu_device_probe() 338 ret = perf_pmu_register(&arc_pmu->pmu, pdev->name, PERF_TYPE_RAW); in arc_pmu_device_probe()
|
/linux-4.1.27/drivers/phy/ |
D | phy-sun9i-usb.c | 46 void __iomem *pmu; member 65 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby() 72 writel(reg_value, phy->pmu); in sun9i_usb_phy_passby() 169 phy->pmu = devm_ioremap_resource(dev, res); in sun9i_usb_phy_probe() 170 if (IS_ERR(phy->pmu)) in sun9i_usb_phy_probe() 171 return PTR_ERR(phy->pmu); in sun9i_usb_phy_probe()
|
D | phy-sun4i-usb.c | 71 void __iomem *pmu; member 128 if (!phy->pmu) in sun4i_usb_phy_passby() 134 reg_value = readl(phy->pmu); in sun4i_usb_phy_passby() 141 writel(reg_value, phy->pmu); in sun4i_usb_phy_passby() 297 phy->pmu = devm_ioremap_resource(dev, res); in sun4i_usb_phy_probe() 298 if (IS_ERR(phy->pmu)) in sun4i_usb_phy_probe() 299 return PTR_ERR(phy->pmu); in sun4i_usb_phy_probe()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gk104.c | 200 struct nvkm_pmu *pmu = nvkm_pmu(priv); in gk104_gr_init() local 207 if (pmu) in gk104_gr_init() 208 pmu->pgob(pmu, false); in gk104_gr_init() 318 struct nvkm_pmu *pmu = nvkm_pmu(parent); in gk104_gr_ctor() local 319 if (pmu) in gk104_gr_ctor() 320 pmu->pgob(pmu, false); in gk104_gr_ctor()
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | perf_event.c | 353 perf_pmu_disable(event->pmu); in bfin_pmu_add() 373 perf_pmu_enable(event->pmu); in bfin_pmu_add() 422 static void bfin_pmu_enable(struct pmu *pmu) in bfin_pmu_enable() argument 440 static void bfin_pmu_disable(struct pmu *pmu) in bfin_pmu_disable() argument 445 static struct pmu pmu = { variable 490 pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; in bfin_pmu_init() 492 ret = perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW); in bfin_pmu_init()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | pmu.h | 45 struct pmu pmu; member 70 #define to_arm_pmu(p) (container_of(p, struct arm_pmu, pmu))
|
D | hw_breakpoint.h | 107 struct pmu; 133 extern struct pmu perf_ops_bp;
|
/linux-4.1.27/drivers/macintosh/ |
D | Makefile | 14 obj-$(CONFIG_ADB_PMU) += via-pmu.o via-pmu-event.o 15 obj-$(CONFIG_ADB_PMU_LED) += via-pmu-led.o 16 obj-$(CONFIG_PMAC_BACKLIGHT) += via-pmu-backlight.o
|
D | Kconfig | 146 bool "Provide legacy ioctl's on /dev/pmu for the backlight" 149 Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
|
/linux-4.1.27/arch/metag/kernel/perf/ |
D | perf_event.c | 136 static void metag_pmu_enable(struct pmu *pmu) in metag_pmu_enable() argument 140 static void metag_pmu_disable(struct pmu *pmu) in metag_pmu_disable() argument 313 perf_pmu_disable(event->pmu); in metag_pmu_add() 345 perf_pmu_enable(event->pmu); in metag_pmu_add() 374 static struct pmu pmu = { variable 853 metag_pmu->pmu = pmu; in init_hw_perf_events() 865 metag_pmu->pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; in init_hw_perf_events() 884 ret = perf_pmu_register(&pmu, metag_pmu->name, PERF_TYPE_RAW); in init_hw_perf_events()
|
D | perf_event.h | 77 struct pmu pmu; member
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-events | 30 What: /sys/bus/event_source/devices/<pmu>/events/<event> 33 Description: Per-pmu performance monitoring events specific to the running system 37 performance monitoring event supported by the <pmu>. The name 45 /sys/bus/event_source/devices/<pmu>/format/ and <value> is 67 What: /sys/bus/event_source/devices/<pmu>/events/<event>.unit 79 What: /sys/bus/event_source/devices/<pmu>/events/<event>.scale
|
D | sysfs-bus-event_source-devices-format | 7 perf_event_attr::config[012] for a particular pmu.
|
D | sysfs-bus-event_source-devices-hv_24x7 | 7 avaliable from the powerpc "hv_24x7" pmu. Its format is
|
/linux-4.1.27/arch/alpha/kernel/ |
D | perf_event.c | 448 perf_pmu_disable(event->pmu); in alpha_pmu_add() 473 perf_pmu_enable(event->pmu); in alpha_pmu_add() 491 perf_pmu_disable(event->pmu); in alpha_pmu_del() 519 perf_pmu_enable(event->pmu); in alpha_pmu_del() 725 static void alpha_pmu_enable(struct pmu *pmu) in alpha_pmu_enable() argument 751 static void alpha_pmu_disable(struct pmu *pmu) in alpha_pmu_disable() argument 764 static struct pmu pmu = { variable 899 perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW); in init_hw_perf_events()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | pmu.h | 93 struct pmu pmu; member 123 #define to_arm_pmu(p) (container_of(p, struct arm_pmu, pmu))
|
D | hw_breakpoint.h | 115 struct pmu; 117 extern struct pmu perf_ops_bp;
|
/linux-4.1.27/arch/x86/include/asm/ |
D | hw_breakpoint.h | 52 struct pmu; 74 extern struct pmu perf_ops_bp;
|
D | kvm_host.h | 496 struct kvm_pmu pmu; member
|
/linux-4.1.27/arch/sh/include/asm/ |
D | hw_breakpoint.h | 45 struct pmu; 68 extern struct pmu perf_ops_bp;
|
/linux-4.1.27/arch/arm/plat-iop/ |
D | Makefile | 12 obj-$(CONFIG_ARCH_IOP32X) += pmu.o 22 obj-$(CONFIG_ARCH_IOP33X) += pmu.o
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramfuc.h | 59 struct nvkm_pmu *pmu = nvkm_pmu(pfb); in ramfuc_init() local 62 ret = nvkm_memx_init(pmu, &ram->memx); in ramfuc_init() 149 struct nvkm_pmu *pmu = nvkm_pmu(pfb); in ramfuc_train_result() local 151 return nvkm_memx_train_result(pmu, result, rsize); in ramfuc_train_result()
|
/linux-4.1.27/drivers/pinctrl/mvebu/ |
D | pinctrl-dove.c | 83 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_get() local 86 if ((pmu & BIT(pid)) == 0) in dove_pmu_mpp_ctrl_get() 100 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() local 104 writel(pmu & ~BIT(pid), mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 108 writel(pmu | BIT(pid), mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 201 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_audio0_ctrl_get() local 203 *config = ((pmu & AU0_AC97_SEL) != 0); in dove_audio0_ctrl_get() 210 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_audio0_ctrl_set() local 212 pmu &= ~AU0_AC97_SEL; in dove_audio0_ctrl_set() 214 pmu |= AU0_AC97_SEL; in dove_audio0_ctrl_set() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | hw_breakpoint.h | 56 struct pmu; 72 extern struct pmu perf_ops_bp;
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | dra72x.dtsi | 31 pmu { 32 compatible = "arm,cortex-a15-pmu";
|
D | bcm28155-ap.dts | 51 pmu: pmu@8 { label 89 &pmu {
|
D | dra74x.dtsi | 47 pmu { 48 compatible = "arm,cortex-a15-pmu";
|
D | exynos4412.dtsi | 61 pmu { 70 compatible = "samsung,exynos4412-pmu", "syscon";
|
D | omap4460.dtsi | 31 pmu { 32 compatible = "arm,cortex-a9-pmu";
|
D | ecx-2000.dts | 107 pmu { 108 compatible = "arm,cortex-a9-pmu";
|
D | highbank.dts | 127 pmu { 128 compatible = "arm,cortex-a9-pmu";
|
D | bcm2835.dtsi | 149 arm-pmu { 150 compatible = "arm,arm1176-pmu";
|
D | exynos5440.dtsi | 72 arm-pmu { 73 compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
|
D | bcm59056.dtsi | 11 &pmu {
|
D | axm55xx.dtsi | 86 pmu { 87 compatible = "arm,cortex-a15-pmu";
|
D | vexpress-v2p-ca5s.dts | 121 pmu { 122 compatible = "arm,cortex-a5-pmu";
|
D | alpine.dtsi | 115 pmu { 116 compatible = "arm,cortex-a15-pmu";
|
D | emev2.dtsi | 52 pmu { 53 compatible = "arm,cortex-a9-pmu";
|
D | vexpress-v2p-ca15-tc1.dts | 119 pmu { 120 compatible = "arm,cortex-a15-pmu";
|
D | qcom-msm8960.dtsi | 45 cpu-pmu { 46 compatible = "qcom,krait-pmu";
|
D | rk3xxx.dtsi | 206 pmu: pmu@20004000 { label 207 compatible = "rockchip,rk3066-pmu", "syscon";
|
D | rk3288.dtsi | 51 rockchip,pmu = <&pmu>; 546 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram"; 550 pmu: power-management@ff730000 { label 551 compatible = "rockchip,rk3288-pmu", "syscon"; 739 rockchip,pmu = <&pmu>;
|
D | omap2.dtsi | 39 pmu { 40 compatible = "arm,arm1136-pmu";
|
D | qcom-apq8084.dtsi | 78 cpu-pmu { 79 compatible = "qcom,krait-pmu";
|
D | exynos5250.dtsi | 166 pmu { 167 compatible = "arm,cortex-a15-pmu"; 203 compatible = "samsung,exynos5250-pmu", "syscon"; 611 samsung,pmu-syscon = <&pmu_system_controller>; 777 samsung,pmu-syscon = <&pmu_system_controller>;
|
D | qcom-msm8974.dtsi | 78 cpu-pmu { 79 compatible = "qcom,krait-pmu";
|
D | spear13xx.dtsi | 46 pmu { 47 compatible = "arm,cortex-a9-pmu";
|
D | qcom-ipq8064.dtsi | 43 cpu-pmu { 44 compatible = "qcom,krait-pmu";
|
D | vexpress-v2p-ca9.dts | 179 pmu { 180 compatible = "arm,cortex-a9-pmu";
|
D | exynos4x12.dtsi | 152 compatible = "samsung,exynos4212-pmu", "syscon"; 260 pmu {
|
D | keystone.dtsi | 53 pmu { 54 compatible = "arm,cortex-a15-pmu";
|
D | zynq-7000.dtsi | 44 pmu { 45 compatible = "arm,cortex-a9-pmu";
|
D | exynos3250.dtsi | 132 compatible = "samsung,exynos3250-pmu", "syscon"; 550 pmu { 551 compatible = "arm,cortex-a7-pmu";
|
D | qcom-apq8064.dtsi | 78 cpu-pmu { 79 compatible = "qcom,krait-pmu";
|
D | armada-370-xp.dtsi | 76 pmu { 77 compatible = "arm,cortex-a9-pmu";
|
D | berlin2cd.dtsi | 48 pmu { 49 compatible = "arm,cortex-a9-pmu";
|
D | exynos4415.dtsi | 121 compatible = "samsung,exynos4415-pmu", "syscon"; 631 pmu { 632 compatible = "arm,cortex-a9-pmu";
|
D | exynos5420.dtsi | 530 samsung,pmu-syscon = <&pmu_system_controller>; 774 compatible = "samsung,exynos5420-pmu", "syscon"; 896 samsung,pmu-syscon = <&pmu_system_controller>; 922 samsung,pmu-syscon = <&pmu_system_controller>;
|
D | arm-realview-pb1176.dts | 209 pmu { 210 compatible = "arm,arm1176-pmu";
|
D | ls1021a.dtsi | 92 pmu { 93 compatible = "arm,cortex-a7-pmu";
|
D | rk3188.dtsi | 108 rockchip,pmu = <&pmu>;
|
D | dm816x.dtsi | 36 pmu { 37 compatible = "arm,cortex-a8-pmu";
|
D | exynos5410.dtsi | 101 compatible = "samsung,exynos5410-pmu", "syscon";
|
D | exynos4.dtsi | 143 pmu { 144 compatible = "arm,cortex-a9-pmu"; 155 compatible = "samsung,exynos4210-pmu", "syscon";
|
D | berlin2q.dtsi | 66 pmu { 67 compatible = "arm,cortex-a9-pmu";
|
D | vexpress-v2p-ca15_a7.dts | 190 pmu { 191 compatible = "arm,cortex-a15-pmu";
|
D | atlas6.dtsi | 42 arm-pmu { 43 compatible = "arm,cortex-a9-pmu";
|
D | armada-375.dtsi | 99 pmu { 100 compatible = "arm,cortex-a9-pmu";
|
D | prima2.dtsi | 44 arm-pmu { 45 compatible = "arm,cortex-a9-pmu";
|
D | armada-38x.dtsi | 66 pmu { 67 compatible = "arm,cortex-a9-pmu";
|
D | hip04.dtsi | 236 arm-pmu { 237 compatible = "arm,cortex-a15-pmu";
|
D | sun6i-a31.dtsi | 128 pmu { 129 compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
|
D | tegra114-tn7.dts | 118 regulator-name = "vs-pmu-1v8";
|
D | exynos5260.dtsi | 235 compatible = "samsung,exynos5260-pmu", "syscon";
|
D | r8a7740.dtsi | 46 pmu { 47 compatible = "arm,cortex-a9-pmu";
|
D | omap3.dtsi | 46 pmu { 47 compatible = "arm,cortex-a8-pmu";
|
D | imx53.dtsi | 788 pmu { 789 compatible = "arm,cortex-a8-pmu";
|
D | am33xx.dtsi | 69 pmu { 70 compatible = "arm,cortex-a8-pmu";
|
D | tegra20.dtsi | 787 pmu { 788 compatible = "arm,cortex-a9-pmu";
|
D | imx6sl.dtsi | 118 pmu { 119 compatible = "arm,cortex-a9-pmu";
|
D | sun7i-a20.dtsi | 172 pmu { 173 compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
|
D | sh73a0.dtsi | 74 pmu { 75 compatible = "arm,cortex-a9-pmu";
|
D | ste-dbx5x0.dtsi | 42 pmu { 43 compatible = "arm,cortex-a9-pmu";
|
D | tegra30.dtsi | 919 pmu { 920 compatible = "arm,cortex-a9-pmu";
|
D | imx6qdl.dtsi | 167 pmu { 168 compatible = "arm,cortex-a9-pmu";
|
D | omap5.dtsi | 85 pmu { 86 compatible = "arm,cortex-a15-pmu";
|
D | s5pv210.dtsi | 112 compatible = "samsung-s5pv210-pmu", "syscon";
|
D | imx6sx.dtsi | 138 pmu { 139 compatible = "arm,cortex-a9-pmu";
|
D | atlas7.dtsi | 56 compatible = "sirf,atlas7-pmu-ldo";
|
D | sama5d3.dtsi | 53 pmu { 54 compatible = "arm,cortex-a5-pmu";
|
/linux-4.1.27/drivers/bcma/ |
D | driver_chipcommon_pmu.c | 142 if (cc->pmu.rev >= 2) in bcma_pmu2_pll_init0() 275 cc->pmu.rev = (pmucap & BCMA_CC_PMU_CAP_REVISION); in bcma_pmu_early_init() 278 cc->pmu.rev, pmucap); in bcma_pmu_early_init() 283 if (cc->pmu.rev == 1) in bcma_pmu_init() 331 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_ALP_CLOCK); in bcma_pmu_get_alp_clock() 431 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_HT_CLOCK); in bcma_pmu_get_bus_clock() 446 if (cc->pmu.rev >= 5) { in bcma_pmu_get_cpu_clock()
|
/linux-4.1.27/Documentation/devicetree/bindings/phy/ |
D | sun4i-usb-phy.txt | 30 /* phy base regs, phy1 pmu reg, phy2 pmu reg */
|
D | samsung-phy.txt | 23 - samsung,pmu-syscon: phandle for PMU system controller interface, used to 24 control pmu registers for power isolation. 148 - samsung,pmu-syscon: phandle for PMU system controller interface, used to 149 control pmu registers for power isolation. 164 samsung,pmu-syscon = <&pmu_system_controller>;
|
/linux-4.1.27/arch/sparc/kernel/ |
D | perf_event.c | 1016 static void sparc_pmu_enable(struct pmu *pmu) in sparc_pmu_enable() argument 1034 static void sparc_pmu_disable(struct pmu *pmu) in sparc_pmu_disable() argument 1497 static void sparc_pmu_start_txn(struct pmu *pmu) in sparc_pmu_start_txn() argument 1501 perf_pmu_disable(pmu); in sparc_pmu_start_txn() 1510 static void sparc_pmu_cancel_txn(struct pmu *pmu) in sparc_pmu_cancel_txn() argument 1515 perf_pmu_enable(pmu); in sparc_pmu_cancel_txn() 1523 static int sparc_pmu_commit_txn(struct pmu *pmu) in sparc_pmu_commit_txn() argument 1539 perf_pmu_enable(pmu); in sparc_pmu_commit_txn() 1543 static struct pmu pmu = { variable 1689 perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW); in init_hw_perf_events()
|
D | process_64.c | 320 pp = &global_cpu_snapshot[this_cpu].pmu; in __global_pmu_self() 359 struct global_pmu_snapshot *pp = &global_cpu_snapshot[cpu].pmu; in pmu_snapshot_all_cpus()
|
/linux-4.1.27/drivers/ssb/ |
D | driver_chipcommon_pmu.c | 104 cc->pmu.crystalfreq = e->freq; in ssb_pmu0_pllinit_r0() 233 cc->pmu.crystalfreq = 20000; in ssb_pmu1_pllinit_r0() 243 cc->pmu.crystalfreq = e->freq; in ssb_pmu1_pllinit_r0() 344 if (cc->pmu.rev == 2) { in ssb_pmu_pll_init() 525 cc->pmu.rev = (pmucap & SSB_CHIPCO_PMU_CAP_REVISION); in ssb_pmu_init() 528 cc->pmu.rev, pmucap); in ssb_pmu_init() 530 if (cc->pmu.rev == 1) in ssb_pmu_init()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 1175 struct MessageUnit_D *pmu = acb->pmuD; in arcmsr_done4abort_postqueue() local 1184 pmu->done_qbuffer[0].addressLow + 1; in arcmsr_done4abort_postqueue() 1185 doneq_index = pmu->doneq_index; in arcmsr_done4abort_postqueue() 1191 pmu->doneq_index = index_stripped ? (index_stripped | toggle) : in arcmsr_done4abort_postqueue() 1193 doneq_index = pmu->doneq_index; in arcmsr_done4abort_postqueue() 1195 addressLow = pmu->done_qbuffer[doneq_index & in arcmsr_done4abort_postqueue() 1207 pmu->outboundlist_read_pointer); in arcmsr_done4abort_postqueue() 1213 pmu->postq_index = 0; in arcmsr_done4abort_postqueue() 1214 pmu->doneq_index = 0x40FF; in arcmsr_done4abort_postqueue() 1442 struct MessageUnit_D *pmu = acb->pmuD; in arcmsr_post_ccb() local [all …]
|
/linux-4.1.27/arch/mips/boot/dts/lantiq/ |
D | danube.dtsi | 47 pmu0: pmu@102000 { 48 compatible = "lantiq,pmu-xway";
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-list.txt | 11 'perf list' [hw|sw|cache|tracepoint|pmu|event_glob] 96 Some pmu events listed by 'perf-list' will be displayed with '?' in them. For 123 . 'pmu' to print the kernel supplied PMU events. 134 . '--raw-dump [hw|sw|cache|tracepoint|pmu|event_glob]', shows the raw-dump of
|
D | perf-stat.txt | 35 - a symbolically formed event like 'pmu/param1=0x3,param2/' where 37 /sys/bus/event_sources/devices/<pmu>/format/* 39 - a symbolically formed event like 'pmu/config=M,config1=N,config2=K/' 43 /sys/bus/event_sources/devices/<pmu>/format/*
|
D | perf-record.txt | 36 - a symbolically formed PMU event like 'pmu/param1=0x3,param2/' where 38 /sys/bus/event_sources/devices/<pmu>/format/*. 40 - a symbolically formed event like 'pmu/config=M,config1=N,config3=K/' 44 corresponding entries in /sys/bus/event_sources/devices/<pmu>/format/* 46 /sys/bus/event_sources/devices/<pmu>/format/*
|
/linux-4.1.27/arch/mips/vr41xx/common/ |
D | Makefile | 5 obj-y += bcu.o cmu.o giu.o icu.o init.o irq.o pmu.o rtc.o siu.o type.o
|
/linux-4.1.27/drivers/macintosh/ams/ |
D | Makefile | 6 ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
|
/linux-4.1.27/arch/arm/mach-exynos/ |
D | Makefile | 12 obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | Makefile | 32 pmu.o \
|
/linux-4.1.27/Documentation/devicetree/bindings/arc/ |
D | pct.txt | 18 pmu {
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | Makefile | 4 pmu.o spider-pci.o
|
/linux-4.1.27/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 468 perf_pmu_disable(event->pmu); in mipspmu_add() 493 perf_pmu_enable(event->pmu); in mipspmu_add() 523 static void mipspmu_enable(struct pmu *pmu) in mipspmu_enable() argument 542 static void mipspmu_disable(struct pmu *pmu) in mipspmu_disable() argument 652 static struct pmu pmu = { variable 1795 perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW); in init_hw_perf_events()
|
/linux-4.1.27/tools/testing/selftests/powerpc/ |
D | Makefile | 15 SUB_DIRS = pmu copyloops mm tm primitives stringloops vphn switch_endian
|
/linux-4.1.27/tools/perf/tests/ |
D | make | 41 make_util_pmu_bison_o := util/pmu-bison.o 125 test_make_util_pmu_bison_o := test -f $(PERF)/util/pmu-bison.o 181 test_make_util_pmu_bison_o_O := test -f $$TMP_O/util/pmu-bison.o
|
D | Build | 15 perf-y += pmu.o
|
/linux-4.1.27/Documentation/devicetree/bindings/mfd/ |
D | brcm,bcm59056.txt | 27 pmu: bcm59056@8 {
|
D | tps6507x.txt | 35 pmu: tps6507x@48 {
|
D | tps65910.txt | 72 pmu: tps65910@d2 {
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ |
D | Kbuild | 16 include $(src)/nvkm/subdev/pmu/Kbuild
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | ptrace.h | 56 struct global_pmu_snapshot pmu; member
|
/linux-4.1.27/arch/arc/boot/dts/ |
D | angel4.dts | 66 arcpmu0: pmu {
|
/linux-4.1.27/Documentation/powerpc/ |
D | 00-INDEX | 24 pmu-ebb.txt
|
/linux-4.1.27/Documentation/x86/ |
D | tlb.txt | 69 be there in some form. You can use pmu-tools 'ocperf list' 70 (https://github.com/andikleen/pmu-tools) to find the right
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | Kbuild | 20 nvkm-y += nvkm/subdev/bios/pmu.o
|
/linux-4.1.27/arch/arm64/boot/dts/arm/ |
D | rtsm_ve-aemv8a.dts | 99 pmu {
|
D | foundation-v8.dts | 96 pmu {
|
D | juno.dts | 121 pmu {
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | exynos4-fimc-is.txt | 23 pmu subnode
|
/linux-4.1.27/Documentation/devicetree/bindings/regulator/ |
D | tps6586x.txt | 36 pmu: tps6586x@34 {
|
/linux-4.1.27/arch/arm64/boot/dts/amd/ |
D | amd-seattle-soc.dtsi | 40 pmu {
|
/linux-4.1.27/arch/arm64/boot/dts/xilinx/ |
D | zynqmp.dtsi | 52 pmu {
|
/linux-4.1.27/Documentation/scsi/ |
D | ChangeLog.arcmsr | 98 ** 2.fix type B where we should _not_ iounmap() acb->pmu;
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb_driver_chipcommon.h | 595 struct ssb_chipcommon_pmu pmu; member
|
/linux-4.1.27/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 623 struct bcma_chipcommon_pmu pmu; member
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | Makefile | 235 obj-$(CONFIG_HW_PERF_EVENTS) += pmu.o
|
/linux-4.1.27/arch/arm64/boot/dts/exynos/ |
D | exynos7.dtsi | 446 compatible = "samsung,exynos7-pmu", "syscon";
|
/linux-4.1.27/arch/tile/kernel/ |
D | perf_event.c | 866 static struct pmu tilera_pmu = {
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | phy_lp.c | 556 crystalfreq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_2062_init() 1287 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_rev2plus_rc_calib() 2415 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2062_tune() 2506 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2063_tune()
|
/linux-4.1.27/include/uapi/linux/ |
D | Kbuild | 324 header-y += pmu.h
|
/linux-4.1.27/Documentation/ioctl/ |
D | ioctl-number.txt | 101 'B' 00-0F include/linux/pmu.h conflict!
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.c | 552 #define SDIOD_DRVSTR_KEY(chip, pmu) (((chip) << 16) | (pmu)) argument
|
/linux-4.1.27/Documentation/ |
D | devices.txt | 372 154 = /dev/pmu Macintosh PowerBook power manager
|