Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 25 of 53) sorted by relevance

123

/arch/mips/cavium-octeon/
Dcsrc-octeon.c129 u64 cur, end, inc; in __udelay() local
131 cur = read_c0_cvmcount(); in __udelay()
134 end = cur + inc; in __udelay()
136 while (end > cur) in __udelay()
137 cur = read_c0_cvmcount(); in __udelay()
143 u64 cur, end, inc; in __ndelay() local
145 cur = read_c0_cvmcount(); in __ndelay()
148 end = cur + inc; in __ndelay()
150 while (end > cur) in __ndelay()
151 cur = read_c0_cvmcount(); in __ndelay()
[all …]
/arch/arm/mach-s3c24xx/
Dmach-rx1950.c176 { .volt = 4100, .cur = 156, .level = 100},
177 { .volt = 4050, .cur = 156, .level = 95},
178 { .volt = 4025, .cur = 141, .level = 90},
179 { .volt = 3995, .cur = 144, .level = 85},
180 { .volt = 3957, .cur = 162, .level = 80},
181 { .volt = 3931, .cur = 147, .level = 75},
182 { .volt = 3902, .cur = 147, .level = 70},
183 { .volt = 3863, .cur = 153, .level = 65},
184 { .volt = 3838, .cur = 150, .level = 60},
185 { .volt = 3800, .cur = 153, .level = 55},
[all …]
Dmach-h1940.c277 { .volt = 4070, .cur = 162, .level = 100},
278 { .volt = 4040, .cur = 165, .level = 95},
279 { .volt = 4016, .cur = 164, .level = 90},
280 { .volt = 3996, .cur = 166, .level = 85},
281 { .volt = 3971, .cur = 168, .level = 80},
282 { .volt = 3951, .cur = 168, .level = 75},
283 { .volt = 3931, .cur = 170, .level = 70},
284 { .volt = 3903, .cur = 172, .level = 65},
285 { .volt = 3886, .cur = 172, .level = 60},
286 { .volt = 3858, .cur = 176, .level = 55},
[all …]
/arch/avr32/kernel/
Dkprobes.c167 struct kprobe *cur = kprobe_running(); in post_kprobe_handler() local
169 pr_debug("post_kprobe_handler, cur=%p\n", cur); in post_kprobe_handler()
171 if (!cur) in post_kprobe_handler()
174 if (cur->post_handler) { in post_kprobe_handler()
176 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
179 resume_execution(cur, regs); in post_kprobe_handler()
188 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
192 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
196 resume_execution(cur, regs); in kprobe_fault_handler()
/arch/x86/kernel/
Dreboot_fixups_32.c83 const struct device_fixup *cur; in mach_reboot_fixups() local
93 cur = &(fixups_table[i]); in mach_reboot_fixups()
94 dev = pci_get_device(cur->vendor, cur->device, NULL); in mach_reboot_fixups()
98 cur->reboot_fixup(dev); in mach_reboot_fixups()
Ddumpstack_64.c253 struct task_struct *cur = current; in show_registers() local
260 cur->comm, cur->pid, task_thread_info(cur), cur); in show_registers()
Dkprobes.c847 struct kprobe *cur = kprobe_running(); in post_kprobe_handler() local
850 if (!cur) in post_kprobe_handler()
853 resume_execution(cur, regs, kcb); in post_kprobe_handler()
856 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
858 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
883 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
896 regs->ip = (unsigned long)cur->addr; in kprobe_fault_handler()
911 kprobes_inc_nmissed_count(cur); in kprobe_fault_handler()
920 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/arm/mach-sa1100/
Dcpu-sa1100.c184 unsigned int cur = sa11x0_getspeed(0); in sa1100_target() local
201 freqs.old = cur; in sa1100_target()
207 if (freqs.new > cur) in sa1100_target()
208 sa1100_update_dram_timings(cur, freqs.new); in sa1100_target()
212 if (freqs.new < cur) in sa1100_target()
213 sa1100_update_dram_timings(cur, freqs.new); in sa1100_target()
224 policy->cur = policy->min = policy->max = sa11x0_getspeed(0); in sa1100_cpu_init()
/arch/m68k/sun3/
Dsun3dvma.c86 struct list_head *cur; in print_holes() local
90 list_for_each(cur, holes) { in print_holes()
91 hole = list_entry(cur, struct hole, list); in print_holes()
109 struct list_head *cur; in refill() local
112 list_for_each(cur, &hole_list) { in refill()
113 hole = list_entry(cur, struct hole, list); in refill()
153 struct list_head *cur; in get_baddr() local
165 list_for_each(cur, &hole_list) { in get_baddr()
168 hole = list_entry(cur, struct hole, list); in get_baddr()
206 struct list_head *cur; in free_baddr() local
[all …]
/arch/mn10300/kernel/
Dkgdb.c159 u8 *pc = (u8 *)regs->pc, *sp = (u8 *)(regs + 1), cur; in kgdb_arch_do_singlestep() local
163 ret = probe_kernel_read(&cur, pc, 1); in kgdb_arch_do_singlestep()
167 size = mn10300_kgdb_insn_sizes[cur]; in kgdb_arch_do_singlestep()
173 switch (cur) { in kgdb_arch_do_singlestep()
233 ret = probe_kernel_read(&cur, pc + 1, 1); in kgdb_arch_do_singlestep()
237 if (cur >= 0xf0 && cur <= 0xf7) { in kgdb_arch_do_singlestep()
239 switch (cur & 3) { in kgdb_arch_do_singlestep()
246 } else if (cur == 0xfc) { in kgdb_arch_do_singlestep()
252 } else if (cur == 0xfd) { in kgdb_arch_do_singlestep()
266 ret = probe_kernel_read(&cur, pc + 1, 1); in kgdb_arch_do_singlestep()
[all …]
Dgdb-stub.c495 uint8_t cur, *pc, *sp; in gdbstub_single_step() local
507 if (gdbstub_read_byte(pc, &cur) < 0) in gdbstub_single_step()
510 gdbstub_bkpt("Single Step from %p { %02x }\n", pc, cur); in gdbstub_single_step()
514 size = gdbstub_insn_sizes[cur]; in gdbstub_single_step()
519 switch (cur) { in gdbstub_single_step()
590 if (gdbstub_read_byte(pc + 1, &cur) < 0) in gdbstub_single_step()
593 if (cur >= 0xf0 && cur <= 0xf7) { in gdbstub_single_step()
595 switch (cur & 3) { in gdbstub_single_step()
603 } else if (cur == 0xfc) { in gdbstub_single_step()
616 } else if (cur == 0xfd) { in gdbstub_single_step()
[all …]
/arch/arm/kernel/
Dkprobes.c212 struct kprobe *p, *cur; in kprobe_handler() local
216 cur = kprobe_running(); in kprobe_handler()
233 if (cur) { in kprobe_handler()
279 } else if (cur) { in kprobe_handler()
281 if (cur->break_handler && cur->break_handler(cur, regs)) { in kprobe_handler()
283 singlestep(cur, regs, kcb); in kprobe_handler()
284 if (cur->post_handler) { in kprobe_handler()
286 cur->post_handler(cur, regs, 0); in kprobe_handler()
311 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
324 regs->ARM_pc = (long)cur->addr; in kprobe_fault_handler()
[all …]
/arch/ia64/kernel/
Dperfmon_default_smpl.c106 void *cur, *last; in default_handler() local
118 cur = buf+hdr->hdr_cur_offs; in default_handler()
126 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; in default_handler()
130 ent = (pfm_default_smpl_entry_t *)cur; in default_handler()
144 cur, last, in default_handler()
145 last-cur, in default_handler()
187 cur += entry_size; in default_handler()
192 if ((last - cur) < PFM_DEFAULT_MAX_ENTRY_SIZE) goto full; in default_handler()
204 …DPRINT_ovfl(("sampling buffer full free=%lu, count=%lu, ovfl_notify=%d\n", last-cur, hdr->hdr_coun… in default_handler()
Dkprobes.c897 struct kprobe *cur = kprobe_running(); in post_kprobes_handler() local
900 if (!cur) in post_kprobes_handler()
903 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler()
905 cur->post_handler(cur, regs, 0); in post_kprobes_handler()
908 resume_execution(cur, regs); in post_kprobes_handler()
924 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
938 regs->cr_iip = ((unsigned long)cur->addr) & ~0xFULL; in kprobe_fault_handler()
939 ia64_psr(regs)->ri = ((unsigned long)cur->addr) & 0xf; in kprobe_fault_handler()
953 kprobes_inc_nmissed_count(cur); in kprobe_fault_handler()
962 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/powerpc/kernel/
Dkprobes.c382 struct kprobe *cur = kprobe_running(); in post_kprobe_handler() local
385 if (!cur) in post_kprobe_handler()
389 if (((unsigned long)cur->ainsn.insn + 4) != regs->nip) in post_kprobe_handler()
392 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
394 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
398 regs->nip = (unsigned long)cur->addr + 4; in post_kprobe_handler()
423 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
437 regs->nip = (unsigned long)cur->addr; in kprobe_fault_handler()
453 kprobes_inc_nmissed_count(cur); in kprobe_fault_handler()
462 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/sparc/kernel/
Dkprobes.c297 struct kprobe *cur = kprobe_running(); in post_kprobe_handler() local
300 if (!cur) in post_kprobe_handler()
303 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
305 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
308 resume_execution(cur, regs, kcb); in post_kprobe_handler()
324 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
338 regs->tpc = (unsigned long)cur->addr; in kprobe_fault_handler()
355 kprobes_inc_nmissed_count(cur); in kprobe_fault_handler()
364 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/unicore32/kernel/
Dcpu-ucv2.c51 unsigned int cur = ucv2_getspeed(0); in ucv2_target() local
58 freqs.old = cur; in ucv2_target()
72 policy->cur = ucv2_getspeed(0); in ucv2_cpu_init()
/arch/mips/kernel/
Dkprobes.c437 struct kprobe *cur = kprobe_running(); in post_kprobe_handler() local
440 if (!cur) in post_kprobe_handler()
443 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
445 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
448 resume_execution(cur, regs, kcb); in post_kprobe_handler()
466 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
469 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
473 resume_execution(cur, regs, kcb); in kprobe_fault_handler()
/arch/sh/kernel/
Dkprobes.c373 struct kprobe *cur = kprobe_running(); in post_kprobe_handler() local
378 if (!cur) in post_kprobe_handler()
381 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
383 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
422 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler() local
436 regs->pc = (unsigned long)cur->addr; in kprobe_fault_handler()
450 kprobes_inc_nmissed_count(cur); in kprobe_fault_handler()
459 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) in kprobe_fault_handler()
/arch/alpha/kernel/
Dsrmcons.c96 char *cur; in srmcons_do_write() local
99 for (cur = (char *)buf; remaining > 0; ) { in srmcons_do_write()
106 if (cur[c] == '\n') in srmcons_do_write()
110 result.as_long = callback_puts(0, cur, c); in srmcons_do_write()
113 cur += result.bits.c; in srmcons_do_write()
/arch/arm/plat-samsung/
Dadc.c70 struct s3c_adc_client *cur; member
142 adc->cur = next; in s3c_adc_try()
175 if (!adc->cur) in s3c_adc_start()
263 if (adc_dev->cur == client) in s3c_adc_release()
264 adc_dev->cur = NULL; in s3c_adc_release()
278 if (adc_dev->cur == NULL) in s3c_adc_release()
289 struct s3c_adc_client *client = adc->cur; in s3c_adc_irq()
324 adc->cur = NULL; in s3c_adc_irq()
/arch/mips/boot/
Delf2ecoff.c68 int remaining, cur, count; in copy() local
78 cur = remaining; in copy()
79 if (cur > sizeof ibuf) in copy()
80 cur = sizeof ibuf; in copy()
81 remaining -= cur; in copy()
82 if ((count = read(in, ibuf, cur)) != cur) { in copy()
88 if ((count = write(out, ibuf, cur)) != cur) { in copy()
/arch/ia64/kvm/
Dvtlb.c270 struct thash_data *cur; in vtlb_purge() local
286 cur = vsa_thash(hcb->pta, curadr, vrr.val, &tag); in vtlb_purge()
287 if (cur->etag == tag && cur->ps == rr_ps) in vtlb_purge()
288 cur->etag = INVALID_TI_TAG; in vtlb_purge()
301 struct thash_data *cur; in vhpt_purge() local
310 cur = (struct thash_data *)ia64_thash(start); in vhpt_purge()
312 if (cur->etag == tag) in vhpt_purge()
313 cur->etag = INVALID_TI_TAG; in vhpt_purge()
/arch/powerpc/platforms/pasemi/
Dcpufreq.c216 policy->cur = pas_freqs[cur_astate].frequency; in pas_cpufreq_cpu_init()
219 ppc_proc_freq = policy->cur * 1000ul; in pas_cpufreq_cpu_init()
267 freqs.old = policy->cur; in pas_cpufreq_target()
/arch/powerpc/platforms/cell/
Dcbe_cpufreq.c119 policy->cur = cbe_freqs[cur_pmode].frequency; in cbe_cpufreq_cpu_init()
157 freqs.old = policy->cur; in cbe_cpufreq_target()

123