Home
last modified time | relevance | path

Searched refs:alt (Results 1 – 17 of 17) 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.c138 static int power7_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power7_get_alternatives() argument
143 alt[0] = event; in power7_get_alternatives()
150 alt[nalt++] = ae; in power7_get_alternatives()
155 alt[nalt++] = ae; in power7_get_alternatives()
168 switch (alt[i]) { in power7_get_alternatives()
170 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power7_get_alternatives()
173 alt[j++] = 0x1e; in power7_get_alternatives()
176 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power7_get_alternatives()
179 alt[j++] = 0x2; /* PM_PPC_CMPL */ in power7_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.c1015 u64 alt[MAX_EVENT_ALTERNATIVES]; in can_go_on_limited_pmc() local
1034 n = ppmu->get_alternatives(ev, flags, alt); in can_go_on_limited_pmc()
1046 u64 alt[MAX_EVENT_ALTERNATIVES]; in normal_pmc_alternative() local
1050 n = ppmu->get_alternatives(ev, flags, alt); in normal_pmc_alternative()
1053 return alt[0]; in normal_pmc_alternative()
/arch/arm/plat-nomadik/include/plat/
Dpincfg.h123 #define PIN_CFG(num, alt) \ argument
125 (PIN_NUM(num) | PIN_##alt))
127 #define PIN_CFG_INPUT(num, alt, pull) \ argument
129 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull))
131 #define PIN_CFG_OUTPUT(num, alt, val) \ argument
133 (PIN_NUM(num) | PIN_##alt | PIN_OUTPUT_##val))
/arch/x86/include/asm/
Dalternative-asm.h18 .macro altinstruction_entry orig alt feature orig_len alt_len
20 .long \alt - .
/arch/x86/kernel/
Dmodule.c163 const Elf_Shdr *s, *text = NULL, *alt = NULL, *locks = NULL, in module_finalize() local
171 alt = s; in module_finalize()
178 if (alt) { in module_finalize()
180 void *aseg = (void *)alt->sh_addr; in module_finalize()
181 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/powerpc/include/asm/
Dperf_event_server.h34 u64 alt[]);
/arch/sparc/kernel/
Ddtlb_prot.S20 rdpr %pstate, %g5 ! Move into alt-globals
/arch/arm/kernel/
Dvmlinux.lds.S78 *(.alt.smp.init)
178 *(.alt.smp.init)
/arch/powerpc/boot/dts/
Dsbc8548.dts121 alt-flash@6,0 {