Home
last modified time | relevance | path

Searched refs:girq (Results 1 – 25 of 82) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-ep93xx.c344 struct gpio_irq_chip *girq; in ep93xx_gpio_add_bank() local
354 girq = &gc->irq; in ep93xx_gpio_add_bank()
370 girq->chip = ic; in ep93xx_gpio_add_bank()
376 girq->parent_handler = ep93xx_gpio_ab_irq_handler; in ep93xx_gpio_add_bank()
377 girq->num_parents = 1; in ep93xx_gpio_add_bank()
378 girq->parents = devm_kcalloc(dev, 1, in ep93xx_gpio_add_bank()
379 sizeof(*girq->parents), in ep93xx_gpio_add_bank()
381 if (!girq->parents) in ep93xx_gpio_add_bank()
383 girq->default_type = IRQ_TYPE_NONE; in ep93xx_gpio_add_bank()
384 girq->handler = handle_level_irq; in ep93xx_gpio_add_bank()
[all …]
Dgpio-rda.c184 u32 n, girq; in rda_gpio_irq_handler() local
193 girq = irq_find_mapping(chip->irq.domain, n); in rda_gpio_irq_handler()
194 generic_handle_irq(girq); in rda_gpio_irq_handler()
204 struct gpio_irq_chip *girq; in rda_gpio_probe() local
256 girq = &rda_gpio->chip.irq; in rda_gpio_probe()
257 girq->chip = &rda_gpio->irq_chip; in rda_gpio_probe()
258 girq->handler = handle_bad_irq; in rda_gpio_probe()
259 girq->default_type = IRQ_TYPE_NONE; in rda_gpio_probe()
260 girq->parent_handler = rda_gpio_irq_handler; in rda_gpio_probe()
261 girq->parent_handler_data = rda_gpio; in rda_gpio_probe()
[all …]
Dgpio-cadence.c222 struct gpio_irq_chip *girq; in cdns_gpio_probe() local
224 girq = &cgpio->gc.irq; in cdns_gpio_probe()
225 girq->chip = &cdns_gpio_irqchip; in cdns_gpio_probe()
226 girq->parent_handler = cdns_gpio_irq_handler; in cdns_gpio_probe()
227 girq->num_parents = 1; in cdns_gpio_probe()
228 girq->parents = devm_kcalloc(&pdev->dev, 1, in cdns_gpio_probe()
229 sizeof(*girq->parents), in cdns_gpio_probe()
231 if (!girq->parents) { in cdns_gpio_probe()
235 girq->parents[0] = irq; in cdns_gpio_probe()
236 girq->default_type = IRQ_TYPE_NONE; in cdns_gpio_probe()
[all …]
Dgpio-tqmx86.c236 struct gpio_irq_chip *girq; in tqmx86_gpio_probe() local
298 girq = &chip->irq; in tqmx86_gpio_probe()
299 girq->chip = irq_chip; in tqmx86_gpio_probe()
300 girq->parent_handler = tqmx86_gpio_irq_handler; in tqmx86_gpio_probe()
301 girq->num_parents = 1; in tqmx86_gpio_probe()
302 girq->parents = devm_kcalloc(&pdev->dev, 1, in tqmx86_gpio_probe()
303 sizeof(*girq->parents), in tqmx86_gpio_probe()
305 if (!girq->parents) { in tqmx86_gpio_probe()
309 girq->parents[0] = irq; in tqmx86_gpio_probe()
310 girq->default_type = IRQ_TYPE_NONE; in tqmx86_gpio_probe()
[all …]
Dgpio-intel-mid.c335 struct gpio_irq_chip *girq; in intel_gpio_probe() local
376 girq = &priv->chip.irq; in intel_gpio_probe()
377 girq->chip = &intel_mid_irqchip; in intel_gpio_probe()
378 girq->init_hw = intel_mid_irq_init_hw; in intel_gpio_probe()
379 girq->parent_handler = intel_mid_irq_handler; in intel_gpio_probe()
380 girq->num_parents = 1; in intel_gpio_probe()
381 girq->parents = devm_kcalloc(&pdev->dev, girq->num_parents, in intel_gpio_probe()
382 sizeof(*girq->parents), in intel_gpio_probe()
384 if (!girq->parents) in intel_gpio_probe()
386 girq->parents[0] = pdev->irq; in intel_gpio_probe()
[all …]
Dgpio-hlwd.c256 struct gpio_irq_chip *girq; in hlwd_gpio_probe() local
271 girq = &hlwd->gpioc.irq; in hlwd_gpio_probe()
272 girq->chip = &hlwd->irqc; in hlwd_gpio_probe()
273 girq->parent_handler = hlwd_gpio_irqhandler; in hlwd_gpio_probe()
274 girq->num_parents = 1; in hlwd_gpio_probe()
275 girq->parents = devm_kcalloc(&pdev->dev, 1, in hlwd_gpio_probe()
276 sizeof(*girq->parents), in hlwd_gpio_probe()
278 if (!girq->parents) in hlwd_gpio_probe()
280 girq->parents[0] = hlwd->irq; in hlwd_gpio_probe()
281 girq->default_type = IRQ_TYPE_NONE; in hlwd_gpio_probe()
[all …]
Dgpio-ath79.c228 struct gpio_irq_chip *girq; in ath79_gpio_probe() local
279 girq = &ctrl->gc.irq; in ath79_gpio_probe()
280 girq->chip = &ath79_gpio_irqchip; in ath79_gpio_probe()
281 girq->parent_handler = ath79_gpio_irq_handler; in ath79_gpio_probe()
282 girq->num_parents = 1; in ath79_gpio_probe()
283 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ath79_gpio_probe()
285 if (!girq->parents) in ath79_gpio_probe()
287 girq->parents[0] = platform_get_irq(pdev, 0); in ath79_gpio_probe()
288 girq->default_type = IRQ_TYPE_NONE; in ath79_gpio_probe()
289 girq->handler = handle_simple_irq; in ath79_gpio_probe()
Dgpio-altera.c242 struct gpio_irq_chip *girq; in altera_gpio_probe() local
289 girq = &altera_gc->mmchip.gc.irq; in altera_gpio_probe()
290 girq->chip = &altera_gc->irq_chip; in altera_gpio_probe()
292 girq->parent_handler = altera_gpio_irq_leveL_high_handler; in altera_gpio_probe()
294 girq->parent_handler = altera_gpio_irq_edge_handler; in altera_gpio_probe()
295 girq->num_parents = 1; in altera_gpio_probe()
296 girq->parents = devm_kcalloc(&pdev->dev, 1, sizeof(*girq->parents), in altera_gpio_probe()
298 if (!girq->parents) in altera_gpio_probe()
300 girq->default_type = IRQ_TYPE_NONE; in altera_gpio_probe()
301 girq->handler = handle_bad_irq; in altera_gpio_probe()
[all …]
Dgpio-zx.c218 struct gpio_irq_chip *girq; in zx_gpio_probe() local
252 girq = &chip->gc.irq; in zx_gpio_probe()
253 girq->chip = &zx_irqchip; in zx_gpio_probe()
254 girq->parent_handler = zx_irq_handler; in zx_gpio_probe()
255 girq->num_parents = 1; in zx_gpio_probe()
256 girq->parents = devm_kcalloc(&pdev->dev, 1, in zx_gpio_probe()
257 sizeof(*girq->parents), in zx_gpio_probe()
259 if (!girq->parents) in zx_gpio_probe()
261 girq->parents[0] = irq; in zx_gpio_probe()
262 girq->default_type = IRQ_TYPE_NONE; in zx_gpio_probe()
[all …]
Dgpio-ftgpio010.c229 struct gpio_irq_chip *girq; in ftgpio_gpio_probe() local
287 girq = &g->gc.irq; in ftgpio_gpio_probe()
288 girq->chip = &g->irq; in ftgpio_gpio_probe()
289 girq->parent_handler = ftgpio_gpio_irq_handler; in ftgpio_gpio_probe()
290 girq->num_parents = 1; in ftgpio_gpio_probe()
291 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ftgpio_gpio_probe()
293 if (!girq->parents) { in ftgpio_gpio_probe()
297 girq->default_type = IRQ_TYPE_NONE; in ftgpio_gpio_probe()
298 girq->handler = handle_bad_irq; in ftgpio_gpio_probe()
299 girq->parents[0] = irq; in ftgpio_gpio_probe()
Dgpio-vf610.c246 struct gpio_irq_chip *girq; in vf610_gpio_probe() local
329 girq = &gc->irq; in vf610_gpio_probe()
330 girq->chip = ic; in vf610_gpio_probe()
331 girq->parent_handler = vf610_gpio_irq_handler; in vf610_gpio_probe()
332 girq->num_parents = 1; in vf610_gpio_probe()
333 girq->parents = devm_kcalloc(&pdev->dev, 1, in vf610_gpio_probe()
334 sizeof(*girq->parents), in vf610_gpio_probe()
336 if (!girq->parents) in vf610_gpio_probe()
338 girq->parents[0] = port->irq; in vf610_gpio_probe()
339 girq->default_type = IRQ_TYPE_NONE; in vf610_gpio_probe()
[all …]
Dgpio-104-idi-48.c265 struct gpio_irq_chip *girq; in idi_48_probe() local
290 girq = &idi48gpio->chip.irq; in idi_48_probe()
291 girq->chip = &idi_48_irqchip; in idi_48_probe()
293 girq->parent_handler = NULL; in idi_48_probe()
294 girq->num_parents = 0; in idi_48_probe()
295 girq->parents = NULL; in idi_48_probe()
296 girq->default_type = IRQ_TYPE_NONE; in idi_48_probe()
297 girq->handler = handle_edge_irq; in idi_48_probe()
298 girq->init_hw = idi_48_irq_init_hw; in idi_48_probe()
Dgpio-104-idio-16.c242 struct gpio_irq_chip *girq; in idio_16_probe() local
271 girq = &idio16gpio->chip.irq; in idio_16_probe()
272 girq->chip = &idio_16_irqchip; in idio_16_probe()
274 girq->parent_handler = NULL; in idio_16_probe()
275 girq->num_parents = 0; in idio_16_probe()
276 girq->parents = NULL; in idio_16_probe()
277 girq->default_type = IRQ_TYPE_NONE; in idio_16_probe()
278 girq->handler = handle_edge_irq; in idio_16_probe()
279 girq->init_hw = idio_16_irq_init_hw; in idio_16_probe()
Dgpio-xlp.c293 struct gpio_irq_chip *girq; in xlp_gpio_probe() local
399 girq = &gc->irq; in xlp_gpio_probe()
400 girq->chip = &xlp_gpio_irq_chip; in xlp_gpio_probe()
401 girq->parent_handler = xlp_gpio_generic_handler; in xlp_gpio_probe()
402 girq->num_parents = 1; in xlp_gpio_probe()
403 girq->parents = devm_kcalloc(&pdev->dev, 1, in xlp_gpio_probe()
404 sizeof(*girq->parents), in xlp_gpio_probe()
406 if (!girq->parents) in xlp_gpio_probe()
408 girq->parents[0] = irq; in xlp_gpio_probe()
409 girq->first = irq_base; in xlp_gpio_probe()
[all …]
Dgpio-max77620.c291 struct gpio_irq_chip *girq; in max77620_gpio_probe() local
320 girq = &mgpio->gpio_chip.irq; in max77620_gpio_probe()
321 girq->chip = &max77620_gpio_irqchip; in max77620_gpio_probe()
323 girq->parent_handler = NULL; in max77620_gpio_probe()
324 girq->num_parents = 0; in max77620_gpio_probe()
325 girq->parents = NULL; in max77620_gpio_probe()
326 girq->default_type = IRQ_TYPE_NONE; in max77620_gpio_probe()
327 girq->handler = handle_edge_irq; in max77620_gpio_probe()
328 girq->init_hw = max77620_gpio_irq_init_hw, in max77620_gpio_probe()
329 girq->threaded = true; in max77620_gpio_probe()
Dgpio-ixp4xx.c197 struct gpio_irq_chip *girq; in ixp4xx_gpio_probe() local
284 girq = &g->gc.irq; in ixp4xx_gpio_probe()
285 girq->chip = &ixp4xx_gpio_irqchip; in ixp4xx_gpio_probe()
286 girq->fwnode = g->fwnode; in ixp4xx_gpio_probe()
287 girq->parent_domain = parent; in ixp4xx_gpio_probe()
288 girq->child_to_parent_hwirq = ixp4xx_gpio_child_to_parent_hwirq; in ixp4xx_gpio_probe()
289 girq->handler = handle_bad_irq; in ixp4xx_gpio_probe()
290 girq->default_type = IRQ_TYPE_NONE; in ixp4xx_gpio_probe()
Dgpio-merrifield.c428 struct gpio_irq_chip *girq; in mrfld_gpio_probe() local
480 girq = &priv->chip.irq; in mrfld_gpio_probe()
481 girq->chip = &mrfld_irqchip; in mrfld_gpio_probe()
482 girq->init_hw = mrfld_irq_init_hw; in mrfld_gpio_probe()
483 girq->parent_handler = mrfld_irq_handler; in mrfld_gpio_probe()
484 girq->num_parents = 1; in mrfld_gpio_probe()
485 girq->parents = devm_kcalloc(&pdev->dev, girq->num_parents, in mrfld_gpio_probe()
486 sizeof(*girq->parents), GFP_KERNEL); in mrfld_gpio_probe()
487 if (!girq->parents) in mrfld_gpio_probe()
489 girq->parents[0] = pci_irq_vector(pdev, 0); in mrfld_gpio_probe()
[all …]
Dgpio-sifive.c166 struct gpio_irq_chip *girq; in sifive_gpio_probe() local
227 girq = &chip->gc.irq; in sifive_gpio_probe()
228 girq->chip = &sifive_gpio_irqchip; in sifive_gpio_probe()
229 girq->fwnode = of_node_to_fwnode(node); in sifive_gpio_probe()
230 girq->parent_domain = parent; in sifive_gpio_probe()
231 girq->child_to_parent_hwirq = sifive_gpio_child_to_parent_hwirq; in sifive_gpio_probe()
232 girq->handler = handle_bad_irq; in sifive_gpio_probe()
233 girq->default_type = IRQ_TYPE_NONE; in sifive_gpio_probe()
Dgpio-pci-idio-16.c301 struct gpio_irq_chip *girq; in idio_16_probe() local
338 girq = &idio16gpio->chip.irq; in idio_16_probe()
339 girq->chip = &idio_16_irqchip; in idio_16_probe()
341 girq->parent_handler = NULL; in idio_16_probe()
342 girq->num_parents = 0; in idio_16_probe()
343 girq->parents = NULL; in idio_16_probe()
344 girq->default_type = IRQ_TYPE_NONE; in idio_16_probe()
345 girq->handler = handle_edge_irq; in idio_16_probe()
346 girq->init_hw = idio_16_irq_init_hw; in idio_16_probe()
Dgpio-crystalcove.c333 struct gpio_irq_chip *girq; in crystalcove_gpio_probe() local
357 girq = &cg->chip.irq; in crystalcove_gpio_probe()
358 girq->chip = &crystalcove_irqchip; in crystalcove_gpio_probe()
360 girq->parent_handler = NULL; in crystalcove_gpio_probe()
361 girq->num_parents = 0; in crystalcove_gpio_probe()
362 girq->parents = NULL; in crystalcove_gpio_probe()
363 girq->default_type = IRQ_TYPE_NONE; in crystalcove_gpio_probe()
364 girq->handler = handle_simple_irq; in crystalcove_gpio_probe()
365 girq->threaded = true; in crystalcove_gpio_probe()
Dgpio-pl061.c290 struct gpio_irq_chip *girq; in pl061_probe() local
331 girq = &pl061->gc.irq; in pl061_probe()
332 girq->chip = &pl061->irq_chip; in pl061_probe()
333 girq->parent_handler = pl061_irq_handler; in pl061_probe()
334 girq->num_parents = 1; in pl061_probe()
335 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in pl061_probe()
337 if (!girq->parents) in pl061_probe()
339 girq->parents[0] = irq; in pl061_probe()
340 girq->default_type = IRQ_TYPE_NONE; in pl061_probe()
341 girq->handler = handle_bad_irq; in pl061_probe()
Dgpio-pcf857x.c339 struct gpio_irq_chip *girq; in pcf857x_probe() local
358 girq = &gpio->chip.irq; in pcf857x_probe()
359 girq->chip = &gpio->irqchip; in pcf857x_probe()
361 girq->parent_handler = NULL; in pcf857x_probe()
362 girq->num_parents = 0; in pcf857x_probe()
363 girq->parents = NULL; in pcf857x_probe()
364 girq->default_type = IRQ_TYPE_NONE; in pcf857x_probe()
365 girq->handler = handle_level_irq; in pcf857x_probe()
366 girq->threaded = true; in pcf857x_probe()
Dgpio-adp5588.c292 struct gpio_irq_chip *girq; in adp5588_irq_setup() local
310 girq = &dev->gpio_chip.irq; in adp5588_irq_setup()
311 girq->chip = &adp5588_irq_chip; in adp5588_irq_setup()
313 girq->parent_handler = NULL; in adp5588_irq_setup()
314 girq->num_parents = 0; in adp5588_irq_setup()
315 girq->parents = NULL; in adp5588_irq_setup()
316 girq->first = pdata ? pdata->irq_base : 0; in adp5588_irq_setup()
317 girq->default_type = IRQ_TYPE_NONE; in adp5588_irq_setup()
318 girq->handler = handle_simple_irq; in adp5588_irq_setup()
319 girq->init_hw = adp5588_irq_init_hw; in adp5588_irq_setup()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_int0002_vgpio.c172 struct gpio_irq_chip *girq; in int0002_probe() local
216 girq = &chip->irq; in int0002_probe()
217 girq->chip = &int0002_irqchip; in int0002_probe()
219 girq->parent_handler = NULL; in int0002_probe()
220 girq->num_parents = 0; in int0002_probe()
221 girq->parents = NULL; in int0002_probe()
222 girq->default_type = IRQ_TYPE_NONE; in int0002_probe()
223 girq->handler = handle_edge_irq; in int0002_probe()
/kernel/linux/linux-5.10/drivers/bcma/
Ddriver_gpio.c125 struct gpio_irq_chip *girq = &chip->irq; in bcma_gpio_irq_init() local
140 girq->chip = &bcma_gpio_irq_chip; in bcma_gpio_irq_init()
142 girq->parent_handler = NULL; in bcma_gpio_irq_init()
143 girq->num_parents = 0; in bcma_gpio_irq_init()
144 girq->parents = NULL; in bcma_gpio_irq_init()
145 girq->default_type = IRQ_TYPE_NONE; in bcma_gpio_irq_init()
146 girq->handler = handle_simple_irq; in bcma_gpio_irq_init()

1234