Lines Matching defs:adev
87 struct acpi_device *adev;
91 if (acpi_bus_get_device(info->handle, &adev))
96 ret = fwnode_property_read_u8_array(acpi_fwnode_handle(adev),
112 dev_err(&adev->dev,
119 dev_err(&adev->dev, "Link count %d exceeds max %d\n",
125 dev_warn(&adev->dev, "No SoundWire links detected\n");
128 dev_dbg(&adev->dev, "ACPI reports %d SDW Link devices\n", count);
135 dev_dbg(&adev->dev,
140 if (!is_link_enabled(acpi_fwnode_handle(adev), i)) {
141 dev_dbg(&adev->dev,
196 struct acpi_device *adev;
208 if (acpi_bus_get_device(res->handle, &adev))
215 dev_dbg(&adev->dev, "Creating %d SDW Link devices\n", count);
217 ctx = devm_kzalloc(&adev->dev, sizeof(*ctx), GFP_KERNEL);
222 ctx->links = devm_kcalloc(&adev->dev, ctx->count,
241 dev_dbg(&adev->dev,
265 pdevinfo.fwnode = acpi_fwnode_handle(adev);
271 dev_err(&adev->dev,
286 ctx->ids = devm_kcalloc(&adev->dev, num_slaves,
313 struct acpi_device *adev;
319 if (acpi_bus_get_device(ctx->handle, &adev))
328 dev_err(&adev->dev,
364 struct acpi_device *adev;
372 if (acpi_bus_get_device(handle, &adev)) {