Lines Matching refs:acpi_dev
1007 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_bus_match() local
1010 return acpi_dev->flags.match_driver in acpi_bus_match()
1011 && !acpi_match_device_ids(acpi_dev, acpi_drv->ids); in acpi_bus_match()
1021 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_probe() local
1025 if (acpi_dev->handler && !acpi_is_pnp_device(acpi_dev)) in acpi_device_probe()
1031 ret = acpi_drv->ops.add(acpi_dev); in acpi_device_probe()
1036 acpi_drv->name, acpi_dev->pnp.bus_id); in acpi_device_probe()
1039 ret = acpi_device_install_notify_handler(acpi_dev); in acpi_device_probe()
1042 acpi_drv->ops.remove(acpi_dev); in acpi_device_probe()
1044 acpi_dev->driver_data = NULL; in acpi_device_probe()
1050 acpi_dev->pnp.bus_id); in acpi_device_probe()
1058 struct acpi_device *acpi_dev = to_acpi_device(dev); in acpi_device_remove() local
1062 acpi_device_remove_notify_handler(acpi_dev); in acpi_device_remove()
1065 acpi_drv->ops.remove(acpi_dev); in acpi_device_remove()
1067 acpi_dev->driver_data = NULL; in acpi_device_remove()