Home
last modified time | relevance | path

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

1234

/linux/drivers/gpio/
A Dgpio-ep93xx.c341 struct gpio_irq_chip *girq; in ep93xx_gpio_add_bank() local
351 girq = &gc->irq; in ep93xx_gpio_add_bank()
367 girq->chip = ic; in ep93xx_gpio_add_bank()
374 girq->num_parents = 1; in ep93xx_gpio_add_bank()
375 girq->parents = devm_kcalloc(dev, girq->num_parents, in ep93xx_gpio_add_bank()
378 if (!girq->parents) in ep93xx_gpio_add_bank()
383 girq->first = bank->irq_base; in ep93xx_gpio_add_bank()
396 girq->num_parents = 8; in ep93xx_gpio_add_bank()
397 girq->parents = devm_kcalloc(dev, girq->num_parents, in ep93xx_gpio_add_bank()
400 if (!girq->parents) in ep93xx_gpio_add_bank()
[all …]
A Dgpio-idt3243x.c133 struct gpio_irq_chip *girq; in idt_gpio_probe() local
170 girq = &ctrl->gc.irq; in idt_gpio_probe()
171 girq->chip = &idt_gpio_irqchip; in idt_gpio_probe()
172 girq->init_hw = idt_gpio_irq_init_hw; in idt_gpio_probe()
174 girq->num_parents = 1; in idt_gpio_probe()
175 girq->parents = devm_kcalloc(dev, girq->num_parents, in idt_gpio_probe()
176 sizeof(*girq->parents), in idt_gpio_probe()
178 if (!girq->parents) in idt_gpio_probe()
181 girq->parents[0] = parent_irq; in idt_gpio_probe()
182 girq->default_type = IRQ_TYPE_NONE; in idt_gpio_probe()
[all …]
A Dgpio-realtek-otto.c254 struct gpio_irq_chip *girq; in realtek_gpio_probe() local
294 girq = &ctrl->gc.irq; in realtek_gpio_probe()
295 girq->chip = &realtek_gpio_irq_chip; in realtek_gpio_probe()
296 girq->default_type = IRQ_TYPE_NONE; in realtek_gpio_probe()
297 girq->handler = handle_bad_irq; in realtek_gpio_probe()
299 girq->num_parents = 1; in realtek_gpio_probe()
300 girq->parents = devm_kcalloc(dev, girq->num_parents, in realtek_gpio_probe()
301 sizeof(*girq->parents), GFP_KERNEL); in realtek_gpio_probe()
302 if (!girq->parents) in realtek_gpio_probe()
304 girq->parents[0] = irq; in realtek_gpio_probe()
[all …]
A Dgpio-visconti.c130 struct gpio_irq_chip *girq; in visconti_gpio_probe() local
181 girq = &priv->gpio_chip.irq; in visconti_gpio_probe()
182 girq->chip = irq_chip; in visconti_gpio_probe()
183 girq->fwnode = fwnode; in visconti_gpio_probe()
184 girq->parent_domain = parent; in visconti_gpio_probe()
185 girq->child_to_parent_hwirq = visconti_gpio_child_to_parent_hwirq; in visconti_gpio_probe()
186 girq->populate_parent_alloc_arg = visconti_gpio_populate_parent_fwspec; in visconti_gpio_probe()
187 girq->default_type = IRQ_TYPE_NONE; in visconti_gpio_probe()
188 girq->handler = handle_level_irq; in visconti_gpio_probe()
A Dgpio-rda.c202 struct gpio_irq_chip *girq; in rda_gpio_probe() local
254 girq = &rda_gpio->chip.irq; in rda_gpio_probe()
255 girq->chip = &rda_gpio->irq_chip; in rda_gpio_probe()
256 girq->handler = handle_bad_irq; in rda_gpio_probe()
257 girq->default_type = IRQ_TYPE_NONE; in rda_gpio_probe()
259 girq->parent_handler_data = rda_gpio; in rda_gpio_probe()
260 girq->num_parents = 1; in rda_gpio_probe()
261 girq->parents = devm_kcalloc(dev, 1, in rda_gpio_probe()
262 sizeof(*girq->parents), in rda_gpio_probe()
264 if (!girq->parents) in rda_gpio_probe()
[all …]
A Dgpio-tqmx86.c234 struct gpio_irq_chip *girq; in tqmx86_gpio_probe() local
296 girq = &chip->irq; in tqmx86_gpio_probe()
297 girq->chip = irq_chip; in tqmx86_gpio_probe()
298 girq->parent_handler = tqmx86_gpio_irq_handler; in tqmx86_gpio_probe()
299 girq->num_parents = 1; in tqmx86_gpio_probe()
300 girq->parents = devm_kcalloc(&pdev->dev, 1, in tqmx86_gpio_probe()
301 sizeof(*girq->parents), in tqmx86_gpio_probe()
303 if (!girq->parents) { in tqmx86_gpio_probe()
307 girq->parents[0] = irq; in tqmx86_gpio_probe()
308 girq->default_type = IRQ_TYPE_NONE; in tqmx86_gpio_probe()
[all …]
A Dgpio-ath79.c226 struct gpio_irq_chip *girq; in ath79_gpio_probe() local
276 girq = &ctrl->gc.irq; in ath79_gpio_probe()
277 girq->chip = &ath79_gpio_irqchip; in ath79_gpio_probe()
278 girq->parent_handler = ath79_gpio_irq_handler; in ath79_gpio_probe()
279 girq->num_parents = 1; in ath79_gpio_probe()
280 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ath79_gpio_probe()
282 if (!girq->parents) in ath79_gpio_probe()
284 girq->parents[0] = platform_get_irq(pdev, 0); in ath79_gpio_probe()
285 girq->default_type = IRQ_TYPE_NONE; in ath79_gpio_probe()
286 girq->handler = handle_simple_irq; in ath79_gpio_probe()
A 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 …]
A Dgpio-hlwd.c253 struct gpio_irq_chip *girq; in hlwd_gpio_probe() local
268 girq = &hlwd->gpioc.irq; in hlwd_gpio_probe()
269 girq->chip = &hlwd->irqc; in hlwd_gpio_probe()
270 girq->parent_handler = hlwd_gpio_irqhandler; in hlwd_gpio_probe()
271 girq->num_parents = 1; in hlwd_gpio_probe()
272 girq->parents = devm_kcalloc(&pdev->dev, 1, in hlwd_gpio_probe()
273 sizeof(*girq->parents), in hlwd_gpio_probe()
275 if (!girq->parents) in hlwd_gpio_probe()
277 girq->parents[0] = hlwd->irq; in hlwd_gpio_probe()
278 girq->default_type = IRQ_TYPE_NONE; in hlwd_gpio_probe()
[all …]
A Dgpio-altera.c241 struct gpio_irq_chip *girq; in altera_gpio_probe() local
288 girq = &altera_gc->mmchip.gc.irq; in altera_gpio_probe()
289 girq->chip = &altera_gc->irq_chip; in altera_gpio_probe()
291 girq->parent_handler = altera_gpio_irq_leveL_high_handler; in altera_gpio_probe()
293 girq->parent_handler = altera_gpio_irq_edge_handler; in altera_gpio_probe()
294 girq->num_parents = 1; in altera_gpio_probe()
295 girq->parents = devm_kcalloc(&pdev->dev, 1, sizeof(*girq->parents), in altera_gpio_probe()
297 if (!girq->parents) in altera_gpio_probe()
299 girq->default_type = IRQ_TYPE_NONE; in altera_gpio_probe()
300 girq->handler = handle_bad_irq; in altera_gpio_probe()
[all …]
A Dgpio-ftgpio010.c228 struct gpio_irq_chip *girq; in ftgpio_gpio_probe() local
286 girq = &g->gc.irq; in ftgpio_gpio_probe()
287 girq->chip = &g->irq; in ftgpio_gpio_probe()
288 girq->parent_handler = ftgpio_gpio_irq_handler; in ftgpio_gpio_probe()
289 girq->num_parents = 1; in ftgpio_gpio_probe()
290 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ftgpio_gpio_probe()
292 if (!girq->parents) { in ftgpio_gpio_probe()
296 girq->default_type = IRQ_TYPE_NONE; in ftgpio_gpio_probe()
297 girq->handler = handle_bad_irq; in ftgpio_gpio_probe()
298 girq->parents[0] = irq; in ftgpio_gpio_probe()
A 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 …]
A Dgpio-xlp.c292 struct gpio_irq_chip *girq; in xlp_gpio_probe() local
398 girq = &gc->irq; in xlp_gpio_probe()
399 girq->chip = &xlp_gpio_irq_chip; in xlp_gpio_probe()
401 girq->num_parents = 1; in xlp_gpio_probe()
402 girq->parents = devm_kcalloc(&pdev->dev, 1, in xlp_gpio_probe()
403 sizeof(*girq->parents), in xlp_gpio_probe()
405 if (!girq->parents) in xlp_gpio_probe()
407 girq->parents[0] = irq; in xlp_gpio_probe()
408 girq->first = irq_base; in xlp_gpio_probe()
409 girq->default_type = IRQ_TYPE_NONE; in xlp_gpio_probe()
[all …]
A Dgpio-104-idi-48.c263 struct gpio_irq_chip *girq; in idi_48_probe() local
288 girq = &idi48gpio->chip.irq; in idi_48_probe()
289 girq->chip = &idi_48_irqchip; in idi_48_probe()
291 girq->parent_handler = NULL; in idi_48_probe()
292 girq->num_parents = 0; in idi_48_probe()
293 girq->parents = NULL; in idi_48_probe()
294 girq->default_type = IRQ_TYPE_NONE; in idi_48_probe()
295 girq->handler = handle_edge_irq; in idi_48_probe()
296 girq->init_hw = idi_48_irq_init_hw; in idi_48_probe()
A Dgpio-104-idio-16.c245 struct gpio_irq_chip *girq; in idio_16_probe() local
274 girq = &idio16gpio->chip.irq; in idio_16_probe()
275 girq->chip = &idio_16_irqchip; in idio_16_probe()
277 girq->parent_handler = NULL; in idio_16_probe()
278 girq->num_parents = 0; in idio_16_probe()
279 girq->parents = NULL; in idio_16_probe()
280 girq->default_type = IRQ_TYPE_NONE; in idio_16_probe()
281 girq->handler = handle_edge_irq; in idio_16_probe()
282 girq->init_hw = idio_16_irq_init_hw; in idio_16_probe()
A 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()
A Dgpio-merrifield.c429 struct gpio_irq_chip *girq; in mrfld_gpio_probe() local
481 girq = &priv->chip.irq; in mrfld_gpio_probe()
482 girq->chip = &mrfld_irqchip; in mrfld_gpio_probe()
483 girq->init_hw = mrfld_irq_init_hw; in mrfld_gpio_probe()
484 girq->parent_handler = mrfld_irq_handler; in mrfld_gpio_probe()
485 girq->num_parents = 1; in mrfld_gpio_probe()
486 girq->parents = devm_kcalloc(&pdev->dev, girq->num_parents, in mrfld_gpio_probe()
488 if (!girq->parents) in mrfld_gpio_probe()
491 girq->first = irq_base; in mrfld_gpio_probe()
492 girq->default_type = IRQ_TYPE_NONE; in mrfld_gpio_probe()
[all …]
A 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()
A Dgpio-crystalcove.c333 struct gpio_irq_chip *girq; in crystalcove_gpio_probe() local
355 girq = &cg->chip.irq; in crystalcove_gpio_probe()
356 girq->chip = &crystalcove_irqchip; in crystalcove_gpio_probe()
358 girq->parent_handler = NULL; in crystalcove_gpio_probe()
359 girq->num_parents = 0; in crystalcove_gpio_probe()
360 girq->parents = NULL; in crystalcove_gpio_probe()
361 girq->default_type = IRQ_TYPE_NONE; in crystalcove_gpio_probe()
362 girq->handler = handle_simple_irq; in crystalcove_gpio_probe()
363 girq->threaded = true; in crystalcove_gpio_probe()
A 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()
A 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()
A 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 …]
/linux/drivers/pinctrl/
A Dpinctrl-apple-gpio.c388 if (girq->num_parents) { in apple_gpio_register()
391 girq->chip = &pctl->irq_chip; in apple_gpio_register()
394 girq->parents = kmalloc_array(girq->num_parents, in apple_gpio_register()
395 sizeof(*girq->parents), in apple_gpio_register()
399 if (!girq->parents || !irq_data) { in apple_gpio_register()
404 for (i = 0; i < girq->num_parents; i++) { in apple_gpio_register()
410 girq->parents[i] = ret; in apple_gpio_register()
416 girq->per_parent_data = true; in apple_gpio_register()
417 girq->default_type = IRQ_TYPE_NONE; in apple_gpio_register()
418 girq->handler = handle_level_irq; in apple_gpio_register()
[all …]
/linux/drivers/platform/x86/intel/
A Dint0002_vgpio.c163 struct gpio_irq_chip *girq; in int0002_probe() local
206 girq = &chip->irq; in int0002_probe()
207 girq->chip = &int0002_irqchip; in int0002_probe()
209 girq->parent_handler = NULL; in int0002_probe()
210 girq->num_parents = 0; in int0002_probe()
211 girq->parents = NULL; in int0002_probe()
212 girq->default_type = IRQ_TYPE_NONE; in int0002_probe()
213 girq->handler = handle_edge_irq; in int0002_probe()
/linux/drivers/bcma/
A 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()

Completed in 40 milliseconds

1234