Lines Matching refs:acpi_drv
885 struct acpi_driver *acpi_drv = to_acpi_driver(drv); in acpi_bus_match() local
888 && !acpi_match_device_ids(acpi_dev, acpi_drv->ids); in acpi_bus_match()
899 struct acpi_driver *acpi_drv = to_acpi_driver(dev->driver); in acpi_device_probe() local
905 if (!acpi_drv->ops.add) in acpi_device_probe()
908 ret = acpi_drv->ops.add(acpi_dev); in acpi_device_probe()
912 acpi_dev->driver = acpi_drv; in acpi_device_probe()
915 acpi_drv->name, acpi_dev->pnp.bus_id)); in acpi_device_probe()
917 if (acpi_drv->ops.notify) { in acpi_device_probe()
920 if (acpi_drv->ops.remove) in acpi_device_probe()
921 acpi_drv->ops.remove(acpi_dev); in acpi_device_probe()
930 acpi_drv->name, acpi_dev->pnp.bus_id)); in acpi_device_probe()
938 struct acpi_driver *acpi_drv = acpi_dev->driver; in acpi_device_remove() local
940 if (acpi_drv) { in acpi_device_remove()
941 if (acpi_drv->ops.notify) in acpi_device_remove()
943 if (acpi_drv->ops.remove) in acpi_device_remove()
944 acpi_drv->ops.remove(acpi_dev); in acpi_device_remove()