staticirqreturn_tsun3_int5(intirq,void*dev_id){#ifdefCONFIG_SUN3intersil_clear();#endif*sun3_intreg |= (1<< irq);#ifdefCONFIG_SUN3intersil_clear();#endifdo_timer(1);#ifndefCONFIG_SMPupdate_process_times(user_mode(get_irq_regs()));#endifif(!(kstat_cpu(0).irqs[irq] %20)) sun3...
gpio_dbgmsg("\tcs75xx_irq_gpio[%d] = %08x\n", i, cs75xx_irq_gpio[i]); }/* disable irq and register to gpiolib */for(i =0; i < GPIO_BANK_NUM; i++) {/* disable, unmask and clear all interrupts */__raw_writel(0x0, cs75xx_gpio_base[i] + CS75XX_GPIO_IE);for(j =...
struct pt_regs *regs = get_irq_regs(); ktime_t now = ktime_get(); dev->next_event.tv64 = KTIME_MAX; dev->next_event = KTIME_MAX; tick_sched_do_timer(now); tick_sched_handle(ts, regs); Expand Down 6 changes: 3 additions & 3 deletions 6 kernel/time/timekeeping.c Show...
return PTR_ERR(info->regs); irq = platform_get_irq(pdev, 0); if (irq < 0) { dev_err(dev, "No irq resource?\n"); if (irq < 0) return irq; } info->clk = devm_clk_get(dev, "adc"); if (IS_ERR(info->clk)) {4...
ddi_regs_map_free(9F) ddi_regs_map_setup(9F) ddi_remove_event_handler(9F) ddi_remove_intr(9F) ddi_remove_minor_node(9F) ddi_remove_softintr(9F) ddi_removing_power(9F) ddi_rep_get16(9F) ddi_rep_get32(9F) ddi_rep_get64(9F) ddi_rep_get8(9F) ddi_rep_getb(9F) ddi_rep_getl...
ddi_regs_map_setup(9F) ddi_remove_event_handler(9F) ddi_remove_intr(9F) ddi_remove_minor_node(9F) ddi_remove_softintr(9F) ddi_removing_power(9F) ddi_rep_get16(9F) ddi_rep_get32(9F) ddi_rep_get64(9F) ddi_rep_get8(9F) ddi_rep_getb(9F) ddi_rep_getl(9F) ddi_rep_getll(9F...
[2020-07-30 11:38:49.273] [ 0.927135] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=168) [2020-07-30 11:38:49.278] [ 0.937169] i2c /dev entries driver [2020-07-30 11:38:49.287] [ 0.942318] omap_wdt: OMAP Wa...
irqc->irq_set_wake = omap_gpio_wake_enable, irqc->name = dev_name(&pdev->dev); - res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); - if (unlikely(!res)) { - dev_err(dev, "Invalid IRQ resource\n"); - return -ENODEV; ...
{ ktime_t entry_stamp;}; // 记录函数执行开始时间static int entry_handler(struct kretprobe_instance...pt_regs *regs){ struct my_data *data; data = (struct my_data *)ri->data; data->entry_stamp = ktime_get...now; now = ktime_get(); delta = ktime_to_ns(ktime_sub(now, ...
free_irq(i2c->irq->start, i2c); err_iomap: iounmap(i2c->regs); err_ioarea: release_resource(i2c->ioarea); kfree(i2c->ioarea); err_clk: clk_disable(i2c->clk); clk_put(i2c->clk); err_noclk: return ret; } 在上面函数中,我们重点需要关注s3c24xx_i2c结构和i2c_add_adapter(&i2c-...