Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/
Dacpi_watchdog.c96 struct resource_entry *rentry; in acpi_watchdog_init() local
122 struct resource_entry *rentry; in acpi_watchdog_init() local
142 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
143 if (rentry->res->flags == res.flags && in acpi_watchdog_init()
144 resource_overlaps(rentry->res, &res)) { in acpi_watchdog_init()
145 if (res.start < rentry->res->start) in acpi_watchdog_init()
146 rentry->res->start = res.start; in acpi_watchdog_init()
147 if (res.end > rentry->res->end) in acpi_watchdog_init()
148 rentry->res->end = res.end; in acpi_watchdog_init()
155 rentry = resource_list_create_entry(NULL, 0); in acpi_watchdog_init()
[all …]
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()
84 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
Dacpi_platform.c66 struct resource_entry *rentry; in acpi_create_platform_device() local
91 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
92 acpi_platform_fill_resource(adev, rentry->res, in acpi_create_platform_device()
Dacpi_apd.c87 struct resource_entry *rentry; in st_misc_setup() local
101 list_for_each_entry(rentry, &resource_list, node) { in st_misc_setup()
102 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, in st_misc_setup()
103 resource_size(rentry->res)); in st_misc_setup()
Dresource.c516 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
518 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
519 if (!rentry) { in acpi_dev_new_resource_entry()
523 *rentry->res = win->res; in acpi_dev_new_resource_entry()
524 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
525 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
724 struct resource_entry *rentry; in acpi_dev_consumes_res() local
732 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
733 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
Dacpi_lpss.c615 struct resource_entry *rentry; in acpi_lpss_create_device() local
634 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device()
635 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_lpss_create_device()
639 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
640 pdata->mmio_base = ioremap(rentry->res->start, in acpi_lpss_create_device()
Dscan.c1387 struct resource_entry *rentry; in acpi_dma_get_range() local
1415 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1416 if (dma_offset && rentry->offset != dma_offset) { in acpi_dma_get_range()
1421 dma_offset = rentry->offset; in acpi_dma_get_range()
1424 if (rentry->res->start < dma_start) in acpi_dma_get_range()
1425 dma_start = rentry->res->start; in acpi_dma_get_range()
1426 if (rentry->res->end > dma_end) in acpi_dma_get_range()
1427 dma_end = rentry->res->end; in acpi_dma_get_range()
/Linux-v5.4/fs/xfs/scrub/
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()
408 struct xfs_attr_leaf_name_remote *rentry; in xchk_xattr_rec() local
455 rentry = (struct xfs_attr_leaf_name_remote *) in xchk_xattr_rec()
457 if (rentry->namelen <= 0) { in xchk_xattr_rec()
461 calc_hash = xfs_da_hashname(rentry->name, rentry->namelen); in xchk_xattr_rec()
/Linux-v5.4/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-v5.4/drivers/perf/
Dthunderx2_pmu.c616 struct resource_entry *rentry; in tx2_uncore_pmu_init_dev() local
627 list_for_each_entry(rentry, &list, node) { in tx2_uncore_pmu_init_dev()
628 if (resource_type(rentry->res) == IORESOURCE_MEM) { in tx2_uncore_pmu_init_dev()
629 res = *rentry->res; in tx2_uncore_pmu_init_dev()
634 if (!rentry->res) in tx2_uncore_pmu_init_dev()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1269 u16 entry, rentry; in npc_mcam_set_bit() local
1272 rentry = mcam->bmap_entries - index - 1; in npc_mcam_set_bit()
1275 __set_bit(rentry, mcam->bmap_reverse); in npc_mcam_set_bit()
1285 u16 entry, rentry; in npc_mcam_clear_bit() local
1288 rentry = mcam->bmap_entries - index - 1; in npc_mcam_clear_bit()
1291 __clear_bit(rentry, mcam->bmap_reverse); in npc_mcam_clear_bit()
/Linux-v5.4/arch/x86/kernel/apic/
Dio_apic.c1916 struct IO_APIC_route_entry rentry; in ioapic_irq_get_chip_state() local
1925 rentry = __ioapic_read_entry(p->apic, p->pin); in ioapic_irq_get_chip_state()
1932 if (rentry.irr && rentry.trigger) { in ioapic_irq_get_chip_state()