Searched refs:pmu (Results 176 - 200 of 336) sorted by relevance

1234567891011>>

/linux-master/drivers/pinctrl/mvebu/
H A Dpinctrl-dove.c68 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); local
71 if ((pmu & BIT(pid)) == 0)
86 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); local
90 writel(pmu & ~BIT(pid), data->base + PMU_MPP_GENERAL_CTRL);
94 writel(pmu | BIT(pid), data->base + PMU_MPP_GENERAL_CTRL);
192 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); local
194 *config = ((pmu & AU0_AC97_SEL) != 0);
202 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); local
204 pmu &= ~AU0_AC97_SEL;
206 pmu |
[all...]
/linux-master/tools/perf/arch/arm/util/
H A Dcs-etm.c11 #include <linux/coresight-pmu.h>
257 static int cs_etm_set_sink_attr(struct perf_pmu *pmu, argument
275 ret = perf_pmu__scan_file(pmu, path, "%x", &hash);
604 static int cs_etm_get_ro(struct perf_pmu *pmu, int cpu, const char *path) argument
613 scan = perf_pmu__scan_file(pmu, pmu_path, "%x", &val);
620 static int cs_etm_get_ro_signed(struct perf_pmu *pmu, int cpu, const char *path) argument
629 scan = perf_pmu__scan_file(pmu, pmu_path, "%d", &val);
636 static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, int cpu, const char *path) argument
643 return perf_pmu__file_exists(pmu, pmu_path);
699 pr_debug3("[%03d] pmu fil
[all...]
/linux-master/tools/perf/util/
H A Denv.c339 struct perf_pmu *pmu = NULL; local
343 while ((pmu = perf_pmus__scan(pmu)))
347 pr_debug("pmu mappings not available\n");
355 while ((pmu = perf_pmus__scan(pmu))) {
356 if (strbuf_addf(&sb, "%u:%s", pmu->type, pmu->name) < 0)
H A Dstat-shadow.c8 #include "pmu.h"
411 evsel->pmu != evsel->metric_leader->pmu &&
412 mexp->metric_events[i]->pmu == evsel->metric_leader->pmu) {
416 if (pos->pmu != evsel->pmu)
/linux-master/drivers/scsi/arcmsr/
H A Darcmsr_hba.c1589 struct MessageUnit_D *pmu = acb->pmuD; local
1598 pmu->done_qbuffer[0].addressLow + 1;
1599 doneq_index = pmu->doneq_index;
1605 pmu->doneq_index = index_stripped ? (index_stripped | toggle) :
1607 doneq_index = pmu->doneq_index;
1609 addressLow = pmu->done_qbuffer[doneq_index &
1623 pmu->outboundlist_read_pointer);
1629 pmu->postq_index = 0;
1630 pmu->doneq_index = 0x40FF;
1944 struct MessageUnit_D *pmu local
1967 struct MessageUnit_E __iomem *pmu = acb->pmuE; local
1977 struct MessageUnit_F __iomem *pmu = acb->pmuF; local
2485 struct MessageUnit_D *pmu = pACB->pmuD; local
2621 struct MessageUnit_D *pmu; local
2665 struct MessageUnit_E __iomem *pmu; local
2860 struct MessageUnit_D *pmu = pACB->pmuD; local
2885 struct MessageUnit_E __iomem *pmu = pACB->pmuE; local
3772 struct MessageUnit_D *pmu = acb->pmuD; local
4356 struct MessageUnit_D *pmu = pACB->pmuD; local
4368 struct MessageUnit_E __iomem *pmu = pACB->pmuE; local
[all...]
/linux-master/tools/perf/arch/x86/tests/
H A Dhybrid.c6 #include "pmu.h"
117 struct perf_pmu *pmu = perf_pmus__find_by_type(evsel->attr.type); local
119 TEST_ASSERT_VAL("missing pmu", pmu);
120 TEST_ASSERT_VAL("unexpected pmu", !strncmp(pmu->name, "cpu_", 4));
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c348 #define to_nvdimm_pmu(_pmu) container_of(_pmu, struct nvdimm_pmu, pmu)
410 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu);
417 if (event->attr.type != event->pmu->type)
443 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu);
463 struct nvdimm_pmu *nd_pmu = to_nvdimm_pmu(event->pmu);
497 nd_pmu->pmu.task_ctx_nr = perf_invalid_context;
498 nd_pmu->pmu.name = nvdimm_name(p->nvdimm);
499 nd_pmu->pmu.event_init = papr_scm_pmu_event_init;
500 nd_pmu->pmu.read = papr_scm_pmu_read;
501 nd_pmu->pmu
[all...]
/linux-master/arch/arm/include/asm/
H A Dhw_breakpoint.h120 struct pmu;
/linux-master/arch/sparc/include/asm/
H A Dptrace.h58 struct global_pmu_snapshot pmu; member in union:global_cpu_snapshot
/linux-master/arch/powerpc/include/asm/
H A Dperf_event_server.h67 * the pmu supports extended perf regs capability
101 int __init register_power_pmu(struct power_pmu *pmu);
/linux-master/arch/powerpc/platforms/powermac/
H A Dudbg_adb.c8 #include <linux/pmu.h>
H A Dbacklight.c14 #include <linux/pmu.h>
34 /* The via-pmu code allows the backlight to be grabbed, in which case the
/linux-master/tools/perf/arch/x86/util/
H A Dheader.c67 get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dgm20b.c27 #include <subdev/pmu.h>
/linux-master/drivers/phy/samsung/
H A Dphy-exynos-dp-video.c18 #include <linux/soc/samsung/exynos-regs-pmu.h>
88 "samsung,pmu-syscon");
/linux-master/arch/arm64/include/asm/
H A Dhw_breakpoint.h110 struct pmu;
/linux-master/arch/sparc/kernel/
H A Dperf_event.c1029 static void sparc_pmu_enable(struct pmu *pmu) argument
1047 static void sparc_pmu_disable(struct pmu *pmu) argument
1509 * Set the flag to make pmu::enable() not perform the
1512 static void sparc_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) argument
1522 perf_pmu_disable(pmu);
1527 * Clear the flag and pmu::enable() will perform the
1530 static void sparc_pmu_cancel_txn(struct pmu *pm argument
1550 sparc_pmu_commit_txn(struct pmu *pmu) argument
1576 static struct pmu pmu = { variable in typeref:struct:pmu
[all...]
/linux-master/drivers/perf/
H A Darm-cmn.c352 struct pmu pmu; member in struct:arm_cmn
356 #define to_cmn(p) container_of(p, struct arm_cmn, pmu)
1352 bool is_cmn600 = to_cmn(event->pmu)->part == PART_CMN600;
1382 static void arm_cmn_pmu_enable(struct pmu *pmu) argument
1384 arm_cmn_clear_state(to_cmn(pmu), CMN_STATE_DISABLED);
1387 static void arm_cmn_pmu_disable(struct pmu *pmu) argument
1389 arm_cmn_set_state(to_cmn(pmu), CMN_STATE_DISABLE
1910 arm_cmn_start_txn(struct pmu *pmu, unsigned int flags) argument
1915 arm_cmn_end_txn(struct pmu *pmu) argument
1920 arm_cmn_commit_txn(struct pmu *pmu) argument
[all...]
/linux-master/drivers/hwtracing/ptt/
H A Dhisi_ptt.c997 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu);
1005 dev_dbg(event->pmu->dev, "Per-task mode not supported\n");
1038 dev_warn(event->pmu->dev, "Overwrite mode is not supported\n");
1084 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu);
1087 struct device *dev = event->pmu->dev;
1139 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu);
1150 dev_warn(event->pmu->dev, "Device is still busy\n");
1163 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu);
1196 static void hisi_ptt_unregister_pmu(void *pmu) argument
1198 perf_pmu_unregister(pmu);
[all...]
/linux-master/drivers/soc/samsung/
H A Dexynos5250-pmu.c8 #include <linux/soc/samsung/exynos-regs-pmu.h>
9 #include <linux/soc/samsung/exynos-pmu.h>
11 #include "exynos-pmu.h"
H A Dexynos3250-pmu.c8 #include <linux/soc/samsung/exynos-regs-pmu.h>
9 #include <linux/soc/samsung/exynos-pmu.h>
11 #include "exynos-pmu.h"
/linux-master/drivers/media/cec/platform/s5p/
H A Dexynos_hdmi_cecctrl.c30 if (regmap_read(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, &reg)) {
37 if (regmap_write(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, reg)) {
H A Ds5p_cec.c211 cec->pmu = syscon_regmap_lookup_by_phandle(dev->of_node,
213 if (IS_ERR(cec->pmu))
/linux-master/arch/x86/events/amd/
H A Dpower.c33 static struct pmu pmu_class;
205 static struct pmu pmu_class = {
/linux-master/arch/x86/events/
H A Dmsr.c207 if (event->attr.type != event->pmu->type)
290 static struct pmu pmu_msr = {

Completed in 319 milliseconds

1234567891011>>