Searched defs:irq_base (Results 26 - 45 of 45) sorted by relevance

12

/drivers/mfd/
H A Dtps6586x.c99 int irq_base; member in struct:tps6586x
332 unsigned int __irq = irq_data->irq - tps6586x->irq_base;
343 unsigned int __irq = irq_data->irq - tps6586x->irq_base;
387 handle_nested_irq(tps6586x->irq_base + i);
396 int irq_base)
401 if (!irq_base) {
415 tps6586x->irq_base = irq_base;
424 int __irq = i + tps6586x->irq_base;
509 pdata->irq_base);
395 tps6586x_irq_init(struct tps6586x *tps6586x, int irq, int irq_base) argument
[all...]
H A Dtwl4030-irq.c434 int irq_base; member in struct:sih_agent
459 agent->imr |= BIT(data->irq - agent->irq_base);
467 agent->imr &= ~BIT(data->irq - agent->irq_base);
479 agent->edge_change |= BIT(data->irq - agent->irq_base);
545 idata = irq_get_irq_data(i + agent->irq_base);
623 handle_nested_irq(agent->irq_base + irq);
632 int twl4030_sih_setup(struct device *dev, int module, int irq_base) argument
656 agent->irq_base = irq_base;
662 irq = irq_base
695 int irq_base, irq_end, nr_irqs; local
[all...]
H A Ducb1x00-core.c186 return ucb->irq_base > 0 ? ucb->irq_base + offset : -ENXIO;
297 generic_handle_irq(ucb->irq_base + i);
320 unsigned mask = 1 << (data->irq - ucb->irq_base);
331 unsigned mask = 1 << (data->irq - ucb->irq_base);
342 unsigned mask = 1 << (data->irq - ucb->irq_base);
369 unsigned mask = 1 << (data->irq - ucb->irq_base);
502 unsigned id, i, irq_base; local
549 irq_base = pdata ? pdata->irq_base
[all...]
H A Dasic3.c80 unsigned int irq_base; member in struct:asic3
188 irqnr = asic->irq_base +
203 generic_handle_irq(asic->irq_base + i);
215 n = (irq - asic->irq_base) >> 4;
222 return (irq - asic->irq_base) & 0xf;
253 (data->irq - (asic->irq_base + ASIC3_NUM_GPIOS)));
290 (data->irq - (asic->irq_base + ASIC3_NUM_GPIOS)));
317 asic->irq_bothedge[(data->irq - asic->irq_base) >> 4] &= ~bit;
327 if (asic3_gpio_get(&asic->gpio, data->irq - asic->irq_base))
331 asic->irq_bothedge[(data->irq - asic->irq_base) >>
375 unsigned int irq, irq_base; local
414 unsigned int irq, irq_base; local
[all...]
H A Dtc6393xb.c111 int irq_base; member in struct:tc6393xb
519 unsigned int i, irq_base; local
521 irq_base = tc6393xb->irq_base;
527 generic_handle_irq(irq_base + i);
543 imr |= 1 << (data->irq - tc6393xb->irq_base);
556 imr &= ~(1 << (data->irq - tc6393xb->irq_base));
571 unsigned int irq, irq_base; local
573 irq_base = tc6393xb->irq_base;
589 unsigned int irq, irq_base; local
[all...]
H A Dtwl-core.c672 add_children(struct twl4030_platform_data *pdata, unsigned irq_base, argument
681 false, irq_base + GPIO_INTR_OFFSET, 0);
689 true, irq_base + KEYPAD_INTR_OFFSET, 0);
697 true, irq_base + MADC_INTR_OFFSET, 0);
713 true, irq_base + RTC_INTR_OFFSET, 0);
766 irq_base + USB_PRES_INTR_OFFSET,
767 irq_base + USB_INTR_OFFSET);
815 irq_base + USBOTG_INTR_OFFSET,
816 irq_base + USB_PRES_INTR_OFFSET);
843 NULL, 0, true, irq_base
1228 int irq_base = 0; local
[all...]
/drivers/power/
H A Dmax8925_power.c73 int irq_base; member in struct:max8925_power_info
112 switch (irq - chip->irq_base) {
351 ret = request_threaded_irq(chip->irq_base + _irq, NULL, \
422 irq = chip->irq_base + MAX8925_IRQ_VCHG_DC_OVP;
423 for (; irq <= chip->irq_base + MAX8925_IRQ_VCHG_TMR_FAULT; irq++)
/drivers/video/
H A Dnuc900fb.c422 void __iomem *irq_base = fbi->irq_base; local
426 writel(readl(irq_base) | 1<<30, irq_base);
441 writel(readl(irq_base) | LCM_INT_CS_UNDERRUN_INT, irq_base);
443 writel(readl(irq_base) | LCM_INT_CS_BUS_ERROR_INT, irq_base);
568 fbi->irq_base = fbi->io + REG_LCM_INT_CS;
H A Ds3c2410fb.c453 void __iomem *irq_base = fbi->irq_base; local
463 irqen = readl(irq_base + S3C24XX_LCDINTMSK);
465 writel(irqen, irq_base + S3C24XX_LCDINTMSK);
750 void __iomem *irq_base = fbi->irq_base; local
751 unsigned long lcdirq = readl(irq_base + S3C24XX_LCDINTPND);
757 writel(S3C2410_LCDINT_FRSYNC, irq_base + S3C24XX_LCDINTPND);
758 writel(S3C2410_LCDINT_FRSYNC, irq_base + S3C24XX_LCDSRCPND);
884 info->irq_base
[all...]
/drivers/gpio/
H A Dgpio-ab8500.c81 u32 irq_base; member in struct:ab8500_gpio
182 int base = ab8500_gpio->irq_base;
211 int offset = irq - ab8500_gpio->irq_base;
213 + ab8500_gpio->parent->irq_base;
220 int offset = irq - ab8500_gpio->irq_base;
222 + ab8500_gpio->parent->irq_base;
231 - ab8500_gpio->parent->irq_base ;
232 int new_irq = offset + ab8500_gpio->irq_base;
240 - ab8500_gpio->parent->irq_base ;
241 int new_irq = offset + ab8500_gpio->irq_base;
[all...]
H A Dgpio-max732x.c136 int irq_base; member in struct:max732x_chip
327 return chip->irq_base + off;
334 chip->irq_mask_cur &= ~(1 << (d->irq - chip->irq_base));
341 chip->irq_mask_cur |= 1 << (d->irq - chip->irq_base);
363 uint16_t off = d->irq - chip->irq_base;
444 handle_nested_irq(level + chip->irq_base);
460 if (pdata->irq_base && has_irq != INT_NONE) {
463 chip->irq_base = pdata->irq_base;
468 int irq = lvl + chip->irq_base;
[all...]
H A Dgpio-ml-ioh.c89 * @irq_base: Save base of IRQ number for interrupt
102 int irq_base; member in struct:ioh_gpio
228 return chip->irq_base + offset;
261 ch = irq - chip->irq_base;
262 if (irq <= chip->irq_base + 7) {
322 iowrite32(1 << (d->irq - chip->irq_base),
331 iowrite32(1 << (d->irq - chip->irq_base),
344 ien &= ~(1 << (d->irq - chip->irq_base));
358 ien |= 1 << (d->irq - chip->irq_base);
379 generic_handle_irq(chip->irq_base
416 int irq_base; local
[all...]
H A Dgpio-pca953x.c83 int irq_base; member in struct:pca953x_chip
310 return chip->irq_base + off;
317 chip->irq_mask &= ~(1 << (d->irq - chip->irq_base));
324 chip->irq_mask |= 1 << (d->irq - chip->irq_base);
356 uint16_t level = d->irq - chip->irq_base;
438 handle_nested_irq(level + chip->irq_base);
448 int irq_base)
453 if (irq_base != -1
477 chip->irq_base = irq_alloc_descs(-1, irq_base, chi
446 pca953x_irq_setup(struct pca953x_chip *chip, const struct i2c_device_id *id, int irq_base) argument
524 pca953x_irq_setup(struct pca953x_chip *chip, const struct i2c_device_id *id, int irq_base) argument
639 int irq_base=0, invert=0; local
[all...]
H A Dgpio-pch.c93 * @irq_base: Save base of IRQ number for interrupt
106 int irq_base; member in struct:pch_gpio
211 return chip->irq_base + offset;
240 ch = irq - chip->irq_base;
241 if (irq <= chip->irq_base + 7) {
293 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->imaskclr);
301 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->imask);
309 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->iclr);
322 generic_handle_irq(chip->irq_base + i);
354 int irq_base; local
[all...]
H A Dgpio-sx150x.c51 int irq_base; member in struct:sx150x_chip
306 if (chip->irq_base < 0)
309 return chip->irq_base + offset;
319 n = d->irq - chip->irq_base;
331 n = d->irq - chip->irq_base;
347 n = d->irq - chip->irq_base;
382 sub_irq = chip->irq_base + (i * 8) + n;
464 chip->irq_base = -1;
543 int irq_base)
550 chip->irq_base
541 sx150x_install_irq_chip(struct sx150x_chip *chip, int irq_summary, int irq_base) argument
[all...]
H A Dgpio-tegra.c369 int irq_base; local
406 irq_base = irq_alloc_descs(-1, 0, tegra_gpio_chip.ngpio, 0);
407 if (irq_base < 0) {
412 tegra_gpio_chip.ngpio, irq_base, 0,
H A Dgpio-omap.c58 int irq_base; member in struct:gpio_bank
98 return gpio_irq - bank->irq_base + bank->chip.base;
685 gpio_irq = bank->irq_base;
929 return bank->irq_base + offset;
1039 for (j = bank->irq_base; j < bank->irq_base + bank->width; j++) {
1098 bank->irq_base = irq_alloc_descs(-1, 0, bank->width, 0);
1099 if (bank->irq_base < 0) {
1104 bank->domain = irq_domain_add_legacy(node, bank->width, bank->irq_base,
/drivers/dma/ipu/
H A Dipu_intern.h157 unsigned int irq_base; /* Beginning of the IPU IRQ range */ member in struct:ipu
/drivers/pinctrl/
H A Dpinctrl-coh901.c106 int irq_base; member in struct:u300_gpio
416 int retirq = gpio->irq_base + offset;
569 int offset = d->irq - gpio->irq_base;
605 int offset = d->irq - gpio->irq_base;
619 int offset = d->irq - gpio->irq_base;
657 int pin_irq = gpio->irq_base + (port->number << 3)
761 gpio->irq_base = plat->gpio_irq_base;
871 int irqno = gpio->irq_base + (portno << 3) + i;
/drivers/atm/
H A Dhe.h279 struct he_irq *irq_base, *irq_head, *irq_tail; member in struct:he_dev

Completed in 387 milliseconds

12