Searched refs:halt_node (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dsgy_cts1000.c25 static struct device_node *halt_node; variable in typeref:struct:device_node
46 if (!halt_node) gpio_halt_cb()
49 gpio = of_get_gpio_flags(halt_node, 0, &flags); gpio_halt_cb()
83 halt_node = of_find_matching_node(node, child_match); gpio_halt_probe()
84 if (!halt_node) gpio_halt_probe()
89 if (of_gpio_count(halt_node) != 1) gpio_halt_probe()
93 gpio = of_get_gpio_flags(halt_node, 0, &flags); gpio_halt_probe()
101 halt_node = NULL; gpio_halt_probe()
110 irq = irq_of_parse_and_map(halt_node, 0); gpio_halt_probe()
112 IRQF_TRIGGER_FALLING, "gpio-halt", halt_node); gpio_halt_probe()
117 halt_node = NULL; gpio_halt_probe()
133 if (halt_node) { gpio_halt_remove()
134 int gpio = of_get_gpio(halt_node, 0); gpio_halt_remove()
135 int irq = irq_of_parse_and_map(halt_node, 0); gpio_halt_remove()
137 free_irq(irq, halt_node); gpio_halt_remove()
144 halt_node = NULL; gpio_halt_remove()

Completed in 76 milliseconds