Home
last modified time | relevance | path

Searched refs:irq_start (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/include/linux/
H A Dvlynq.h56 u32 irq_start, irq_end; member
124 int irq = dev->irq_start + virq; in vlynq_virq_to_irq()
125 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_virq_to_irq()
133 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_irq_to_virq()
136 return irq - dev->irq_start; in vlynq_irq_to_virq()
/openbmc/linux/drivers/irqchip/
H A Dirq-mst-intc.c30 unsigned int irq_start, nr_irqs; member
226 parent_fwspec.param[1] = cd->irq_start + hwirq; in mst_intc_domain_alloc()
250 u32 irq_start, irq_end; in mst_intc_of_init() local
258 if (of_property_read_u32_index(dn, "mstar,irqs-map-range", 0, &irq_start) || in mst_intc_of_init()
274 cd->irq_start = irq_start; in mst_intc_of_init()
275 cd->nr_irqs = irq_end - irq_start + 1; in mst_intc_of_init()
H A Dirq-vic.c404 static void __init vic_init_st(void __iomem *base, unsigned int irq_start, in vic_init_st() argument
431 vic_register(base, 0, irq_start, vic_sources, 0, node); in vic_init_st()
434 static void __init __vic_init(void __iomem *base, int parent_irq, int irq_start, in __vic_init() argument
454 vic_init_st(base, irq_start, vic_sources, node); in __vic_init()
471 vic_register(base, parent_irq, irq_start, vic_sources, resume_sources, node); in __vic_init()
481 void __init vic_init(void __iomem *base, unsigned int irq_start, in vic_init() argument
484 __vic_init(base, 0, irq_start, vic_sources, resume_sources, NULL); in vic_init()
H A Dirq-sa11x0.c148 void __init sa11x0_init_irq_nodt(int irq_start, resource_size_t io_start) in sa11x0_init_irq_nodt() argument
167 32, irq_start, in sa11x0_init_irq_nodt()
H A Dirq-omap-intc.c224 unsigned int irq_start, unsigned int num) in omap_alloc_gc_legacy() argument
229 gc = irq_alloc_generic_chip("INTC", 1, irq_start, base, in omap_alloc_gc_legacy()
/openbmc/linux/drivers/gpio/
H A Dgpio-xgene-sb.c53 u16 irq_start; member
58 #define HWIRQ_TO_GPIO(priv, hwirq) ((hwirq) + (priv)->irq_start)
59 #define GPIO_TO_HWIRQ(priv, gpio) ((gpio) - (priv)->irq_start)
118 if ((gpio < priv->irq_start) || in xgene_gpio_sb_to_irq()
255 priv->irq_start = XGENE_DFLT_IRQ_START_PIN; in xgene_gpio_sb_probe()
258 priv->irq_start = val32; in xgene_gpio_sb_probe()
271 priv->gc.ngpio, priv->nirq, priv->irq_start); in xgene_gpio_sb_probe()
H A Dgpio-htc-egpio.c44 uint irq_start; member
84 ei->irqs_enabled &= ~(1 << (data->irq - ei->irq_start)); in egpio_mask()
91 ei->irqs_enabled |= 1 << (data->irq - ei->irq_start); in egpio_unmask()
117 generic_handle_irq(ei->irq_start + irqpin); in egpio_handler()
340 ei->irq_start = pdata->irq_base; in egpio_probe()
349 irq_end = ei->irq_start + ei->nirqs; in egpio_probe()
350 for (irq = ei->irq_start; irq < irq_end; irq++) { in egpio_probe()
H A Dgpio-pch.c324 unsigned int irq_start, in pch_gpio_alloc_generic_chip() argument
331 gc = devm_irq_alloc_generic_chip(chip->dev, "pch_gpio", 1, irq_start, in pch_gpio_alloc_generic_chip()
H A Dgpio-ml-ioh.c373 unsigned int irq_start, in ioh_gpio_alloc_generic_chip() argument
380 gc = devm_irq_alloc_generic_chip(chip->dev, "ioh_gpio", 1, irq_start, in ioh_gpio_alloc_generic_chip()
/openbmc/linux/arch/arm/plat-orion/
H A Dirq.c22 void __init orion_irq_init(unsigned int irq_start, void __iomem *maskaddr) in orion_irq_init() argument
32 gc = irq_alloc_generic_chip("orion_irq", 1, irq_start, maskaddr, in orion_irq_init()
/openbmc/linux/drivers/vlynq/
H A Dvlynq.c132 virq = d->irq - dev->irq_start; in vlynq_irq_unmask()
145 virq = d->irq - dev->irq_start; in vlynq_irq_mask()
158 virq = d->irq - dev->irq_start; in vlynq_irq_type()
216 do_IRQ(dev->irq_start + virq); in vlynq_irq()
276 for (i = dev->irq_start; i <= dev->irq_end; i++) { in vlynq_setup_irq()
277 virq = i - dev->irq_start; in vlynq_setup_irq()
619 int irq = dev->irq_start + virq; in vlynq_set_local_irq()
623 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_set_local_irq()
637 int irq = dev->irq_start + virq; in vlynq_set_remote_irq()
710 dev->irq_start = irq_res->start; in vlynq_probe()
[all …]
/openbmc/linux/drivers/mfd/
H A Dmotorola-cpcap.c141 int irq_start, int nr_irqs) in cpcap_init_irq_chip() argument
146 for (i = irq_start; i < irq_start + nr_irqs; i++) { in cpcap_init_irq_chip()
149 cpcap_init_one_regmap_irq(cpcap, rirq, irq_start, i); in cpcap_init_irq_chip()
151 chip->irqs = &cpcap->irqs[irq_start]; in cpcap_init_irq_chip()
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c47 int irq_start; /* index of the first IRQ usable by platform bus devices */ member
250 + data->irq_start; in add_calxeda_midway_xgmac_fdt_node()
388 + data->irq_start; in add_amd_xgbe_fdt_node()
534 hwaddr bus_size, int irq_start) in platform_bus_add_all_fdt_nodes() argument
563 .irq_start = irq_start, in platform_bus_add_all_fdt_nodes()
/openbmc/linux/drivers/dma/xilinx/
H A Dxdma.c122 u32 irq_start; member
659 u32 irq_start, u32 irq_num) in xdma_set_vector_reg() argument
668 val |= irq_start << shift; in xdma_set_vector_reg()
669 irq_start++; in xdma_set_vector_reg()
692 u32 irq = xdev->irq_start; in xdma_irq_init()
783 index = irq_num - xdev->irq_start; in xdma_disable_user_irq()
805 index = irq_num - xdev->irq_start; in xdma_enable_user_irq()
836 return xdev->irq_start + XDMA_CHAN_NUM(xdev) + user_irq_index; in xdma_get_user_irq()
887 xdev->irq_start = res->start; in xdma_probe()
/openbmc/linux/arch/arm/plat-orion/include/plat/
H A Dirq.h14 void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr);
/openbmc/linux/include/linux/irqchip/
H A Dirq-sa11x0.h12 void __init sa11x0_init_irq_nodt(int irq_start, resource_size_t io_start);
H A Darm-vic.h12 void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources);
/openbmc/qemu/include/hw/core/
H A Dsysbus-fdt.h36 hwaddr bus_size, int irq_start);
/openbmc/linux/arch/arm/mach-imx/
H A Dtzic.c100 static __init void tzic_init_gc(int idx, unsigned int irq_start) in tzic_init_gc() argument
105 gc = irq_alloc_generic_chip("tzic", 1, irq_start, tzic_base, in tzic_init_gc()
H A Davic.c125 static __init void avic_init_gc(int idx, unsigned int irq_start) in avic_init_gc() argument
130 gc = irq_alloc_generic_chip("mxc-avic", 1, irq_start, avic_base, in avic_init_gc()
/openbmc/linux/arch/arm/mach-omap1/
H A Dirq.c166 omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num) in omap_alloc_gc() argument
171 gc = irq_alloc_generic_chip("MPU", 1, irq_start, base, in omap_alloc_gc()
/openbmc/qemu/hw/ppc/
H A De500.c231 int irq_start; member
266 data->irq_start + irq0, 0x2, in create_devtree_etsec()
267 data->irq_start + irq1, 0x2, in create_devtree_etsec()
268 data->irq_start + irq2, 0x2); in create_devtree_etsec()
326 int irq_start = pmc->platform_bus_first_irq; in platform_bus_create_devtree() local
347 .irq_start = irq_start, in platform_bus_create_devtree()
/openbmc/linux/drivers/power/supply/
H A Dlp8788-charger.c479 int irq_start; in lp8788_set_irqs() local
491 irq_start = r->start; in lp8788_set_irqs()
494 for (i = irq_start; i <= irq_end; i++) { in lp8788_set_irqs()