Searched defs:irq (Results 251 - 275 of 2255) sorted by relevance

<<11121314151617181920>>

/drivers/irqchip/
H A Dirq-bcm7120-l2.c22 #include <linux/irq.h>
30 #include <asm/mach/irq.h>
45 static void bcm7120_l2_intc_irq_handle(unsigned int irq, struct irq_desc *desc) argument
56 do_bad_IRQ(irq, desc);
61 irq = ffs(status) - 1;
62 status &= ~(1 << irq);
63 generic_handle_irq(irq_find_mapping(b->domain, irq));
99 int irq, const __be32 *map_mask)
103 parent_irq = irq_of_parse_and_map(dn, irq);
105 pr_err("failed to map interrupt %d\n", irq);
97 bcm7120_l2_intc_init_one(struct device_node *dn, struct bcm7120_l2_intc_data *data, int irq, const __be32 *map_mask) argument
126 int ret = 0, len, irq; local
[all...]
H A Dirq-brcmstb-l2.c27 #include <linux/irq.h>
33 #include <asm/mach/irq.h>
54 static void brcmstb_l2_intc_irq_handle(unsigned int irq, struct irq_desc *desc) argument
66 do_bad_IRQ(irq, desc);
71 irq = ffs(status) - 1;
73 __raw_writel(1 << irq, b->base + CPU_CLEAR);
74 status &= ~(1 << irq);
75 generic_handle_irq(irq_find_mapping(b->domain, irq));
155 pr_err("failed to allocate generic irq chip\n");
180 if (of_property_read_bool(np, "brcm,irq
[all...]
H A Dirq-keystone.c18 #include <linux/irq.h>
39 int irq; member in struct:keystone_irq_device
52 dev_dbg(kirq->dev, "irq read failed ret(%d)\n", ret);
63 dev_dbg(kirq->dev, "irq write failed ret(%d)\n", ret);
87 static void keystone_irq_handler(unsigned irq, struct irq_desc *desc) argument
93 dev_dbg(kirq->dev, "start irq %d\n", irq);
112 dev_warn(kirq->dev, "sporious irq detected hwirq %d, virq %d\n",
120 dev_dbg(kirq->dev, "end irq %d\n", irq);
[all...]
H A Dirq-metag.c6 * This code is based on the code in SoC/common/irq.c and SoC/comet/irq.c
15 #include <asm/irq.h>
60 * metag_hwvec_addr - get the address of *VECINT regs of irq
85 * metag_internal_startup - setup an internal irq
86 * @irq: the irq to startup
88 * Multiplex interrupts for @irq onto TR1. Clear any pending
103 * metag_internal_irq_shutdown - turn off the irq
104 * @irq
223 metag_internal_irq_demux(unsigned int irq, struct irq_desc *desc) argument
286 int irq = tbisig_map(signum); local
303 metag_internal_intc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) argument
[all...]
H A Dirq-or1k-pic.c11 #include <linux/irq.h>
121 int irq = -1; local
123 while ((irq = pic_get_irq(irq + 1)) != NO_IRQ)
124 handle_domain_irq(root_domain, irq, regs);
127 static int or1k_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) argument
131 irq_set_chip_and_handler(irq, &pic->chip, pic->handle);
132 irq_set_status_flags(irq, pic->flags);
H A Dirq-orion.c12 #include <linux/irq.h>
17 #include <asm/mach/irq.h>
60 /* count number of irq chips by valid reg addresses */
68 panic("%s: unable to add irq domain\n", np->name);
75 panic("%s: unable to alloc irq domain gc\n", np->name);
110 static void orion_bridge_irq_handler(unsigned int irq, struct irq_desc *desc) argument
112 struct irq_domain *d = irq_get_handler_data(irq);
146 int ret, irq, nrirqs = 32; local
154 pr_err("%s: unable to add irq domain\n", np->name);
161 pr_err("%s: unable to alloc irq domai
[all...]
H A Dirq-sun4i.c18 #include <linux/irq.h>
24 #include <asm/mach/irq.h>
43 unsigned int irq = irqd_to_hwirq(irqd); local
45 if (irq != 0)
53 unsigned int irq = irqd_to_hwirq(irqd); local
54 unsigned int irq_off = irq % 32;
55 int reg = irq / 32;
65 unsigned int irq = irqd_to_hwirq(irqd); local
66 unsigned int irq_off = irq % 32;
67 int reg = irq / 3
[all...]
H A Dirq-sunxi-nmi.c14 #include <linux/irq.h>
61 static void sunxi_sc_nmi_handle_irq(unsigned int irq, struct irq_desc *desc) argument
64 struct irq_chip *chip = irq_get_chip(irq);
100 __func__, data->irq);
126 unsigned int irq; local
146 irq = irq_of_parse_and_map(node, 0);
147 if (irq <= 0) {
148 pr_err("%s: unable to parse irq\n", node->name);
185 irq_set_handler_data(irq, domain);
186 irq_set_chained_handler(irq, sunxi_sc_nmi_handle_ir
[all...]
H A Dirq-tb10x.c24 #include <linux/irq.h>
84 __func__, data->irq);
100 static void tb10x_irq_cascade(unsigned int irq, struct irq_desc *desc) argument
104 generic_handle_irq(irq_find_mapping(domain, irq));
174 unsigned int irq = irq_of_parse_and_map(ictl, i); local
176 irq_set_handler_data(irq, domain);
177 irq_set_chained_handler(irq, tb10x_irq_cascade);
H A Dirq-xtensa-mx.c13 #include <linux/irq.h>
26 static int xtensa_mx_irq_map(struct irq_domain *d, unsigned int irq, argument
31 irq_set_chip_and_handler_name(irq, irq_chip,
33 irq_set_status_flags(irq, IRQ_LEVEL);
36 return xtensa_irq_map(d, irq, hw);
/drivers/isdn/hisax/
H A Dhisax_fcpcipnp.h50 unsigned int irq; member in struct:fritz_adapter
/drivers/isdn/sc/
H A Dinit.c31 static unsigned char irq[] = {0, 0, 0, 0}; variable
36 module_param_array(irq, byte, NULL, 0);
253 pr_debug("current IRQ: %d b: %d\n", irq[b], b);
258 if (!irq[b]) {
337 sc_adapter[cinst]->interrupt = irq[b];
369 boardname[model], channels, irq[b], io[b], ram[b]);
/drivers/lguest/
H A Dlguest_user.c182 unsigned long irq; local
184 if (get_user(irq, input) != 0)
186 if (irq >= LGUEST_IRQS)
193 set_interrupt(cpu, irq);
/drivers/macintosh/ams/
H A Dams-core.c73 enum ams_irq irq = *((enum ams_irq *)data); local
77 ams_info.worker_irqs |= irq;
/drivers/media/platform/blackfin/
H A Dppi.c48 static irqreturn_t ppi_irq_err(int irq, void *dev_id) argument
/drivers/mfd/
H A Dadp5520.c25 #include <linux/irq.h>
36 int irq; member in struct:adp5520_chip
147 if (chip->irq) {
173 static irqreturn_t adp5520_irq_thread(int irq, void *data) argument
233 chip->irq = client->irq;
237 if (chip->irq) {
240 ret = request_threaded_irq(chip->irq, NULL, adp5520_irq_thread,
244 dev_err(&client->dev, "failed to request irq %d\n",
245 chip->irq);
[all...]
H A Darizona-irq.c16 #include <linux/irq.h>
29 static int arizona_map_irq(struct arizona *arizona, int irq) argument
33 ret = regmap_irq_get_virq(arizona->aod_irq_chip, irq);
35 ret = regmap_irq_get_virq(arizona->irq_chip, irq);
40 int arizona_request_irq(struct arizona *arizona, int irq, char *name, argument
43 irq = arizona_map_irq(arizona, irq);
44 if (irq < 0)
45 return irq;
47 return request_threaded_irq(irq, NUL
52 arizona_free_irq(struct arizona *arizona, int irq, void *data) argument
62 arizona_set_irq_wake(struct arizona *arizona, int irq, int on) argument
72 arizona_boot_done(int irq, void *data) argument
81 arizona_ctrlif_err(int irq, void *data) argument
94 arizona_irq_thread(int irq, void *data) argument
198 const struct regmap_irq_chip *aod, *irq; local
[all...]
H A Dwm831x-irq.c2 * wm831x-irq.c -- Interrupt controller support for Wolfson WM831x PMICs
18 #include <linux/irq.h>
26 #include <linux/mfd/wm831x/irq.h>
330 int irq)
332 return &wm831x_irqs[irq];
395 int irq; local
397 irq = data->hwirq;
399 if (irq < WM831X_IRQ_GPIO_1 || irq > WM831X_IRQ_GPIO_11) {
401 if (irq >
329 irq_to_wm831x_irq(struct wm831x *wm831x, int irq) argument
454 wm831x_irq_thread(int irq, void *data) argument
572 wm831x_irq_init(struct wm831x *wm831x, int irq) argument
[all...]
H A Dwm8350-irq.c2 * wm8350-irq.c -- IRQ support for Wolfson WM8350
20 #include <linux/irq.h>
367 int irq)
369 return &wm8350_irqs[irq - wm8350->irq_base];
381 static irqreturn_t wm8350_irq(int irq, void *irq_data) argument
446 data->irq);
455 data->irq);
468 int wm8350_irq_init(struct wm8350 *wm8350, int irq, argument
475 if (!irq) {
495 wm8350->chip_irq = irq;
366 irq_to_wm8350_irq(struct wm8350 *wm8350, int irq) argument
[all...]
H A Dwm8994-core.c325 static int wm8994_device_init(struct wm8994 *wm8994, int irq) argument
634 wm8994->irq = i2c->irq;
652 return wm8994_device_init(wm8994, i2c->irq);
/drivers/misc/cb710/
H A Dcore.c68 static irqreturn_t cb710_irq_handler(int irq, void *data) argument
179 devm_free_irq(&pdev->dev, pdev->irq, chip);
198 return devm_request_irq(&pdev->dev, pdev->irq,
254 err = devm_request_irq(&pdev->dev, pdev->irq,
273 chip->platform_id, chip->iobase, pdev->irq);
/drivers/misc/mic/card/
H A Dmic_device.c67 static irqreturn_t mic_shutdown_isr(int irq, void *data) argument
137 * mic_request_card_irq - request an irq.
141 * @name: The ASCII name of the callee requesting the irq.
176 * mic_free_card_irq - free irq.
197 * Returns the irq index.
215 * mic_init_irq - Initialize irq information.
232 * mic_uninit_irq - Uninitialize irq information.
/drivers/misc/mic/host/
H A Dmic_main.c113 static irqreturn_t mic_shutdown_db(int irq, void *data) argument
/drivers/mmc/core/
H A Dslot-gpio.c30 static irqreturn_t mmc_gpio_cd_irqt(int irq, void *dev_id) argument
143 int ret, irq; local
148 irq = gpiod_to_irq(ctx->cd_gpio);
155 if (irq >= 0 && host->caps & MMC_CAP_NEEDS_POLL)
156 irq = -EINVAL;
158 if (irq >= 0) {
159 ret = devm_request_threaded_irq(&host->class_dev, irq,
164 irq = ret;
167 host->slot.cd_irq = irq;
169 if (irq <
[all...]
/drivers/net/can/cc770/
H A Dcc770_isa.c21 * insmod cc770_isa.ko port=0x310,0x380 irq=7,11
25 * insmod cc770_isa.ko mem=0xd1000,0xd1000 irq=7,11
31 * insmod cc770_isa.ko port=0x310,0x380 indirect=1 irq=7,11
43 * insmod cc770_isa.ko mem=0xd1000,0xd1000 irq=7,11 clk=24000000
47 * insmod cc770_isa.ko mem=0xd1000,0xd1000 irq=7,11 clk=24000000,24000000
58 #include <linux/irq.h>
78 static int irq[MAXDEV]; variable
94 module_param_array(irq, int, NULL, S_IRUGO);
95 MODULE_PARM_DESC(irq, "IRQ number");
179 dev_dbg(&pdev->dev, "probing idx=%d: port=%#lx, mem=%#lx, irq
[all...]

Completed in 9159 milliseconds

<<11121314151617181920>>