/linux-6.6.21/drivers/gpio/ |
D | gpio-ep93xx.c | 354 struct gpio_irq_chip *girq; in ep93xx_gpio_add_bank() local 364 girq = &gc->irq; in ep93xx_gpio_add_bank() 373 gpio_irq_chip_set_chip(girq, &gpio_eic_irq_chip); in ep93xx_gpio_add_bank() 379 girq->parent_handler = ep93xx_gpio_ab_irq_handler; in ep93xx_gpio_add_bank() 380 girq->num_parents = 1; in ep93xx_gpio_add_bank() 381 girq->parents = devm_kcalloc(dev, girq->num_parents, in ep93xx_gpio_add_bank() 382 sizeof(*girq->parents), in ep93xx_gpio_add_bank() 384 if (!girq->parents) in ep93xx_gpio_add_bank() 386 girq->default_type = IRQ_TYPE_NONE; in ep93xx_gpio_add_bank() 387 girq->handler = handle_level_irq; in ep93xx_gpio_add_bank() [all …]
|
D | gpio-idt3243x.c | 138 struct gpio_irq_chip *girq; in idt_gpio_probe() local 175 girq = &ctrl->gc.irq; in idt_gpio_probe() 176 gpio_irq_chip_set_chip(girq, &idt_gpio_irqchip); in idt_gpio_probe() 177 girq->init_hw = idt_gpio_irq_init_hw; in idt_gpio_probe() 178 girq->parent_handler = idt_gpio_dispatch; in idt_gpio_probe() 179 girq->num_parents = 1; in idt_gpio_probe() 180 girq->parents = devm_kcalloc(dev, girq->num_parents, in idt_gpio_probe() 181 sizeof(*girq->parents), in idt_gpio_probe() 183 if (!girq->parents) in idt_gpio_probe() 186 girq->parents[0] = parent_irq; in idt_gpio_probe() [all …]
|
D | gpio-rda.c | 212 struct gpio_irq_chip *girq; in rda_gpio_probe() local 255 girq = &rda_gpio->chip.irq; in rda_gpio_probe() 256 gpio_irq_chip_set_chip(girq, &rda_gpio_irq_chip); in rda_gpio_probe() 257 girq->handler = handle_bad_irq; in rda_gpio_probe() 258 girq->default_type = IRQ_TYPE_NONE; in rda_gpio_probe() 259 girq->parent_handler = rda_gpio_irq_handler; in rda_gpio_probe() 260 girq->parent_handler_data = rda_gpio; in rda_gpio_probe() 261 girq->num_parents = 1; in rda_gpio_probe() 262 girq->parents = devm_kcalloc(dev, 1, in rda_gpio_probe() 263 sizeof(*girq->parents), in rda_gpio_probe() [all …]
|
D | gpio-tqmx86.c | 252 struct gpio_irq_chip *girq; in tqmx86_gpio_probe() local 305 girq = &chip->irq; in tqmx86_gpio_probe() 306 gpio_irq_chip_set_chip(girq, &tqmx86_gpio_irq_chip); in tqmx86_gpio_probe() 307 girq->parent_handler = tqmx86_gpio_irq_handler; in tqmx86_gpio_probe() 308 girq->num_parents = 1; in tqmx86_gpio_probe() 309 girq->parents = devm_kcalloc(&pdev->dev, 1, in tqmx86_gpio_probe() 310 sizeof(*girq->parents), in tqmx86_gpio_probe() 312 if (!girq->parents) { in tqmx86_gpio_probe() 316 girq->parents[0] = irq; in tqmx86_gpio_probe() 317 girq->default_type = IRQ_TYPE_NONE; in tqmx86_gpio_probe() [all …]
|
D | gpio-visconti.c | 162 struct gpio_irq_chip *girq; in visconti_gpio_probe() local 203 girq = &priv->gpio_chip.irq; in visconti_gpio_probe() 204 gpio_irq_chip_set_chip(girq, &visconti_gpio_irq_chip); in visconti_gpio_probe() 205 girq->fwnode = of_node_to_fwnode(dev->of_node); in visconti_gpio_probe() 206 girq->parent_domain = parent; in visconti_gpio_probe() 207 girq->child_to_parent_hwirq = visconti_gpio_child_to_parent_hwirq; in visconti_gpio_probe() 208 girq->populate_parent_alloc_arg = visconti_gpio_populate_parent_fwspec; in visconti_gpio_probe() 209 girq->default_type = IRQ_TYPE_NONE; in visconti_gpio_probe() 210 girq->handler = handle_level_irq; in visconti_gpio_probe()
|
D | gpio-cadence.c | 226 struct gpio_irq_chip *girq; in cdns_gpio_probe() local 228 girq = &cgpio->gc.irq; in cdns_gpio_probe() 229 gpio_irq_chip_set_chip(girq, &cdns_gpio_irqchip); in cdns_gpio_probe() 230 girq->parent_handler = cdns_gpio_irq_handler; in cdns_gpio_probe() 231 girq->num_parents = 1; in cdns_gpio_probe() 232 girq->parents = devm_kcalloc(&pdev->dev, 1, in cdns_gpio_probe() 233 sizeof(*girq->parents), in cdns_gpio_probe() 235 if (!girq->parents) { in cdns_gpio_probe() 239 girq->parents[0] = irq; in cdns_gpio_probe() 240 girq->default_type = IRQ_TYPE_NONE; in cdns_gpio_probe() [all …]
|
D | gpio-xlp.c | 244 struct gpio_irq_chip *girq; in xlp_gpio_probe() local 284 girq = &gc->irq; in xlp_gpio_probe() 285 gpio_irq_chip_set_chip(girq, &xlp_gpio_irq_chip); in xlp_gpio_probe() 286 girq->parent_handler = xlp_gpio_generic_handler; in xlp_gpio_probe() 287 girq->num_parents = 1; in xlp_gpio_probe() 288 girq->parents = devm_kcalloc(&pdev->dev, 1, in xlp_gpio_probe() 289 sizeof(*girq->parents), in xlp_gpio_probe() 291 if (!girq->parents) in xlp_gpio_probe() 293 girq->parents[0] = irq; in xlp_gpio_probe() 294 girq->first = 0; in xlp_gpio_probe() [all …]
|
D | gpio-realtek-otto.c | 362 struct gpio_irq_chip *girq; in realtek_gpio_probe() local 416 girq = &ctrl->gc.irq; in realtek_gpio_probe() 417 gpio_irq_chip_set_chip(girq, &realtek_gpio_irq_chip); in realtek_gpio_probe() 418 girq->default_type = IRQ_TYPE_NONE; in realtek_gpio_probe() 419 girq->handler = handle_bad_irq; in realtek_gpio_probe() 420 girq->parent_handler = realtek_gpio_irq_handler; in realtek_gpio_probe() 421 girq->num_parents = 1; in realtek_gpio_probe() 422 girq->parents = devm_kcalloc(dev, girq->num_parents, in realtek_gpio_probe() 423 sizeof(*girq->parents), GFP_KERNEL); in realtek_gpio_probe() 424 if (!girq->parents) in realtek_gpio_probe() [all …]
|
D | gpio-ath79.c | 231 struct gpio_irq_chip *girq; in ath79_gpio_probe() local 281 girq = &ctrl->gc.irq; in ath79_gpio_probe() 282 gpio_irq_chip_set_chip(girq, &ath79_gpio_irqchip); in ath79_gpio_probe() 283 girq->parent_handler = ath79_gpio_irq_handler; in ath79_gpio_probe() 284 girq->num_parents = 1; in ath79_gpio_probe() 285 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ath79_gpio_probe() 287 if (!girq->parents) in ath79_gpio_probe() 289 girq->parents[0] = platform_get_irq(pdev, 0); in ath79_gpio_probe() 290 girq->default_type = IRQ_TYPE_NONE; in ath79_gpio_probe() 291 girq->handler = handle_simple_irq; in ath79_gpio_probe()
|
D | gpio-altera.c | 252 struct gpio_irq_chip *girq; in altera_gpio_probe() local 292 girq = &altera_gc->mmchip.gc.irq; in altera_gpio_probe() 293 gpio_irq_chip_set_chip(girq, &altera_gpio_irq_chip); in altera_gpio_probe() 296 girq->parent_handler = altera_gpio_irq_leveL_high_handler; in altera_gpio_probe() 298 girq->parent_handler = altera_gpio_irq_edge_handler; in altera_gpio_probe() 299 girq->num_parents = 1; in altera_gpio_probe() 300 girq->parents = devm_kcalloc(&pdev->dev, 1, sizeof(*girq->parents), in altera_gpio_probe() 302 if (!girq->parents) in altera_gpio_probe() 304 girq->default_type = IRQ_TYPE_NONE; in altera_gpio_probe() 305 girq->handler = handle_bad_irq; in altera_gpio_probe() [all …]
|
D | gpio-ftgpio010.c | 238 struct gpio_irq_chip *girq; in ftgpio_gpio_probe() local 290 girq = &g->gc.irq; in ftgpio_gpio_probe() 291 gpio_irq_chip_set_chip(girq, &ftgpio_irq_chip); in ftgpio_gpio_probe() 292 girq->parent_handler = ftgpio_gpio_irq_handler; in ftgpio_gpio_probe() 293 girq->num_parents = 1; in ftgpio_gpio_probe() 294 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ftgpio_gpio_probe() 296 if (!girq->parents) { in ftgpio_gpio_probe() 300 girq->default_type = IRQ_TYPE_NONE; in ftgpio_gpio_probe() 301 girq->handler = handle_bad_irq; in ftgpio_gpio_probe() 302 girq->parents[0] = irq; in ftgpio_gpio_probe()
|
D | gpio-hlwd.c | 276 struct gpio_irq_chip *girq; in hlwd_gpio_probe() local 285 girq = &hlwd->gpioc.irq; in hlwd_gpio_probe() 286 gpio_irq_chip_set_chip(girq, &hlwd_gpio_irq_chip); in hlwd_gpio_probe() 287 girq->parent_handler = hlwd_gpio_irqhandler; in hlwd_gpio_probe() 288 girq->num_parents = 1; in hlwd_gpio_probe() 289 girq->parents = devm_kcalloc(&pdev->dev, 1, in hlwd_gpio_probe() 290 sizeof(*girq->parents), in hlwd_gpio_probe() 292 if (!girq->parents) in hlwd_gpio_probe() 294 girq->parents[0] = hlwd->irq; in hlwd_gpio_probe() 295 girq->default_type = IRQ_TYPE_NONE; in hlwd_gpio_probe() [all …]
|
D | gpio-vf610.c | 264 struct gpio_irq_chip *girq; in vf610_gpio_probe() local 337 girq = &gc->irq; in vf610_gpio_probe() 338 gpio_irq_chip_set_chip(girq, &vf610_irqchip); in vf610_gpio_probe() 339 girq->parent_handler = vf610_gpio_irq_handler; in vf610_gpio_probe() 340 girq->num_parents = 1; in vf610_gpio_probe() 341 girq->parents = devm_kcalloc(&pdev->dev, 1, in vf610_gpio_probe() 342 sizeof(*girq->parents), in vf610_gpio_probe() 344 if (!girq->parents) in vf610_gpio_probe() 346 girq->parents[0] = port->irq; in vf610_gpio_probe() 347 girq->default_type = IRQ_TYPE_NONE; in vf610_gpio_probe() [all …]
|
D | gpio-max77620.c | 294 struct gpio_irq_chip *girq; in max77620_gpio_probe() local 323 girq = &mgpio->gpio_chip.irq; in max77620_gpio_probe() 324 gpio_irq_chip_set_chip(girq, &max77620_gpio_irqchip); in max77620_gpio_probe() 326 girq->parent_handler = NULL; in max77620_gpio_probe() 327 girq->num_parents = 0; in max77620_gpio_probe() 328 girq->parents = NULL; in max77620_gpio_probe() 329 girq->default_type = IRQ_TYPE_NONE; in max77620_gpio_probe() 330 girq->handler = handle_edge_irq; in max77620_gpio_probe() 331 girq->init_hw = max77620_gpio_irq_init_hw; in max77620_gpio_probe() 332 girq->threaded = true; in max77620_gpio_probe()
|
D | gpio-ixp4xx.c | 203 struct gpio_irq_chip *girq; in ixp4xx_gpio_probe() local 274 girq = &g->gc.irq; in ixp4xx_gpio_probe() 275 gpio_irq_chip_set_chip(girq, &ixp4xx_gpio_irqchip); in ixp4xx_gpio_probe() 276 girq->fwnode = g->fwnode; in ixp4xx_gpio_probe() 277 girq->parent_domain = parent; in ixp4xx_gpio_probe() 278 girq->child_to_parent_hwirq = ixp4xx_gpio_child_to_parent_hwirq; in ixp4xx_gpio_probe() 279 girq->handler = handle_bad_irq; in ixp4xx_gpio_probe() 280 girq->default_type = IRQ_TYPE_NONE; in ixp4xx_gpio_probe()
|
D | gpio-mlxbf3.c | 187 struct gpio_irq_chip *girq; in mlxbf3_gpio_probe() local 228 girq = &gs->gc.irq; in mlxbf3_gpio_probe() 229 gpio_irq_chip_set_chip(girq, &gpio_mlxbf3_irqchip); in mlxbf3_gpio_probe() 230 girq->default_type = IRQ_TYPE_NONE; in mlxbf3_gpio_probe() 232 girq->num_parents = 0; in mlxbf3_gpio_probe() 233 girq->parents = NULL; in mlxbf3_gpio_probe() 234 girq->parent_handler = NULL; in mlxbf3_gpio_probe() 235 girq->handler = handle_bad_irq; in mlxbf3_gpio_probe()
|
D | gpio-pcf857x.c | 373 struct gpio_irq_chip *girq; in pcf857x_probe() local 382 girq = &gpio->chip.irq; in pcf857x_probe() 383 gpio_irq_chip_set_chip(girq, &pcf857x_irq_chip); in pcf857x_probe() 385 girq->parent_handler = NULL; in pcf857x_probe() 386 girq->num_parents = 0; in pcf857x_probe() 387 girq->parents = NULL; in pcf857x_probe() 388 girq->default_type = IRQ_TYPE_NONE; in pcf857x_probe() 389 girq->handler = handle_level_irq; in pcf857x_probe() 390 girq->threaded = true; in pcf857x_probe()
|
D | gpio-tangier.c | 433 struct gpio_irq_chip *girq; in devm_tng_gpio_probe() local 457 girq = &gpio->chip.irq; in devm_tng_gpio_probe() 458 gpio_irq_chip_set_chip(girq, &tng_irqchip); in devm_tng_gpio_probe() 459 girq->init_hw = tng_irq_init_hw; in devm_tng_gpio_probe() 460 girq->parent_handler = tng_irq_handler; in devm_tng_gpio_probe() 461 girq->num_parents = 1; in devm_tng_gpio_probe() 462 girq->parents = devm_kcalloc(dev, girq->num_parents, in devm_tng_gpio_probe() 463 sizeof(*girq->parents), GFP_KERNEL); in devm_tng_gpio_probe() 464 if (!girq->parents) in devm_tng_gpio_probe() 467 girq->parents[0] = gpio->irq; in devm_tng_gpio_probe() [all …]
|
D | gpio-sifive.c | 185 struct gpio_irq_chip *girq; in sifive_gpio_probe() local 245 girq = &chip->gc.irq; in sifive_gpio_probe() 246 gpio_irq_chip_set_chip(girq, &sifive_gpio_irqchip); in sifive_gpio_probe() 247 girq->fwnode = dev_fwnode(dev); in sifive_gpio_probe() 248 girq->parent_domain = parent; in sifive_gpio_probe() 249 girq->child_to_parent_hwirq = sifive_gpio_child_to_parent_hwirq; in sifive_gpio_probe() 250 girq->handler = handle_bad_irq; in sifive_gpio_probe() 251 girq->default_type = IRQ_TYPE_NONE; in sifive_gpio_probe()
|
D | gpio-crystalcove.c | 337 struct gpio_irq_chip *girq; in crystalcove_gpio_probe() local 359 girq = &cg->chip.irq; in crystalcove_gpio_probe() 360 gpio_irq_chip_set_chip(girq, &crystalcove_irqchip); in crystalcove_gpio_probe() 362 girq->parent_handler = NULL; in crystalcove_gpio_probe() 363 girq->num_parents = 0; in crystalcove_gpio_probe() 364 girq->parents = NULL; in crystalcove_gpio_probe() 365 girq->default_type = IRQ_TYPE_NONE; in crystalcove_gpio_probe() 366 girq->handler = handle_simple_irq; in crystalcove_gpio_probe() 367 girq->threaded = true; in crystalcove_gpio_probe()
|
D | gpio-pl061.c | 312 struct gpio_irq_chip *girq; in pl061_probe() local 346 girq = &pl061->gc.irq; in pl061_probe() 347 gpio_irq_chip_set_chip(girq, &pl061_irq_chip); in pl061_probe() 348 girq->parent_handler = pl061_irq_handler; in pl061_probe() 349 girq->num_parents = 1; in pl061_probe() 350 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in pl061_probe() 352 if (!girq->parents) in pl061_probe() 354 girq->parents[0] = irq; in pl061_probe() 355 girq->default_type = IRQ_TYPE_NONE; in pl061_probe() 356 girq->handler = handle_bad_irq; in pl061_probe()
|
D | gpio-tc3589x.c | 299 struct gpio_irq_chip *girq; in tc3589x_gpio_probe() local 327 girq = &tc3589x_gpio->chip.irq; in tc3589x_gpio_probe() 328 gpio_irq_chip_set_chip(girq, &tc3589x_gpio_irq_chip); in tc3589x_gpio_probe() 330 girq->parent_handler = NULL; in tc3589x_gpio_probe() 331 girq->num_parents = 0; in tc3589x_gpio_probe() 332 girq->parents = NULL; in tc3589x_gpio_probe() 333 girq->default_type = IRQ_TYPE_NONE; in tc3589x_gpio_probe() 334 girq->handler = handle_simple_irq; in tc3589x_gpio_probe() 335 girq->threaded = true; in tc3589x_gpio_probe()
|
/linux-6.6.21/drivers/platform/x86/intel/ |
D | int0002_vgpio.c | 162 struct gpio_irq_chip *girq; in int0002_probe() local 205 girq = &chip->irq; in int0002_probe() 206 girq->chip = &int0002_irqchip; in int0002_probe() 208 girq->parent_handler = NULL; in int0002_probe() 209 girq->num_parents = 0; in int0002_probe() 210 girq->parents = NULL; in int0002_probe() 211 girq->default_type = IRQ_TYPE_NONE; in int0002_probe() 212 girq->handler = handle_edge_irq; in int0002_probe()
|
/linux-6.6.21/drivers/pinctrl/ |
D | pinctrl-apple-gpio.c | 368 struct gpio_irq_chip *girq = &pctl->gpio_chip.irq; in apple_gpio_register() local 384 if (girq->num_parents) { in apple_gpio_register() 387 gpio_irq_chip_set_chip(girq, &apple_gpio_irqchip); in apple_gpio_register() 388 girq->parent_handler = apple_gpio_irq_handler; in apple_gpio_register() 390 girq->parents = kmalloc_array(girq->num_parents, in apple_gpio_register() 391 sizeof(*girq->parents), in apple_gpio_register() 393 irq_data = kmalloc_array(girq->num_parents, sizeof(*irq_data), in apple_gpio_register() 395 if (!girq->parents || !irq_data) { in apple_gpio_register() 400 for (i = 0; i < girq->num_parents; i++) { in apple_gpio_register() 405 girq->parents[i] = ret; in apple_gpio_register() [all …]
|
/linux-6.6.21/drivers/bcma/ |
D | driver_gpio.c | 131 struct gpio_irq_chip *girq = &chip->irq; in bcma_gpio_irq_init() local 146 gpio_irq_chip_set_chip(girq, &bcma_gpio_irq_chip); in bcma_gpio_irq_init() 148 girq->parent_handler = NULL; in bcma_gpio_irq_init() 149 girq->num_parents = 0; in bcma_gpio_irq_init() 150 girq->parents = NULL; in bcma_gpio_irq_init() 151 girq->default_type = IRQ_TYPE_NONE; in bcma_gpio_irq_init() 152 girq->handler = handle_simple_irq; in bcma_gpio_irq_init()
|