Searched refs:num_irq (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/of/ |
D | platform.c | 118 int rc, i, num_reg = 0, num_irq; in of_device_alloc() local 128 num_irq = of_irq_count(np); in of_device_alloc() 131 if (num_irq || num_reg) { in of_device_alloc() 132 res = kcalloc(num_irq + num_reg, sizeof(*res), GFP_KERNEL); in of_device_alloc() 138 dev->num_resources = num_reg + num_irq; in of_device_alloc() 144 if (of_irq_to_resource_table(np, res, num_irq) != num_irq) in of_device_alloc()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-tegra186.c | 64 unsigned int num_irq; member 438 gpio->num_irq = err; in tegra186_gpio_probe() 440 gpio->irq = devm_kcalloc(&pdev->dev, gpio->num_irq, sizeof(*gpio->irq), in tegra186_gpio_probe() 445 for (i = 0; i < gpio->num_irq; i++) { in tegra186_gpio_probe() 507 irq->num_parents = gpio->num_irq; in tegra186_gpio_probe()
|