Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/acpi/
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 …]
A Dacpi_amba.c54 struct resource_entry *rentry; in amba_handler_attach() local
76 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
77 switch (resource_type(rentry->res)) { in amba_handler_attach()
80 dev->res = *rentry->res; in amba_handler_attach()
87 dev->irq[irq_no++] = rentry->res->start; in amba_handler_attach()
A Dacpi_apd.c70 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()
A Dresource.c685 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local
687 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry()
688 if (!rentry) { in acpi_dev_new_resource_entry()
692 *rentry->res = win->res; in acpi_dev_new_resource_entry()
693 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
694 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry()
913 struct resource_entry *rentry; in acpi_dev_consumes_res() local
921 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
922 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
A Dacpi_platform.c103 struct resource_entry *rentry; in acpi_create_platform_device() local
126 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
127 acpi_platform_fill_resource(adev, rentry->res, in acpi_create_platform_device()
A Dscan.c1482 struct resource_entry *rentry; in acpi_dma_get_range() local
1518 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range()
1519 if (rentry->res->start >= rentry->res->end) { in acpi_dma_get_range()
1527 r->cpu_start = rentry->res->start; in acpi_dma_get_range()
1528 r->dma_start = rentry->res->start - rentry->offset; in acpi_dma_get_range()
1529 r->size = resource_size(rentry->res); in acpi_dma_get_range()
1530 r->offset = rentry->offset; in acpi_dma_get_range()
A Dacpi_lpss.c639 struct resource_entry *rentry; in acpi_lpss_create_device() local
658 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device()
659 if (rentry) { in acpi_lpss_create_device()
663 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
664 pdata->mmio_base = ioremap(rentry->res->start, pdata->mmio_size); in acpi_lpss_create_device()
/linux-6.3-rc2/fs/xfs/scrub/
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->name, rentry->namelen); in xchk_xattr_rec()
/linux-6.3-rc2/drivers/dma/
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-6.3-rc2/drivers/perf/
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()
A Dxgene_pmu.c1463 struct resource_entry *rentry; in acpi_get_pmu_hw_inf() local
1478 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf()
1479 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_get_pmu_hw_inf()
1480 res = *rentry->res; in acpi_get_pmu_hw_inf()
1481 rentry = NULL; in acpi_get_pmu_hw_inf()
1487 if (rentry) { in acpi_get_pmu_hw_inf()
/linux-6.3-rc2/drivers/usb/typec/mux/
A Dintel_pmc_mux.c599 struct resource_entry *rentry; in pmc_usb_probe_iom() local
621 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
622 if (rentry) in pmc_usb_probe_iom()
623 pmc->iom_base = devm_ioremap_resource(pmc->dev, rentry->res); in pmc_usb_probe_iom()
/linux-6.3-rc2/drivers/bus/
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-6.3-rc2/drivers/mfd/
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()
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_attr_leaf.c248 struct xfs_attr_leaf_name_remote *rentry; in xfs_attr3_leaf_verify_entry() local
276 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xfs_attr3_leaf_verify_entry()
277 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xfs_attr3_leaf_verify_entry()
278 name_end = (char *)rentry + namesize; in xfs_attr3_leaf_verify_entry()
279 if (rentry->namelen == 0) in xfs_attr3_leaf_verify_entry()
282 rentry->valueblk == 0) in xfs_attr3_leaf_verify_entry()
/linux-6.3-rc2/arch/x86/kernel/apic/
A Dio_apic.c1955 struct IO_APIC_route_entry rentry; in ioapic_irq_get_chip_state() local
1964 rentry = __ioapic_read_entry(p->apic, p->pin); in ioapic_irq_get_chip_state()
1971 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc.c2243 u16 entry, rentry; in npc_mcam_set_bit() local
2246 rentry = mcam->bmap_entries - index - 1; in npc_mcam_set_bit()
2249 __set_bit(rentry, mcam->bmap_reverse); in npc_mcam_set_bit()
2259 u16 entry, rentry; in npc_mcam_clear_bit() local
2262 rentry = mcam->bmap_entries - index - 1; in npc_mcam_clear_bit()
2265 __clear_bit(rentry, mcam->bmap_reverse); in npc_mcam_clear_bit()

Completed in 64 milliseconds