Searched refs:gpio_node (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/macintosh/ |
H A D | via-pmu.c | 157 static struct device_node *gpio_node; variable 446 gpio_node = of_find_node_by_name(NULL, "extint-gpio1"); in via_pmu_start() 447 if (gpio_node == NULL) in via_pmu_start() 448 gpio_node = of_find_node_by_name(NULL, in via_pmu_start() 450 if (gpio_node) in via_pmu_start() 451 gpio_irq = irq_of_parse_and_map(gpio_node, 0); in via_pmu_start()
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 1596 struct device_node *gpio_node, struct device_node *parent) in octeon_irq_init_gpio() argument 1610 r = of_property_read_u32_index(gpio_node, "interrupts", 0, &v); in octeon_irq_init_gpio() 1619 r = of_property_read_u32_index(gpio_node, "interrupts", 0, &v0); in octeon_irq_init_gpio() 1624 r = of_property_read_u32_index(gpio_node, "interrupts", 1, &v1); in octeon_irq_init_gpio() 1641 gpio_node, 16, &octeon_irq_domain_gpio_ops, gpiod); in octeon_irq_init_gpio() 1651 of_node_clear_flag(gpio_node, OF_POPULATED); in octeon_irq_init_gpio()
|