Home
last modified time | relevance | path

Searched full:pmc (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/linux/drivers/net/wireless/ath/wil6210/
H A Dpmc.c14 #include "pmc.h"
21 static int wil_is_pmc_allocated(struct pmc_ctx *pmc) in wil_is_pmc_allocated() argument
23 return !!pmc->pring_va; in wil_is_pmc_allocated()
28 memset(&wil->pmc, 0, sizeof(struct pmc_ctx)); in wil_pmc_init()
29 mutex_init(&wil->pmc.lock); in wil_pmc_init()
34 * Initialize the descriptors as required by pmc dma.
44 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_alloc() local
50 mutex_lock(&pmc->lock); in wil_pmc_alloc()
52 if (wil_is_pmc_allocated(pmc)) { in wil_pmc_alloc()
54 wil_err(wil, "ERROR pmc is already allocated\n"); in wil_pmc_alloc()
[all …]
/linux/drivers/soc/tegra/
H A Dpmc.c3 * drivers/soc/tegra/pmc.c
12 #define pr_fmt(fmt) "tegra-pmc: " fmt
55 #include <soc/tegra/pmc.h>
62 #include <dt-bindings/soc/tegra-pmc.h>
198 /* for secure PMC */
270 struct tegra_pmc *pmc; member
358 void (*init)(struct tegra_pmc *pmc);
359 void (*setup_irq_polarity)(struct tegra_pmc *pmc,
362 void (*set_wake_filters)(struct tegra_pmc *pmc);
365 int (*powergate_set)(struct tegra_pmc *pmc, unsigned int id,
[all …]
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.h65 static inline int get_mmcr0_fc56(u64 mmcr0, int pmc)
70 static inline int get_mmcr0_pmccext(u64 mmcr0, int pmc)
75 static inline int get_mmcr0_pmao(u64 mmcr0, int pmc)
80 static inline int get_mmcr0_cc56run(u64 mmcr0, int pmc)
85 static inline int get_mmcr0_pmcjce(u64 mmcr0, int pmc)
90 static inline int get_mmcr0_pmc1ce(u64 mmcr0, int pmc)
95 static inline int get_mmcr0_pmae(u64 mmcr0, int pmc)
100 static inline int get_mmcr1_pmcxsel(u64 mmcr1, int pmc)
102 return ((mmcr1 >> ((24 - (((pmc) - 1) * 8))) & 0xff)); in get_mmcr1_unit()
105 static inline int get_mmcr1_unit(u64 mmcr1, int pmc)
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/platform/x86/intel/pmc/
H A Dcore.c59 static inline u32 pmc_core_reg_read(struct pmc *pmc, int reg_offset) in pmc_core_reg_read() argument
61 return readl(pmc->regbase + reg_offset); in pmc_core_reg_read()
64 static inline void pmc_core_reg_write(struct pmc *pmc, int reg_offset, in pmc_core_reg_write() argument
67 writel(val, pmc->regbase + reg_offset); in pmc_core_reg_write()
70 static inline u64 pmc_core_adjust_slp_s0_step(struct pmc *pmc, u32 value) in pmc_core_adjust_slp_s0_step() argument
78 const int lpm_adj_x2 = pmc->map->lpm_res_counter_step_x2; in pmc_core_adjust_slp_s0_step()
80 if (pmc->map == &adl_reg_map) in pmc_core_adjust_slp_s0_step()
83 return (u64)value * pmc->map->slp_s0_res_counter_step; in pmc_core_adjust_slp_s0_step()
88 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in set_etr3() local
89 const struct pmc_reg_map *map = pmc->map; in set_etr3()
[all …]
H A Dcore_ssram.c3 * This file contains functions to handle discovery of PMC metrics located
4 * in the PMC SSRAM PCI device.
43 static int pmc_core_get_lpm_req(struct pmc_dev *pmcdev, struct pmc *pmc) in pmc_core_get_lpm_req() argument
52 lpm_indices = pmc->map->lpm_reg_index; in pmc_core_get_lpm_req()
53 num_maps = pmc->map->lpm_num_maps; in pmc_core_get_lpm_req()
56 guid = pmc_core_find_guid(pmcdev->regmap_list, pmc->map); in pmc_core_get_lpm_req()
67 pmc->lpm_req_regs = devm_kzalloc(&pmcdev->pdev->dev, in pmc_core_get_lpm_req()
70 if (!pmc->lpm_req_regs) { in pmc_core_get_lpm_req()
76 * PMC Low Power Mode (LPM) table in pmc_core_get_lpm_req()
120 u32 *req_offset = pmc->lpm_req_regs + (mode * num_maps); in pmc_core_get_lpm_req()
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dpmc.txt4 - compatible: "fsl,<chip>-pmc".
6 "fsl,mpc8349-pmc" should be listed for any chip whose PMC is
7 compatible. "fsl,mpc8313-pmc" should also be listed for any chip
8 whose PMC is compatible, and implies deep-sleep capability.
10 "fsl,mpc8548-pmc" should be listed for any chip whose PMC is
11 compatible. "fsl,mpc8536-pmc" should also be listed for any chip
12 whose PMC is compatible, and implies deep-sleep capability.
14 "fsl,mpc8641d-pmc" should be listed for any chip whose PMC is
15 compatible; all statements below that apply to "fsl,mpc8548-pmc" also
16 apply to "fsl,mpc8641d-pmc".
[all …]
/linux/drivers/mfd/
H A Dintel_pmc_bxt.c3 * Driver for the Intel Broxton PMC
10 * The PMC (Power Management Controller) running on the ARC processor
13 * turn sends messages between the IA and the PMC.
51 * BIOS does not create an ACPI device for each PMC function, but
73 * intel_pmc_gcr_read64() - Read a 64-bit PMC GCR register
74 * @pmc: PMC device pointer
78 * Reads the 64-bit PMC GCR register at given offset.
82 int intel_pmc_gcr_read64(struct intel_pmc_dev *pmc, u32 offset, u64 *data) in intel_pmc_gcr_read64() argument
87 spin_lock(&pmc->gcr_lock); in intel_pmc_gcr_read64()
88 *data = readq(pmc->gcr_mem_base + offset); in intel_pmc_gcr_read64()
[all …]
/linux/net/ipv4/
H A Digmp.c163 static int sf_setstate(struct ip_mc_list *pmc);
164 static void sf_markstate(struct ip_mc_list *pmc);
166 static void ip_mc_clear_src(struct ip_mc_list *pmc);
178 #define for_each_pmc_rcu(in_dev, pmc) \ argument
179 for (pmc = rcu_dereference(in_dev->mc_list); \
180 pmc != NULL; \
181 pmc = rcu_dereference(pmc->next_rcu))
183 #define for_each_pmc_rtnl(in_dev, pmc) \ argument
184 for (pmc = rtnl_dereference(in_dev->mc_list); \
185 pmc != NULL; \
[all …]
/linux/arch/arm/mach-at91/
H A Dpm_suspend.S22 pmc .req r0 label
42 2: ldr r8, [pmc, #AT91_PMC_SR]
54 1: ldr r7, [pmc, #AT91_PMC_SR]
65 1: ldr r7, [pmc, #AT91_PMC_SR]
79 str r7, [pmc, #AT91_PMC_SCDR]
476 ldr pmc, .pmc_base
485 ldr tmp1, [pmc, tmp3]
488 str tmp1, [pmc, tmp3]
496 ldr tmp1, [pmc, #AT91_CKGR_MOR]
499 str tmp1, [pmc, #AT91_CKGR_MOR]
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dsama7g5.dtsi37 clocks = <&pmc PMC_TYPE_CORE PMC_CPUPLL>;
192 clocks = <&pmc PMC_TYPE_CORE PMC_MCK1>;
210 clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
241 clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
244 pmc: clock-controller@e0018000 { label
245 compatible = "microchip,sama7g5-pmc", "syscon";
315 …clocks = <&pmc PMC_TYPE_PERIPHERAL 91>, <&pmc PMC_TYPE_PERIPHERAL 92>, <&pmc PMC_TYPE_PERIPHERAL 9…
323 clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
343 clocks = <&pmc PMC_TYPE_PERIPHERAL 78>, <&pmc PMC_TYPE_GCK 78>;
358 clocks = <&pmc PMC_TYPE_PERIPHERAL 79>, <&pmc PMC_TYPE_GCK 79>;
[all …]
H A Dsama5d2.dtsi48 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
64 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
134 clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
143 clocks = <&pmc PMC_TYPE_PERIPHERAL 41>, <&pmc PMC_TYPE_PERIPHERAL 41>, <&pmc PMC_TYPE_SYSTEM 6>;
152 clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 41>;
176 clocks = <&pmc PMC_TYPE_CORE PMC_MCK2>;
195 clocks = <&pmc PMC_TYPE_PERIPHERAL 31>, <&pmc PMC_TYPE_GCK 31>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
197 assigned-clocks = <&pmc PMC_TYPE_GCK 31>;
206 clocks = <&pmc PMC_TYPE_PERIPHERAL 32>, <&pmc PMC_TYPE_GCK 32>, <&pmc PMC_TYPE_CORE PMC_MAIN>;
208 assigned-clocks = <&pmc PMC_TYPE_GCK 32>;
[all …]
H A Dsam9x60.dtsi84 clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
86 assigned-clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>;
95 clocks = <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_SYSTEM 6>;
104 clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_PERIPHERAL 22>;
106 assigned-clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>;
124 clocks = <&pmc PMC_TYPE_CORE PMC_MCK>;
141 clocks = <&pmc PMC_TYPE_PERIPHERAL 12>, <&pmc PMC_TYPE_GCK 12>;
143 assigned-clocks = <&pmc PMC_TYPE_GCK 12>;
152 clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK 26>;
154 assigned-clocks = <&pmc PMC_TYPE_GCK 26>;
[all …]
H A Dsama7d65.dtsi33 clocks = <&pmc PMC_TYPE_CORE PMC_CPUPLL>;
69 clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
76 pmc: clock-controller@e0018000 { label
77 compatible = "microchip,sama7d65-pmc", "syscon";
134 clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
144 clocks = <&pmc PMC_TYPE_PERIPHERAL 76>, <&pmc PMC_TYPE_GCK 76>;
146 assigned-clocks = <&pmc PMC_TYPE_GCK 76>;
148 assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_MCK1>;
157 clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
167 clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
[all …]
/linux/net/ipv6/
H A Dmcast.c82 static int sf_setstate(struct ifmcaddr6 *pmc);
83 static void sf_markstate(struct ifmcaddr6 *pmc);
84 static void ip6_mc_clear_src(struct ifmcaddr6 *pmc);
120 #define for_each_pmc_socklock(np, sk, pmc) \ argument
121 for (pmc = sock_dereference((np)->ipv6_mc_list, sk); \
122 pmc; \
123 pmc = sock_dereference(pmc->next, sk))
125 #define for_each_pmc_rcu(np, pmc) \ argument
126 for (pmc = rcu_dereference((np)->ipv6_mc_list); \
127 pmc; \
[all …]
/linux/drivers/platform/x86/
H A Dpmc_atom.c15 #include <linux/platform_data/x86/clk-pmc-atom.h>
206 static inline u32 pmc_reg_read(struct pmc_dev *pmc, int reg_offset) in pmc_reg_read() argument
208 return readl(pmc->regmap + 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() argument
213 writel(val, pmc->regmap + reg_offset); in pmc_reg_write()
218 struct pmc_dev *pmc = &pmc_device; in pmc_atom_read() local
220 if (!pmc->init) in pmc_atom_read()
223 *value = pmc_reg_read(pmc, offset); in pmc_atom_read()
244 static void pmc_hw_reg_setup(struct pmc_dev *pmc) in pmc_hw_reg_setup() argument
247 * Disable PMC S0IX_WAKE_EN events coming from: in pmc_hw_reg_setup()
[all …]
/linux/arch/x86/kvm/
H A Dpmu.h11 #define pmc_to_pmu(pmc) (&(pmc)->vcpu->arch.pmu) argument
92 #define kvm_for_each_pmc(pmu, pmc, i, bitmap) \ argument
94 if (!(pmc = kvm_pmc_idx_to_pmc(pmu, i))) \
98 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask() argument
100 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()
102 return pmu->counter_bitmask[pmc->type]; in pmc_bitmask()
105 static inline u64 pmc_read_counter(struct kvm_pmc *pmc) in pmc_read_counter() argument
109 counter = pmc->counter + pmc->emulated_counter; in pmc_read_counter()
111 if (pmc->perf_event && !pmc->is_paused) in pmc_read_counter()
112 counter += perf_event_read_value(pmc->perf_event, in pmc_read_counter()
[all …]
/linux/arch/powerpc/perf/
H A Dpower7-pmu.c18 #define PM_PMC_SH 16 /* PMC number (1-based) for direct events */
86 int pmc, sh, unit; in power7_get_constraint() local
89 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power7_get_constraint()
90 if (pmc) { in power7_get_constraint()
91 if (pmc > 6) in power7_get_constraint()
93 sh = (pmc - 1) * 2; in power7_get_constraint()
96 if (pmc >= 5 && !(event == 0x500fa || event == 0x600f4)) in power7_get_constraint()
99 if (pmc < 5) { in power7_get_constraint()
146 int pmc, psel; in find_alternative_decode() local
149 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in find_alternative_decode()
[all …]
H A Dppc970-pmu.c17 #define PM_PMC_SH 12 /* PMC number (1-based) for direct events */
147 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local
150 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p970_marked_instr_event()
152 if (pmc) { in p970_marked_instr_event()
153 if (direct_marked_event[pmc - 1] & (1 << psel)) in p970_marked_instr_event()
156 bit = (pmc <= 4)? pmc - 1: 8 - pmc; in p970_marked_instr_event()
195 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local
199 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in p970_get_constraint()
200 if (pmc) { in p970_get_constraint()
201 if (pmc > 8) in p970_get_constraint()
[all …]
H A Dpower5-pmu.c18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
141 int pmc, byte, unit, sh; in power5_get_constraint() local
146 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5_get_constraint()
147 if (pmc) { in power5_get_constraint()
148 if (pmc > 6) in power5_get_constraint()
150 sh = (pmc - 1) * 2; in power5_get_constraint()
153 if (pmc <= 4) in power5_get_constraint()
154 grp = (pmc - 1) >> 1; in power5_get_constraint()
186 if (!pmc) in power5_get_constraint()
201 if (pmc < 5) { in power5_get_constraint()
[all …]
H A Dpower5+-pmu.c18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
137 int pmc, byte, unit, sh; in power5p_get_constraint() local
141 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_get_constraint()
142 if (pmc) { in power5p_get_constraint()
143 if (pmc > 6) in power5p_get_constraint()
145 sh = (pmc - 1) * 2; in power5p_get_constraint()
148 if (pmc >= 5 && !(event == 0x500009 || event == 0x600005)) in power5p_get_constraint()
179 if (pmc < 5) { in power5p_get_constraint()
191 int pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power5p_limited_pmc_event() local
193 return pmc == 5 || pmc == 6; in power5p_limited_pmc_event()
[all …]
H A Dpower6-pmu.c18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
139 int pmc, psel, ptype; in power6_marked_instr_event() local
143 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in power6_marked_instr_event()
145 if (pmc >= 5) in power6_marked_instr_event()
151 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) in power6_marked_instr_event()
159 bit = ptype ^ (pmc - 1); in power6_marked_instr_event()
173 * Assign PMC numbers and compute MMCR1 value for a set of events
182 unsigned int pmc, ev, b, u, s, psel; in p6_compute_mmcr() local
189 pmc = (event[i] >> PM_PMC_SH) & PM_PMC_MSK; in p6_compute_mmcr()
190 if (pmc) { in p6_compute_mmcr()
[all …]
H A Disa207-common.h38 #define EVENT_PMC_SHIFT 16 /* PMC number (1-based) */
138 * BHRB IFM -* | | |*radix_scope | Count of events for each PMC.
143 * The PMC fields P1..P6, and NC, are adder fields. As we accumulate constraints
196 * For the per-PMC fields we have two bits. The low bit is added, so if two
197 * events ask for the same PMC the sum will overflow, setting the high bit,
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
[all …]
H A Dmpc7450-pmu.c26 * Classify events according to how specific their PMC requirements are.
28 * 0: can go on any PMC
32 * 4: can only go on one PMC
39 int pmc; in mpc7450_classify_event() local
41 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_classify_event()
42 if (pmc) { in mpc7450_classify_event()
43 if (pmc > N_COUNTER) in mpc7450_classify_event()
79 int pmc, sel; in mpc7450_threshold_use() local
81 pmc = (event >> PM_PMC_SH) & PM_PMC_MSK; in mpc7450_threshold_use()
83 switch (pmc) { in mpc7450_threshold_use()
[all …]
/linux/mm/
H A Dmremap.c173 static int move_ptes(struct pagetable_move_control *pmc, in move_ptes() argument
176 struct vm_area_struct *vma = pmc->old; in move_ptes()
183 unsigned long old_addr = pmc->old_addr; in move_ptes()
184 unsigned long new_addr = pmc->new_addr; in move_ptes()
207 if (pmc->need_rmap_locks) in move_ptes()
281 if (pmc->need_rmap_locks) in move_ptes()
296 static bool move_normal_pmd(struct pagetable_move_control *pmc, in move_normal_pmd() argument
300 struct vm_area_struct *vma = pmc->old; in move_normal_pmd()
363 flush_tlb_range(vma, pmc->old_addr, pmc->old_addr + PMD_SIZE); in move_normal_pmd()
372 static inline bool move_normal_pmd(struct pagetable_move_control *pmc, in move_normal_pmd() argument
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.c71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) in ebb_check_count() argument
75 count = ebb_state.stats.pmc_count[PMC_INDEX(pmc)]; in ebb_check_count()
80 printf("PMC%d count (0x%llx) below lower limit 0x%llx (-0x%llx)\n", in ebb_check_count()
81 pmc, count, lower, lower - count); in ebb_check_count()
88 printf("PMC%d count (0x%llx) above upper limit 0x%llx (+0x%llx)\n", in ebb_check_count()
89 pmc, count, upper, count - upper); in ebb_check_count()
93 printf("PMC%d count (0x%llx) is between 0x%llx and 0x%llx delta +0x%llx/-0x%llx\n", in ebb_check_count()
94 pmc, count, lower, upper, count - lower, upper - count); in ebb_check_count()
171 " pmc[1] count = 0x%llx\n" \ in dump_summary_ebb_state()
172 " pmc[2] count = 0x%llx\n" \ in dump_summary_ebb_state()
[all …]

12345678910>>...17