Lines Matching refs:adev
43 struct acpi_device *adev, struct acpi_dma *adma) in acpi_dma_parse_resource_group() argument
55 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dma_parse_resource_group()
78 dev_dbg(&adev->dev, "matches with %.4s%04X (rev %u)\n", in acpi_dma_parse_resource_group()
89 dev_dbg(&adev->dev, "request line base: 0x%04x end: 0x%04x\n", in acpi_dma_parse_resource_group()
108 static void acpi_dma_parse_csrt(struct acpi_device *adev, struct acpi_dma *adma) in acpi_dma_parse_csrt() argument
119 dev_warn(&adev->dev, "failed to get the CSRT table\n"); in acpi_dma_parse_csrt()
127 ret = acpi_dma_parse_resource_group(grp, adev, adma); in acpi_dma_parse_csrt()
129 dev_warn(&adev->dev, in acpi_dma_parse_csrt()
157 struct acpi_device *adev; in acpi_dma_controller_register() local
164 adev = ACPI_COMPANION(dev); in acpi_dma_controller_register()
165 if (!adev) in acpi_dma_controller_register()
176 acpi_dma_parse_csrt(adev, adma); in acpi_dma_controller_register()
354 struct acpi_device *adev; in acpi_dma_request_slave_chan_by_index() local
363 adev = ACPI_COMPANION(dev); in acpi_dma_request_slave_chan_by_index()
364 if (!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()