Home
last modified time | relevance | path

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

/linux/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, &resource_list); in acpi_watchdog_init()
176 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init()
[all …]
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 Dresource.c840 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
842 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
843 if (!rentry) { in acpi_dev_new_resource_entry()
847 *rentry->res = win->res; in acpi_dev_new_resource_entry()
848 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
849 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
1068 struct resource_entry *rentry; in acpi_dev_consumes_res() local
1076 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
1077 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
H A Dscan.c1550 struct resource_entry *rentry; in acpi_dma_get_range() local
1586 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1587 if (rentry->res->start >= rentry->res->end) { in acpi_dma_get_range()
1595 r->cpu_start = rentry->res->start; in acpi_dma_get_range()
1596 r->dma_start = rentry->res->start - rentry->offset; in acpi_dma_get_range()
1597 r->size = resource_size(rentry->res); in acpi_dma_get_range()
/linux/drivers/acpi/arm64/
H A Damba.c41 struct resource_entry *rentry; in amba_handler_attach() local
63 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
64 switch (resource_type(rentry->res)) { in amba_handler_attach()
67 dev->res = *rentry->res; in amba_handler_attach()
74 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
/linux/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()
/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c266 struct resource_entry *rentry; in tegra_acpi_init_apbmisc() local
290 resource_list_for_each_entry(rentry, &resource_list) { in tegra_acpi_init_apbmisc()
294 resources[rcount++] = rentry->res; in tegra_acpi_init_apbmisc()
/linux/drivers/perf/
H A Dthunderx2_pmu.c790 struct resource_entry *rentry; in tx2_uncore_pmu_init_dev() local
801 list_for_each_entry(rentry, &list, node) { in tx2_uncore_pmu_init_dev()
802 if (resource_type(rentry->res) == IORESOURCE_MEM) { in tx2_uncore_pmu_init_dev()
803 res = *rentry->res; in tx2_uncore_pmu_init_dev()
804 rentry = NULL; in tx2_uncore_pmu_init_dev()
810 if (rentry) { in tx2_uncore_pmu_init_dev()
/linux/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()
/linux/drivers/acpi/x86/
H A Dlpss.c620 struct resource_entry *rentry; in acpi_lpss_create_device() local
638 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device()
639 if (rentry) { in acpi_lpss_create_device()
643 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
644 pdata->mmio_base = ioremap(rentry->res->start, pdata->mmio_size); in acpi_lpss_create_device()
/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c663 struct resource_entry *rentry; in pmc_usb_probe_iom() local
686 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
687 if (rentry) in pmc_usb_probe_iom()
688 pmc->iom_base = devm_ioremap_resource(pmc->dev, rentry->res); in pmc_usb_probe_iom()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c717 struct resource_entry *rentry; in tegra241_cmdqv_find_acpi_resource() local
729 rentry = list_first_entry_or_null(&resource_list, in tegra241_cmdqv_find_acpi_resource()
731 if (!rentry) { in tegra241_cmdqv_find_acpi_resource()
741 *res = *rentry->res; in tegra241_cmdqv_find_acpi_resource()
/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c249 struct xfs_attr_leaf_name_remote *rentry; in xfs_attr3_leaf_verify_entry() local
277 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xfs_attr3_leaf_verify_entry()
278 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xfs_attr3_leaf_verify_entry()
279 name_end = (char *)rentry + namesize; in xfs_attr3_leaf_verify_entry()
280 if (rentry->namelen == 0) in xfs_attr3_leaf_verify_entry()
283 rentry->valueblk == 0) in xfs_attr3_leaf_verify_entry()
/linux/arch/x86/kernel/apic/
H A Dio_apic.c1829 struct IO_APIC_route_entry rentry; in ioapic_irq_get_chip_state() local
1839 rentry = __ioapic_read_entry(p->apic, p->pin); in ioapic_irq_get_chip_state()
1846 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()