Lines Matching refs:acpi_drv
971 struct acpi_driver *acpi_drv = to_acpi_driver(drv); in acpi_bus_match() local
974 && !acpi_match_device_ids(acpi_dev, acpi_drv->ids); in acpi_bus_match()
985 struct acpi_driver *acpi_drv = to_acpi_driver(dev->driver); in acpi_device_probe() local
991 if (!acpi_drv->ops.add) in acpi_device_probe()
994 ret = acpi_drv->ops.add(acpi_dev); in acpi_device_probe()
998 acpi_dev->driver = acpi_drv; in acpi_device_probe()
1001 acpi_drv->name, acpi_dev->pnp.bus_id); in acpi_device_probe()
1003 if (acpi_drv->ops.notify) { in acpi_device_probe()
1006 if (acpi_drv->ops.remove) in acpi_device_probe()
1007 acpi_drv->ops.remove(acpi_dev); in acpi_device_probe()
1015 pr_debug("Found driver [%s] for device [%s]\n", acpi_drv->name, in acpi_device_probe()
1025 struct acpi_driver *acpi_drv = acpi_dev->driver; in acpi_device_remove() local
1027 if (acpi_drv) { in acpi_device_remove()
1028 if (acpi_drv->ops.notify) in acpi_device_remove()
1030 if (acpi_drv->ops.remove) in acpi_device_remove()
1031 acpi_drv->ops.remove(acpi_dev); in acpi_device_remove()