Home
last modified time | relevance | path

Searched refs:sub_driver (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/loongarch/
H A Dloongson-laptop.c152 if (!sub_driver || !sub_driver->notify) in dispatch_acpi_notify()
154 sub_driver->notify(sub_driver, event); in dispatch_acpi_notify()
161 if (!*sub_driver->handle) in setup_acpi_notify()
164 sub_driver->device = acpi_fetch_acpi_dev(*sub_driver->handle); in setup_acpi_notify()
165 if (!sub_driver->device) { in setup_acpi_notify()
170 sub_driver->device->driver_data = sub_driver; in setup_acpi_notify()
175 sub_driver->type, dispatch_acpi_notify, sub_driver); in setup_acpi_notify()
499 if (!sub_driver || !sub_driver->driver) in generic_subdriver_init()
506 if (sub_driver->init) { in generic_subdriver_init()
507 ret = sub_driver->init(sub_driver); in generic_subdriver_init()
[all …]