Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/arch/frv/include/uapi/asm/
Dptrace.h33 #define PT_GR(j) ( 14 + (j)) /* GRj for 0<=j<=63 */ argument
34 #define PT_FR(j) ( 78 + (j)) /* FRj for 0<=j<=63 */ argument
35 #define PT_FNER(j) (142 + (j)) /* FNERj for 0<=j<=1 */ argument
36 #define PT_MSR(j) (144 + (j)) /* MSRj for 0<=j<=2 */ argument
37 #define PT_ACC(j) (146 + (j)) /* ACCj for 0<=j<=7 */ argument
39 #define PT_FSR(j) (156 + (j)) /* FSRj for 0<=j<=0 */ argument
/arch/x86/boot/
Dmkcpustr.c24 int i, j; in main() local
30 for (j = 0; j < 32; j++) { in main()
31 str = x86_cap_flags[i*32+j]; in main()
33 if (i == NCAPINTS-1 && j == 31) { in main()
40 i, j, str); in main()
45 i, j, i, j, str); in main()
Dcpu.c52 int i, j; in validate_cpu() local
61 for (j = 0; j < 32; j++) { in validate_cpu()
63 (msg_strs[0] == i && msg_strs[1] < j)) { in validate_cpu()
71 msg_strs[1] == j && in validate_cpu()
75 printf("%d:%d ", i, j); in validate_cpu()
/arch/x86/kernel/
Dirq.c53 int j; in arch_show_interrupts() local
56 for_each_online_cpu(j) in arch_show_interrupts()
57 seq_printf(p, "%10u ", irq_stats(j)->__nmi_count); in arch_show_interrupts()
61 for_each_online_cpu(j) in arch_show_interrupts()
62 seq_printf(p, "%10u ", irq_stats(j)->apic_timer_irqs); in arch_show_interrupts()
66 for_each_online_cpu(j) in arch_show_interrupts()
67 seq_printf(p, "%10u ", irq_stats(j)->irq_spurious_count); in arch_show_interrupts()
70 for_each_online_cpu(j) in arch_show_interrupts()
71 seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs); in arch_show_interrupts()
74 for_each_online_cpu(j) in arch_show_interrupts()
[all …]
/arch/arm/mach-davinci/
Ddma.c154 static inline void edma_or_array2(unsigned ctlr, int offset, int i, int j, in edma_or_array2() argument
157 edma_or(ctlr, offset + ((i*2 + j) << 2), or); in edma_or_array2()
159 static inline void edma_write_array2(unsigned ctlr, int offset, int i, int j, in edma_write_array2() argument
162 edma_write(ctlr, offset + ((i*2 + j) << 2), val); in edma_write_array2()
428 int j = -1; in dma_ccerr_handler() local
430 j = 0; in dma_ccerr_handler()
432 j = 1; in dma_ccerr_handler()
433 if (j >= 0) { in dma_ccerr_handler()
434 dev_dbg(data, "EMR%d %08x\n", j, in dma_ccerr_handler()
435 edma_read_array(ctlr, EDMA_EMR, j)); in dma_ccerr_handler()
[all …]
Dirq.c75 unsigned i, j; in davinci_irq_init() local
108 for (j = 0, pri = 0; j < 32; j += 4, davinci_def_priorities++) in davinci_irq_init()
109 pri |= (*davinci_def_priorities & 0x07) << j; in davinci_irq_init()
113 for (i = 0, j = 0; i < davinci_soc_info.intc_irq_num; i += 32, j += 0x04) in davinci_irq_init()
114 davinci_alloc_gc(davinci_intc_base + j, i, 32); in davinci_irq_init()
/arch/sparc/include/asm/
Dsyscall.h99 unsigned int j; in syscall_get_arguments() local
106 for (j = 0; j < n; j++) { in syscall_get_arguments()
107 unsigned long val = regs->u_regs[UREG_I0 + i + j]; in syscall_get_arguments()
110 args[j] = (u32) val; in syscall_get_arguments()
112 args[j] = val; in syscall_get_arguments()
121 unsigned int j; in syscall_set_arguments() local
123 for (j = 0; j < n; j++) in syscall_set_arguments()
124 regs->u_regs[UREG_I0 + i + j] = args[j]; in syscall_set_arguments()
/arch/mips/kvm/
Dkvm_mips_stats.c69 int i, j; in kvm_mips_dump_stats() local
73 for (j = 0; j < N_MIPS_COPROC_SEL; j++) { in kvm_mips_dump_stats()
74 if (vcpu->arch.cop0->stat[i][j]) in kvm_mips_dump_stats()
75 printk("%s[%d]: %lu\n", kvm_cop0_str[i], j, in kvm_mips_dump_stats()
76 vcpu->arch.cop0->stat[i][j]); in kvm_mips_dump_stats()
/arch/powerpc/perf/
Dpower6-pmu.c345 int i, j; in find_alternatives_list() local
351 for (j = 0; j < MAX_ALT; ++j) { in find_alternatives_list()
352 alt = event_alternatives[i][j]; in find_alternatives_list()
364 int i, j, nlim; in p6_get_alternatives() local
376 for (j = 0; j < MAX_ALT; ++j) { in p6_get_alternatives()
377 aevent = event_alternatives[i][j]; in p6_get_alternatives()
411 j = nalt; in p6_get_alternatives()
415 alt[j++] = 0x600005; /* PM_RUN_CYC */ in p6_get_alternatives()
419 alt[j++] = 0x1e; /* PM_CYC */ in p6_get_alternatives()
422 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */ in p6_get_alternatives()
[all …]
Dpower5+-pmu.c220 int i, j; in find_alternative() local
225 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
226 if (event == event_alternatives[i][j]) in find_alternative()
247 int pmc, altpmc, pp, j; in find_alternative_bdecode() local
254 for (j = 0; j < 4; ++j) { in find_alternative_bdecode()
255 if (bytedecode_alternatives[pmc - 1][j] == pp) { in find_alternative_bdecode()
258 bytedecode_alternatives[altpmc - 1][j]; in find_alternative_bdecode()
278 int i, j, nalt = 1; in power5p_get_alternatives() local
287 for (j = 0; j < MAX_ALT; ++j) { in power5p_get_alternatives()
288 ae = event_alternatives[i][j]; in power5p_get_alternatives()
[all …]
Dmpc7450-pmu.c214 int i, j; in find_alternative() local
219 for (j = 0; j < MAX_ALT && event_alternatives[i][j]; ++j) in find_alternative()
220 if (event == event_alternatives[i][j]) in find_alternative()
228 int i, j, nalt = 1; in mpc7450_get_alternatives() local
235 for (j = 0; j < MAX_ALT; ++j) { in mpc7450_get_alternatives()
236 ae = event_alternatives[i][j]; in mpc7450_get_alternatives()
268 int i, j, class, tuse; in mpc7450_compute_mmcr() local
283 j = n_classevent[class]++; in mpc7450_compute_mmcr()
284 event_index[class][j] = i; in mpc7450_compute_mmcr()
/arch/blackfin/kernel/
Ddumpstack.c41 unsigned int i, j, ret_addr, frame_no = 0; in show_stack() local
106 for (j = 0; j <= 1; j++) { in show_stack()
107 if (j) in show_stack()
119 if (!j && i % 8 == 0) in show_stack()
132 if (!j && stack == (unsigned long *)addr) in show_stack()
135 if (j) { in show_stack()
145 if (j) in show_stack()
153 } else if (!j) in show_stack()
156 if (!j) in show_stack()
/arch/x86/tools/
Dgen-insn-attr-x86.awk233 function convert_operands(count,opnd, i,j,imm,mod)
237 for (j = 1; j <= count; j++) {
238 i = opnd[j]
362 for (j = 0; j < max_lprefix; j++)
363 if (etable[i,j])
364 print " ["i"]["j"] = "etable[i,j]","
371 for (j = 0; j < max_lprefix; j++)
372 if (gtable[i,j])
373 print " ["i"]["j"] = "gtable[i,j]","
380 for (j = 0; j < max_lprefix; j++)
[all …]
/arch/cris/arch-v10/kernel/
Dfasttimer.c693 int j; in fast_timer_test() local
700 for (j = 0; j < 1000; j++) in fast_timer_test()
702 j_u[j] = GET_JIFFIES_USEC(); in fast_timer_test()
704 for (j = 0; j < 100; j++) in fast_timer_test()
706 do_gettimeofday_fast(&tv_exp[j]); in fast_timer_test()
711 for (j = 0; j < 1000; j++) in fast_timer_test()
713 printk("%i %i %i %i %i\n",j_u[j], j_u[j+1], j_u[j+2], j_u[j+3], j_u[j+4]); in fast_timer_test()
714 j += 4; in fast_timer_test()
716 for (j = 0; j < 100; j++) in fast_timer_test()
719 tv_exp[j].tv_jiff, tv_exp[j].tv_usec, in fast_timer_test()
[all …]
/arch/mips/netlogic/xlr/
Dfmn-config.c121 int i, j, num_core, n, credits_per_cpu; in setup_fmn_cc() local
138 for (j = 0; j < num_core; j++) in setup_fmn_cc()
139 cpu[j].credit_config[i] = credits_per_cpu; in setup_fmn_cc()
145 for (j = 0; (j < num_core) && (credits_per_cpu >= 4); j++) { in setup_fmn_cc()
146 cpu[j].credit_config[i] += 4; in setup_fmn_cc()
153 for (j = 0; j < FMN_CORE_NBUCKETS; j++) in setup_fmn_cc()
154 dev_info->credit_config[(i * 8) + j] = cpu_credits; in setup_fmn_cc()
164 int i, j; in setup_cpu_fmninfo() local
170 for (j = cpu[i].start_stn_id; j < cpu[i].end_stn_id; j++) in setup_cpu_fmninfo()
171 xlr_board_fmn_config.bucket_size[j] = 32; in setup_cpu_fmninfo()
Dwakeup.c55 unsigned int i, j, boot_cpu; in xlr_wakeup_secondary_cpus() local
73 for (j = 1000000; j > 0; j--) { in xlr_wakeup_secondary_cpus()
78 if (j != 0) in xlr_wakeup_secondary_cpus()
/arch/s390/appldata/
Dappldata_os.c99 int i, j, rc; in appldata_get_os_data() local
113 j = 0; in appldata_get_os_data()
115 os_data->os_cpu[j].per_cpu_user = in appldata_get_os_data()
117 os_data->os_cpu[j].per_cpu_nice = in appldata_get_os_data()
119 os_data->os_cpu[j].per_cpu_system = in appldata_get_os_data()
121 os_data->os_cpu[j].per_cpu_idle = in appldata_get_os_data()
123 os_data->os_cpu[j].per_cpu_irq = in appldata_get_os_data()
125 os_data->os_cpu[j].per_cpu_softirq = in appldata_get_os_data()
127 os_data->os_cpu[j].per_cpu_iowait = in appldata_get_os_data()
129 os_data->os_cpu[j].per_cpu_steal = in appldata_get_os_data()
[all …]
/arch/mips/sni/
Dreset.c27 int i, j; in sni_machine_restart() local
35 for (j = 0; j < 100000 ; j++) in sni_machine_restart()
/arch/alpha/kernel/
Dperf_event.c383 int j; in maybe_change_configuration() local
389 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration()
390 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration()
392 if (cpuc->current_idx[j] != PMC_NO_INDEX && in maybe_change_configuration()
393 cpuc->current_idx[j] != pe->hw.idx) { in maybe_change_configuration()
394 alpha_perf_event_update(pe, &pe->hw, cpuc->current_idx[j], 0); in maybe_change_configuration()
395 cpuc->current_idx[j] = PMC_NO_INDEX; in maybe_change_configuration()
401 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration()
402 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration()
406 if (cpuc->current_idx[j] == PMC_NO_INDEX) { in maybe_change_configuration()
[all …]
/arch/cris/arch-v32/kernel/
Dfasttimer.c666 int j; in fast_timer_test() local
673 for (j = 0; j < 1000; j++) in fast_timer_test()
675 j_u[j] = GET_JIFFIES_USEC(); in fast_timer_test()
677 for (j = 0; j < 100; j++) in fast_timer_test()
679 do_gettimeofday_fast(&tv_exp[j]); in fast_timer_test()
683 for (j = 0; j < 1000; j++) in fast_timer_test()
686 j_u[j], j_u[j+1], j_u[j+2], j_u[j+3], j_u[j+4]); in fast_timer_test()
687 j += 4; in fast_timer_test()
689 for (j = 0; j < 100; j++) in fast_timer_test()
692 tv_exp[j].tv_jiff, tv_exp[j].tv_usec, in fast_timer_test()
[all …]
/arch/arm/mach-shmobile/
Dpm-rmobile.c154 int j; in rmobile_init_domains() local
156 for (j = 0; j < num; j++) in rmobile_init_domains()
157 rmobile_init_pm_domain(&domains[j]); in rmobile_init_domains()
180 int j; in rmobile_add_devices_to_domains() local
182 for (j = 0; j < size; j++) in rmobile_add_devices_to_domains()
183 rmobile_add_device_to_domain_td(data[j].domain_name, in rmobile_add_devices_to_domains()
184 data[j].pdev, &latencies); in rmobile_add_devices_to_domains()
/arch/microblaze/kernel/
Dheartbeat.c49 int j; in setup_heartbeat() local
55 for (j = 0; gpio_list[j] != NULL; j++) { in setup_heartbeat()
56 gpio = of_find_compatible_node(NULL, NULL, gpio_list[j]); in setup_heartbeat()
Dselfmod.c49 unsigned int flags, i, j, *addr = NULL; in selfmod_function() local
55 for (j = 0; arr_fce[j] != 0; j++) { in selfmod_function()
57 addr = (unsigned int *) arr_fce[j]; in selfmod_function()
59 __func__, j, (unsigned int) addr); in selfmod_function()
/arch/tile/lib/
Dmemset_32.c126 int j; in memset() local
154 for (j = CACHE_LINE_SIZE_IN_WORDS / 4; j > 0; j--) { in memset()
215 int j; in memset() local
224 for (j = x * (CACHE_LINE_SIZE_IN_WORDS / 4); in memset()
225 j != 0; j--) { in memset()
/arch/xtensa/platforms/iss/
Dsetup.c83 static int i = 0, j = 0; in platform_heartbeat()
87 printk("\r%c\r", twirl[j++]); in platform_heartbeat()
88 if (j == 8) in platform_heartbeat()
89 j = 0; in platform_heartbeat()

12345678910>>...12