Home
last modified time | relevance | path

Searched refs:alt (Results 1 – 20 of 20) sorted by relevance

/arch/powerpc/perf/
Dpower6-pmu.c346 unsigned int alt; in find_alternatives_list() local
352 alt = event_alternatives[i][j]; in find_alternatives_list()
353 if (!alt || event < alt) in find_alternatives_list()
355 if (event == alt) in find_alternatives_list()
362 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
369 alt[0] = event; in p6_get_alternatives()
381 alt[nalt++] = aevent; in p6_get_alternatives()
391 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
396 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
413 switch (alt[i]) { in p6_get_alternatives()
[all …]
Dpower5+-pmu.c276 static int power5p_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power5p_get_alternatives() argument
282 alt[0] = event; in power5p_get_alternatives()
290 alt[nalt++] = ae; in power5p_get_alternatives()
296 alt[nalt++] = ae; in power5p_get_alternatives()
312 switch (alt[i]) { in power5p_get_alternatives()
314 alt[j++] = 0x600005; /* PM_RUN_CYC */ in power5p_get_alternatives()
318 alt[j++] = 0xf; in power5p_get_alternatives()
321 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */ in power5p_get_alternatives()
325 alt[j++] = 0x100009; /* PM_INST_CMPL */ in power5p_get_alternatives()
326 alt[j++] = 0x200009; in power5p_get_alternatives()
[all …]
Dpower7-pmu.c161 static int power7_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power7_get_alternatives() argument
166 alt[0] = event; in power7_get_alternatives()
173 alt[nalt++] = ae; in power7_get_alternatives()
178 alt[nalt++] = ae; in power7_get_alternatives()
191 switch (alt[i]) { in power7_get_alternatives()
193 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power7_get_alternatives()
196 alt[j++] = 0x1e; in power7_get_alternatives()
199 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power7_get_alternatives()
202 alt[j++] = 0x2; /* PM_PPC_CMPL */ in power7_get_alternatives()
Dpower8-pmu.c424 static int power8_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power8_get_alternatives() argument
429 alt[num_alt++] = event; in power8_get_alternatives()
437 alt[num_alt++] = alt_event; in power8_get_alternatives()
448 switch (alt[i]) { in power8_get_alternatives()
450 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power8_get_alternatives()
453 alt[j++] = 0x1e; in power8_get_alternatives()
456 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power8_get_alternatives()
459 alt[j++] = 0x2; /* PM_PPC_CMPL */ in power8_get_alternatives()
Dpower4-pmu.c326 static int p4_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p4_get_alternatives() argument
330 alt[0] = event; in p4_get_alternatives()
335 alt[1] = event ^ (0x8003 ^ 0x0224); in p4_get_alternatives()
341 alt[1] = event ^ (0x0c13 ^ 0x0c23); in p4_get_alternatives()
350 alt[na++] = ppc_inst_cmpl[j]; in p4_get_alternatives()
Dmpc7450-pmu.c226 static int mpc7450_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in mpc7450_get_alternatives() argument
231 alt[0] = event; in mpc7450_get_alternatives()
238 alt[nalt++] = ae; in mpc7450_get_alternatives()
Dpower5-pmu.c272 static int power5_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power5_get_alternatives() argument
277 alt[0] = event; in power5_get_alternatives()
284 alt[nalt++] = ae; in power5_get_alternatives()
289 alt[nalt++] = ae; in power5_get_alternatives()
Dppc970-pmu.c246 static int p970_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p970_get_alternatives() argument
248 alt[0] = event; in p970_get_alternatives()
252 alt[1] = event ^ 0x1000; in p970_get_alternatives()
Dcore-book3s.c1307 u64 alt[MAX_EVENT_ALTERNATIVES]; in can_go_on_limited_pmc() local
1326 n = ppmu->get_alternatives(ev, flags, alt); in can_go_on_limited_pmc()
1338 u64 alt[MAX_EVENT_ALTERNATIVES]; in normal_pmc_alternative() local
1342 n = ppmu->get_alternatives(ev, flags, alt); in normal_pmc_alternative()
1345 return alt[0]; in normal_pmc_alternative()
/arch/x86/include/asm/
Dalternative-asm.h21 .macro altinstruction_entry orig alt feature orig_len alt_len
23 .long \alt - .
/arch/x86/kernel/
Dmodule.c171 const Elf_Shdr *s, *text = NULL, *alt = NULL, *locks = NULL, in module_finalize() local
179 alt = s; in module_finalize()
186 if (alt) { in module_finalize()
188 void *aseg = (void *)alt->sh_addr; in module_finalize()
189 apply_alternatives(aseg, aseg + alt->sh_size); in module_finalize()
/arch/m68k/hp300/
Dhp300map.map69 alt keycode 55 = Meta_Tab
79 alt keycode 63 = Meta_grave
127 alt keycode 101 = Meta_backslash
134 alt keycode 107 = Meta_semicolon
137 alt keycode 108 = Meta_apostrophe
/arch/powerpc/platforms/wsp/
Dscom_smp.c143 static int a2_scom_getgpr(scom_map_t scom, int thread, int gpr, int alt, in a2_scom_getgpr() argument
150 rc = a2_scom_ram(scom, thread, insn, alt ? 0xf : 0x0); in a2_scom_getgpr()
178 int alt, u64 val) in a2_scom_setgpr() argument
189 int lext = alt ? 0x8 : 0x0; in a2_scom_setgpr()
190 int oext = alt ? 0xf : 0x0; in a2_scom_setgpr()
/arch/sparc/kernel/
Ddtlb_prot.S20 rdpr %pstate, %g5 ! Move into alt-globals
/arch/powerpc/include/asm/
Dmpc5121.h67 u32 alt; /* Address Latch Timing Register */ member
Dperf_event_server.h35 u64 alt[]);
/arch/arm/kernel/
Dvmlinux.lds.S82 *(.alt.smp.init)
193 *(.alt.smp.init)
/arch/powerpc/boot/dts/
Dsbc8548.dts88 alt-flash@6,0 {
Dsbc8548-altflash.dts91 alt-flash@6,0 {
/arch/mips/cavium-octeon/
Docteon_3xxx.dts239 cavium,alt-phy-handle = <&phy100>;
246 cavium,alt-phy-handle = <&phy101>;
253 cavium,alt-phy-handle = <&phy102>;
260 cavium,alt-phy-handle = <&phy103>;