Home
last modified time | relevance | path

Searched refs:rentry (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/dma/
Dacpi-dma.c46 struct resource_entry *rentry; in acpi_dma_parse_resource_group() local
58 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group()
59 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group()
60 mem = rentry->res->start; in acpi_dma_parse_resource_group()
61 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
62 irq = rentry->res->start; in acpi_dma_parse_resource_group()
/linux-4.1.27/drivers/acpi/
Dacpi_platform.c48 struct resource_entry *rentry; in acpi_create_platform_device() local
73 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
74 resources[count++] = *rentry->res; in acpi_create_platform_device()
Dresource.c470 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
472 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
473 if (!rentry) { in acpi_dev_new_resource_entry()
477 *rentry->res = win->res; in acpi_dev_new_resource_entry()
478 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
479 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
Dacpi_lpss.c328 struct resource_entry *rentry; in acpi_lpss_create_device() local
347 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device()
348 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_lpss_create_device()
352 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
353 pdata->mmio_base = ioremap(rentry->res->start, in acpi_lpss_create_device()