Lines Matching refs:parent

145 	if (gc->parent)  in acpi_gpiochip_find()
146 return device_match_acpi_handle(gc->parent, data); in acpi_gpiochip_find()
272 struct device *parent = acpi_gpio->chip->parent; in acpi_gpiochip_request_irq() local
278 dev_err(parent, "Failed to setup interrupt handler for %d\n", event->irq); in acpi_gpiochip_request_irq()
363 dev_warn(chip->parent, in acpi_request_own_gpiod()
406 static bool acpi_gpio_irq_is_wake(struct device *parent, in acpi_gpio_irq_is_wake() argument
414 if (acpi_gpio_in_ignore_list(ignore_wake, dev_name(parent), pin)) { in acpi_gpio_irq_is_wake()
415 dev_info(parent, "Ignoring wakeup on pin %u\n", pin); in acpi_gpio_irq_is_wake()
439 handle = ACPI_HANDLE(chip->parent); in acpi_gpiochip_alloc_event()
459 dev_err(chip->parent, in acpi_gpiochip_alloc_event()
467 dev_err(chip->parent, in acpi_gpiochip_alloc_event()
475 dev_err(chip->parent, in acpi_gpiochip_alloc_event()
481 if (acpi_gpio_in_ignore_list(ignore_interrupt, dev_name(chip->parent), pin)) { in acpi_gpiochip_alloc_event()
482 dev_info(chip->parent, "Ignoring interrupt on pin %u\n", pin); in acpi_gpiochip_alloc_event()
514 event->irq_is_wake = acpi_gpio_irq_is_wake(chip->parent, agpio); in acpi_gpiochip_alloc_event()
547 if (!chip->parent || !chip->to_irq) in acpi_gpiochip_request_interrupts()
550 handle = ACPI_HANDLE(chip->parent); in acpi_gpiochip_request_interrupts()
592 if (!chip->parent || !chip->to_irq) in acpi_gpiochip_free_interrupts()
595 handle = ACPI_HANDLE(chip->parent); in acpi_gpiochip_free_interrupts()
1244 acpi_handle handle = ACPI_HANDLE(chip->parent); in acpi_gpiochip_request_regions()
1253 dev_err(chip->parent, in acpi_gpiochip_request_regions()
1260 acpi_handle handle = ACPI_HANDLE(chip->parent); in acpi_gpiochip_free_regions()
1267 dev_err(chip->parent, in acpi_gpiochip_free_regions()
1326 device_for_each_child_node(chip->parent, fwnode) { in acpi_gpiochip_scan_gpios()
1343 dev_err(chip->parent, "Failed to hog GPIO\n"); in acpi_gpiochip_scan_gpios()
1356 if (!chip || !chip->parent) in acpi_gpiochip_add()
1359 adev = ACPI_COMPANION(chip->parent); in acpi_gpiochip_add()
1365 dev_err(chip->parent, in acpi_gpiochip_add()
1376 dev_err(chip->parent, "Failed to attach ACPI GPIO chip\n"); in acpi_gpiochip_add()
1392 if (!chip || !chip->parent) in acpi_gpiochip_remove()
1395 handle = ACPI_HANDLE(chip->parent); in acpi_gpiochip_remove()
1401 dev_warn(chip->parent, "Failed to retrieve ACPI GPIO chip\n"); in acpi_gpiochip_remove()