Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/acpi/
Dacpi_watchdog.c99 struct resource_entry *rentry; in acpi_watchdog_init() local
125 struct resource_entry *rentry; in acpi_watchdog_init() local
145 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
146 if (rentry->res->flags == res.flags && in acpi_watchdog_init()
147 resource_overlaps(rentry->res, &res)) { in acpi_watchdog_init()
148 if (res.start < rentry->res->start) in acpi_watchdog_init()
149 rentry->res->start = res.start; in acpi_watchdog_init()
150 if (res.end > rentry->res->end) in acpi_watchdog_init()
151 rentry->res->end = res.end; in acpi_watchdog_init()
158 rentry = resource_list_create_entry(NULL, 0); in acpi_watchdog_init()
[all …]
Dacpi_amba.c46 struct resource_entry *rentry; in amba_handler_attach() local
68 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
69 switch (resource_type(rentry->res)) { in amba_handler_attach()
72 dev->res = *rentry->res; in amba_handler_attach()
78 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
Dacpi_platform.c68 struct resource_entry *rentry; in acpi_create_platform_device() local
93 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
94 acpi_platform_fill_resource(adev, rentry->res, in acpi_create_platform_device()
Dacpi_apd.c89 struct resource_entry *rentry; in st_misc_setup() local
103 list_for_each_entry(rentry, &resource_list, node) { in st_misc_setup()
104 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, in st_misc_setup()
105 resource_size(rentry->res)); in st_misc_setup()
Dresource.c524 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
526 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
527 if (!rentry) { in acpi_dev_new_resource_entry()
531 *rentry->res = win->res; in acpi_dev_new_resource_entry()
532 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
533 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
732 struct resource_entry *rentry; in acpi_dev_consumes_res() local
740 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
741 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
Dacpi_lpss.c578 struct resource_entry *rentry; in acpi_lpss_create_device() local
597 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device()
598 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_lpss_create_device()
602 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
603 pdata->mmio_base = ioremap(rentry->res->start, in acpi_lpss_create_device()
Dscan.c1389 struct resource_entry *rentry; in acpi_dma_get_range() local
1417 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1418 if (dma_offset && rentry->offset != dma_offset) { in acpi_dma_get_range()
1423 dma_offset = rentry->offset; in acpi_dma_get_range()
1426 if (rentry->res->start < dma_start) in acpi_dma_get_range()
1427 dma_start = rentry->res->start; in acpi_dma_get_range()
1428 if (rentry->res->end > dma_end) in acpi_dma_get_range()
1429 dma_end = rentry->res->end; in acpi_dma_get_range()
/Linux-v4.19/fs/xfs/scrub/
Dattr.c202 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_entry() local
230 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xchk_xattr_entry()
231 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xchk_xattr_entry()
232 name_end = (char *)rentry + namesize; in xchk_xattr_entry()
233 if (rentry->namelen == 0 || rentry->valueblk == 0) in xchk_xattr_entry()
343 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_rec() local
390 rentry = (struct xfs_attr_leaf_name_remote *) in xchk_xattr_rec()
392 if (rentry->namelen <= 0) { in xchk_xattr_rec()
396 calc_hash = xfs_da_hashname(rentry->name, rentry->namelen); in xchk_xattr_rec()
/Linux-v4.19/drivers/dma/
Dacpi-dma.c48 struct resource_entry *rentry; in acpi_dma_parse_resource_group() local
60 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group()
61 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group()
62 mem = rentry->res->start; in acpi_dma_parse_resource_group()
63 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group()
64 irq = rentry->res->start; in acpi_dma_parse_resource_group()
/Linux-v4.19/drivers/bus/
Dhisi_lpc.c380 struct resource_entry *rentry; in hisi_lpc_acpi_set_io_res() local
422 list_for_each_entry(rentry, &resource_list, node) in hisi_lpc_acpi_set_io_res()
423 resources[count++] = *rentry->res; in hisi_lpc_acpi_set_io_res()