Home
last modified time | relevance | path

Searched refs:rentry (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/acpi/
H A Dacpi_watchdog.c107 struct resource_entry *rentry; in acpi_watchdog_init() local
133 struct resource_entry *rentry; in acpi_watchdog_init() local
152 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
153 if (rentry->res->flags == res.flags && in acpi_watchdog_init()
154 resource_overlaps(rentry->res, &res)) { in acpi_watchdog_init()
155 if (res.start < rentry->res->start) in acpi_watchdog_init()
156 rentry->res->start = res.start; in acpi_watchdog_init()
157 if (res.end > rentry->res->end) in acpi_watchdog_init()
158 rentry->res->end = res.end; in acpi_watchdog_init()
165 rentry in acpi_watchdog_init()
[all...]
H A Dacpi_amba.c52 struct resource_entry *rentry; in amba_handler_attach() local
74 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
75 switch (resource_type(rentry->res)) { in amba_handler_attach()
78 dev->res = *rentry->res; in amba_handler_attach()
85 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
H A Dacpi_apd.c76 struct resource_entry *rentry; in fch_misc_setup() local
93 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup()
94 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, in fch_misc_setup()
95 resource_size(rentry->res)); in fch_misc_setup()
H A Dacpi_platform.c102 struct resource_entry *rentry; in acpi_create_platform_device() local
127 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
128 acpi_platform_fill_resource(adev, rentry->res, in acpi_create_platform_device()
H A Dresource.c641 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
643 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
644 if (!rentry) { in acpi_dev_new_resource_entry()
648 *rentry->res = win->res; in acpi_dev_new_resource_entry()
649 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
650 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
849 struct resource_entry *rentry; in acpi_dev_consumes_res() local
857 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
858 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
H A Dscan.c1426 struct resource_entry *rentry; in acpi_dma_get_range() local
1460 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1461 if (rentry->res->start >= rentry->res->end) { in acpi_dma_get_range()
1468 r->cpu_start = rentry->res->start; in acpi_dma_get_range()
1469 r->dma_start = rentry->res->start - rentry->offset; in acpi_dma_get_range()
1470 r->size = resource_size(rentry->res); in acpi_dma_get_range()
1471 r->offset = rentry->offset; in acpi_dma_get_range()
H A Dacpi_lpss.c626 struct resource_entry *rentry; in acpi_lpss_create_device() local
645 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device()
646 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_lpss_create_device()
650 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
651 pdata->mmio_base = ioremap(rentry->res->start, in acpi_lpss_create_device()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dacpi_watchdog.c107 struct resource_entry *rentry; in acpi_watchdog_init() local
133 struct resource_entry *rentry; in acpi_watchdog_init() local
152 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
153 if (rentry->res->flags == res.flags && in acpi_watchdog_init()
154 resource_union(rentry->res, &res, rentry->res)) { in acpi_watchdog_init()
161 rentry = resource_list_create_entry(NULL, 0); in acpi_watchdog_init()
162 if (!rentry) in acpi_watchdog_init()
165 *rentry->res = res; in acpi_watchdog_init()
166 resource_list_add_tail(rentry, in acpi_watchdog_init()
[all...]
H A Dresource.c792 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
794 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
795 if (!rentry) { in acpi_dev_new_resource_entry()
799 *rentry->res = win->res; in acpi_dev_new_resource_entry()
800 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
801 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
1020 struct resource_entry *rentry; in acpi_dev_consumes_res() local
1028 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
1029 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
H A Dacpi_apd.c70 struct resource_entry *rentry; in fch_misc_setup() local
95 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup()
96 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, in fch_misc_setup()
97 resource_size(rentry->res)); in fch_misc_setup()
H A Dacpi_platform.c117 struct resource_entry *rentry; in acpi_create_platform_device() local
151 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
152 acpi_platform_fill_resource(adev, rentry->res, in acpi_create_platform_device()
H A Dscan.c1483 struct resource_entry *rentry; in acpi_dma_get_range() local
1519 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1520 if (rentry->res->start >= rentry->res->end) { in acpi_dma_get_range()
1528 r->cpu_start = rentry->res->start; in acpi_dma_get_range()
1529 r->dma_start = rentry->res->start - rentry->offset; in acpi_dma_get_range()
1530 r->size = resource_size(rentry->res); in acpi_dma_get_range()
1531 r->offset = rentry->offset; in acpi_dma_get_range()
/kernel/linux/linux-6.6/drivers/acpi/arm64/
H A Damba.c53 struct resource_entry *rentry; in amba_handler_attach() local
75 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
76 switch (resource_type(rentry->res)) { in amba_handler_attach()
79 dev->res = *rentry->res; in amba_handler_attach()
86 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dattr.c257 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_entry() local
285 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xchk_xattr_entry()
286 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xchk_xattr_entry()
287 name_end = (char *)rentry + namesize; in xchk_xattr_entry()
288 if (rentry->namelen == 0 || rentry->valueblk == 0) in xchk_xattr_entry()
406 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_rec() local
456 rentry = (struct xfs_attr_leaf_name_remote *) in xchk_xattr_rec()
458 if (rentry->namelen <= 0) { in xchk_xattr_rec()
462 calc_hash = xfs_da_hashname(rentry in xchk_xattr_rec()
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dattr.c319 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_entry() local
347 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xchk_xattr_entry()
348 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xchk_xattr_entry()
349 name_end = (char *)rentry + namesize; in xchk_xattr_entry()
350 if (rentry->namelen == 0 || rentry->valueblk == 0) in xchk_xattr_entry()
459 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_rec() local
509 rentry = (struct xfs_attr_leaf_name_remote *) in xchk_xattr_rec()
511 if (rentry->namelen <= 0) { in xchk_xattr_rec()
515 calc_hash = xfs_da_hashname(rentry in xchk_xattr_rec()
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A 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()
/kernel/linux/linux-6.6/drivers/dma/
H A 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()
/kernel/linux/linux-5.10/drivers/perf/
H A Dthunderx2_pmu.c794 struct resource_entry *rentry; in tx2_uncore_pmu_init_dev() local
805 list_for_each_entry(rentry, &list, node) { in tx2_uncore_pmu_init_dev()
806 if (resource_type(rentry->res) == IORESOURCE_MEM) { in tx2_uncore_pmu_init_dev()
807 res = *rentry->res; in tx2_uncore_pmu_init_dev()
808 rentry = NULL; in tx2_uncore_pmu_init_dev()
814 if (rentry) { in tx2_uncore_pmu_init_dev()
/kernel/linux/linux-6.6/drivers/perf/
H A Dthunderx2_pmu.c794 struct resource_entry *rentry; in tx2_uncore_pmu_init_dev() local
805 list_for_each_entry(rentry, &list, node) { in tx2_uncore_pmu_init_dev()
806 if (resource_type(rentry->res) == IORESOURCE_MEM) { in tx2_uncore_pmu_init_dev()
807 res = *rentry->res; in tx2_uncore_pmu_init_dev()
808 rentry = NULL; in tx2_uncore_pmu_init_dev()
814 if (rentry) { in tx2_uncore_pmu_init_dev()
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c578 struct resource_entry *rentry; in pmc_usb_probe_iom() local
599 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
600 if (rentry) in pmc_usb_probe_iom()
601 pmc->iom_base = devm_ioremap_resource(pmc->dev, rentry->res); in pmc_usb_probe_iom()
/kernel/linux/linux-6.6/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c639 struct resource_entry *rentry; in pmc_usb_probe_iom() local
662 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
663 if (rentry) in pmc_usb_probe_iom()
664 pmc->iom_base = devm_ioremap_resource(pmc->dev, rentry->res); in pmc_usb_probe_iom()
/kernel/linux/linux-5.10/drivers/bus/
H A Dhisi_lpc.c399 struct resource_entry *rentry; in hisi_lpc_acpi_set_io_res() local
441 list_for_each_entry(rentry, &resource_list, node) { in hisi_lpc_acpi_set_io_res()
442 resources[count] = *rentry->res; in hisi_lpc_acpi_set_io_res()
/kernel/linux/linux-6.6/drivers/bus/
H A Dhisi_lpc.c398 struct resource_entry *rentry; in hisi_lpc_acpi_set_io_res() local
434 list_for_each_entry(rentry, &resource_list, node) { in hisi_lpc_acpi_set_io_res()
435 resources[count] = *rentry->res; in hisi_lpc_acpi_set_io_res()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dkempld-core.c436 struct resource_entry *rentry; in kempld_get_acpi_data() local
469 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data()
470 memcpy(&resources[count], rentry->res, in kempld_get_acpi_data()
/kernel/linux/linux-6.6/drivers/mfd/
H A Dkempld-core.c433 struct resource_entry *rentry; in kempld_get_acpi_data() local
466 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data()
467 memcpy(&resources[count], rentry->res, in kempld_get_acpi_data()

Completed in 25 milliseconds

12