Searched refs:girq (Results 1 - 25 of 90) sorted by relevance

1234

/linux-master/drivers/gpio/
H A Dgpio-ep93xx.c354 struct gpio_irq_chip *girq; local
364 girq = &gc->irq;
373 gpio_irq_chip_set_chip(girq, &gpio_eic_irq_chip);
379 girq->parent_handler = ep93xx_gpio_ab_irq_handler;
380 girq->num_parents = 1;
381 girq->parents = devm_kcalloc(dev, girq->num_parents,
382 sizeof(*girq->parents),
384 if (!girq->parents)
386 girq
[all...]
H A Dgpio-idt3243x.c138 struct gpio_irq_chip *girq; local
175 girq = &ctrl->gc.irq;
176 gpio_irq_chip_set_chip(girq, &idt_gpio_irqchip);
177 girq->init_hw = idt_gpio_irq_init_hw;
178 girq->parent_handler = idt_gpio_dispatch;
179 girq->num_parents = 1;
180 girq->parents = devm_kcalloc(dev, girq->num_parents,
181 sizeof(*girq->parents),
183 if (!girq
[all...]
H A Dgpio-rda.c212 struct gpio_irq_chip *girq; local
255 girq = &rda_gpio->chip.irq;
256 gpio_irq_chip_set_chip(girq, &rda_gpio_irq_chip);
257 girq->handler = handle_bad_irq;
258 girq->default_type = IRQ_TYPE_NONE;
259 girq->parent_handler = rda_gpio_irq_handler;
260 girq->parent_handler_data = rda_gpio;
261 girq->num_parents = 1;
262 girq->parents = devm_kcalloc(dev, 1,
263 sizeof(*girq
[all...]
H A Dgpio-tqmx86.c252 struct gpio_irq_chip *girq; local
305 girq = &chip->irq;
306 gpio_irq_chip_set_chip(girq, &tqmx86_gpio_irq_chip);
307 girq->parent_handler = tqmx86_gpio_irq_handler;
308 girq->num_parents = 1;
309 girq->parents = devm_kcalloc(&pdev->dev, 1,
310 sizeof(*girq->parents),
312 if (!girq->parents) {
316 girq->parents[0] = irq;
317 girq
[all...]
H A Dgpio-xlp.c244 struct gpio_irq_chip *girq; local
284 girq = &gc->irq;
285 gpio_irq_chip_set_chip(girq, &xlp_gpio_irq_chip);
286 girq->parent_handler = xlp_gpio_generic_handler;
287 girq->num_parents = 1;
288 girq->parents = devm_kcalloc(&pdev->dev, 1,
289 sizeof(*girq->parents),
291 if (!girq->parents)
293 girq->parents[0] = irq;
294 girq
[all...]
H A Dgpio-altera.c252 struct gpio_irq_chip *girq; local
292 girq = &altera_gc->mmchip.gc.irq;
293 gpio_irq_chip_set_chip(girq, &altera_gpio_irq_chip);
296 girq->parent_handler = altera_gpio_irq_leveL_high_handler;
298 girq->parent_handler = altera_gpio_irq_edge_handler;
299 girq->num_parents = 1;
300 girq->parents = devm_kcalloc(&pdev->dev, 1, sizeof(*girq->parents),
302 if (!girq->parents)
304 girq
[all...]
H A Dgpio-visconti.c162 struct gpio_irq_chip *girq; local
203 girq = &priv->gpio_chip.irq;
204 gpio_irq_chip_set_chip(girq, &visconti_gpio_irq_chip);
205 girq->fwnode = of_node_to_fwnode(dev->of_node);
206 girq->parent_domain = parent;
207 girq->child_to_parent_hwirq = visconti_gpio_child_to_parent_hwirq;
208 girq->populate_parent_alloc_arg = visconti_gpio_populate_parent_fwspec;
209 girq->default_type = IRQ_TYPE_NONE;
210 girq->handler = handle_level_irq;
H A Dgpio-hlwd.c276 struct gpio_irq_chip *girq; local
285 girq = &hlwd->gpioc.irq;
286 gpio_irq_chip_set_chip(girq, &hlwd_gpio_irq_chip);
287 girq->parent_handler = hlwd_gpio_irqhandler;
288 girq->num_parents = 1;
289 girq->parents = devm_kcalloc(&pdev->dev, 1,
290 sizeof(*girq->parents),
292 if (!girq->parents)
294 girq->parents[0] = hlwd->irq;
295 girq
[all...]
H A Dgpio-ath79.c231 struct gpio_irq_chip *girq; local
281 girq = &ctrl->gc.irq;
282 gpio_irq_chip_set_chip(girq, &ath79_gpio_irqchip);
283 girq->parent_handler = ath79_gpio_irq_handler;
284 girq->num_parents = 1;
285 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents),
287 if (!girq->parents)
289 girq->parents[0] = platform_get_irq(pdev, 0);
290 girq
[all...]
H A Dgpio-cadence.c226 struct gpio_irq_chip *girq; local
228 girq = &cgpio->gc.irq;
229 gpio_irq_chip_set_chip(girq, &cdns_gpio_irqchip);
230 girq->parent_handler = cdns_gpio_irq_handler;
231 girq->num_parents = 1;
232 girq->parents = devm_kcalloc(&pdev->dev, 1,
233 sizeof(*girq->parents),
235 if (!girq->parents) {
239 girq->parents[0] = irq;
240 girq
[all...]
H A Dgpio-ftgpio010.c238 struct gpio_irq_chip *girq; local
290 girq = &g->gc.irq;
291 gpio_irq_chip_set_chip(girq, &ftgpio_irq_chip);
292 girq->parent_handler = ftgpio_gpio_irq_handler;
293 girq->num_parents = 1;
294 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents),
296 if (!girq->parents) {
300 girq->default_type = IRQ_TYPE_NONE;
301 girq
[all...]
H A Dgpio-ixp4xx.c215 struct gpio_irq_chip *girq; local
323 girq = &g->gc.irq;
324 gpio_irq_chip_set_chip(girq, &ixp4xx_gpio_irqchip);
325 girq->fwnode = g->fwnode;
326 girq->parent_domain = parent;
327 girq->child_to_parent_hwirq = ixp4xx_gpio_child_to_parent_hwirq;
328 girq->handler = handle_bad_irq;
329 girq->default_type = IRQ_TYPE_NONE;
H A Dgpio-mlxbf3.c187 struct gpio_irq_chip *girq; local
228 girq = &gs->gc.irq;
229 gpio_irq_chip_set_chip(girq, &gpio_mlxbf3_irqchip);
230 girq->default_type = IRQ_TYPE_NONE;
232 girq->num_parents = 0;
233 girq->parents = NULL;
234 girq->parent_handler = NULL;
235 girq->handler = handle_bad_irq;
H A Dgpio-max77620.c294 struct gpio_irq_chip *girq; local
323 girq = &mgpio->gpio_chip.irq;
324 gpio_irq_chip_set_chip(girq, &max77620_gpio_irqchip);
326 girq->parent_handler = NULL;
327 girq->num_parents = 0;
328 girq->parents = NULL;
329 girq->default_type = IRQ_TYPE_NONE;
330 girq->handler = handle_edge_irq;
331 girq->init_hw = max77620_gpio_irq_init_hw;
332 girq
[all...]
H A Dgpio-realtek-otto.c362 struct gpio_irq_chip *girq; local
416 girq = &ctrl->gc.irq;
417 gpio_irq_chip_set_chip(girq, &realtek_gpio_irq_chip);
418 girq->default_type = IRQ_TYPE_NONE;
419 girq->handler = handle_bad_irq;
420 girq->parent_handler = realtek_gpio_irq_handler;
421 girq->num_parents = 1;
422 girq->parents = devm_kcalloc(dev, girq->num_parents,
423 sizeof(*girq
[all...]
H A Dgpio-pcf857x.c373 struct gpio_irq_chip *girq; local
382 girq = &gpio->chip.irq;
383 gpio_irq_chip_set_chip(girq, &pcf857x_irq_chip);
385 girq->parent_handler = NULL;
386 girq->num_parents = 0;
387 girq->parents = NULL;
388 girq->default_type = IRQ_TYPE_NONE;
389 girq->handler = handle_level_irq;
390 girq->threaded = true;
H A Dgpio-crystalcove.c337 struct gpio_irq_chip *girq; local
359 girq = &cg->chip.irq;
360 gpio_irq_chip_set_chip(girq, &crystalcove_irqchip);
362 girq->parent_handler = NULL;
363 girq->num_parents = 0;
364 girq->parents = NULL;
365 girq->default_type = IRQ_TYPE_NONE;
366 girq->handler = handle_simple_irq;
367 girq->threaded = true;
H A Dgpio-pl061.c312 struct gpio_irq_chip *girq; local
346 girq = &pl061->gc.irq;
347 gpio_irq_chip_set_chip(girq, &pl061_irq_chip);
348 girq->parent_handler = pl061_irq_handler;
349 girq->num_parents = 1;
350 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents),
352 if (!girq->parents)
354 girq->parents[0] = irq;
355 girq
[all...]
H A Dgpio-vf610.c278 struct gpio_irq_chip *girq; local
373 girq = &gc->irq;
374 gpio_irq_chip_set_chip(girq, &vf610_irqchip);
375 girq->parent_handler = vf610_gpio_irq_handler;
376 girq->num_parents = 1;
377 girq->parents = devm_kcalloc(&pdev->dev, 1,
378 sizeof(*girq->parents),
380 if (!girq->parents)
382 girq->parents[0] = port->irq;
383 girq
[all...]
H A Dgpio-mt7621.c256 struct gpio_irq_chip *girq; local
272 girq = &rg->chip.irq;
273 gpio_irq_chip_set_chip(girq, &mt7621_irq_chip);
275 girq->parent_handler = NULL;
276 girq->num_parents = 0;
277 girq->parents = NULL;
278 girq->default_type = IRQ_TYPE_NONE;
279 girq->handler = handle_simple_irq;
H A Dgpio-xgs-iproc.c252 struct gpio_irq_chip *girq; local
275 girq = &chip->gc.irq;
276 gpio_irq_chip_set_chip(girq, &iproc_gpio_irq_chip);
278 girq->parent_handler = NULL;
279 girq->num_parents = 0;
280 girq->parents = NULL;
281 girq->default_type = IRQ_TYPE_NONE;
282 girq->handler = handle_simple_irq;
H A Dgpio-sifive.c185 struct gpio_irq_chip *girq; local
245 girq = &chip->gc.irq;
246 gpio_irq_chip_set_chip(girq, &sifive_gpio_irqchip);
247 girq->fwnode = dev_fwnode(dev);
248 girq->parent_domain = parent;
249 girq->child_to_parent_hwirq = sifive_gpio_child_to_parent_hwirq;
250 girq->handler = handle_bad_irq;
251 girq->default_type = IRQ_TYPE_NONE;
/linux-master/drivers/platform/x86/intel/
H A Dint0002_vgpio.c162 struct gpio_irq_chip *girq; local
205 girq = &chip->irq;
206 girq->chip = &int0002_irqchip;
208 girq->parent_handler = NULL;
209 girq->num_parents = 0;
210 girq->parents = NULL;
211 girq->default_type = IRQ_TYPE_NONE;
212 girq->handler = handle_edge_irq;
/linux-master/drivers/bcma/
H A Ddriver_gpio.c131 struct gpio_irq_chip *girq = &chip->irq; local
146 gpio_irq_chip_set_chip(girq, &bcma_gpio_irq_chip);
148 girq->parent_handler = NULL;
149 girq->num_parents = 0;
150 girq->parents = NULL;
151 girq->default_type = IRQ_TYPE_NONE;
152 girq->handler = handle_simple_irq;
/linux-master/drivers/pinctrl/
H A Dpinctrl-apple-gpio.c368 struct gpio_irq_chip *girq = &pctl->gpio_chip.irq; local
384 if (girq->num_parents) {
387 gpio_irq_chip_set_chip(girq, &apple_gpio_irqchip);
388 girq->parent_handler = apple_gpio_irq_handler;
390 girq->parents = kmalloc_array(girq->num_parents,
391 sizeof(*girq->parents),
393 irq_data = kmalloc_array(girq->num_parents, sizeof(*irq_data),
395 if (!girq->parents || !irq_data) {
400 for (i = 0; i < girq
[all...]

Completed in 221 milliseconds

1234