Lines Matching refs:adev
42 struct acpi_device *adev, struct acpi_dma *adma) in acpi_dma_parse_resource_group() argument
54 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dma_parse_resource_group()
77 dev_dbg(&adev->dev, "matches with %.4s%04X (rev %u)\n", in acpi_dma_parse_resource_group()
88 dev_dbg(&adev->dev, "request line base: 0x%04x end: 0x%04x\n", in acpi_dma_parse_resource_group()
107 static void acpi_dma_parse_csrt(struct acpi_device *adev, struct acpi_dma *adma) in acpi_dma_parse_csrt() argument
118 dev_warn(&adev->dev, "failed to get the CSRT table\n"); in acpi_dma_parse_csrt()
126 ret = acpi_dma_parse_resource_group(grp, adev, adma); in acpi_dma_parse_csrt()
128 dev_warn(&adev->dev, in acpi_dma_parse_csrt()
156 struct acpi_device *adev; in acpi_dma_controller_register() local
166 if (acpi_bus_get_device(ACPI_HANDLE(dev), &adev)) in acpi_dma_controller_register()
177 acpi_dma_parse_csrt(adev, adma); in acpi_dma_controller_register()
355 struct acpi_device *adev; in acpi_dma_request_slave_chan_by_index() local
364 if (acpi_bus_get_device(ACPI_HANDLE(dev), &adev)) in acpi_dma_request_slave_chan_by_index()
375 acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index()