/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_watchdog.c | 107 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 = resource_list_create_entry(NULL, 0); in acpi_watchdog_init() [all …]
|
D | acpi_amba.c | 52 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()
|
D | acpi_apd.c | 76 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()
|
D | resource.c | 516 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()
|
D | acpi_platform.c | 102 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()
|
D | acpi_lpss.c | 623 struct resource_entry *rentry; in acpi_lpss_create_device() local 642 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device() 643 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_lpss_create_device() 647 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device() 648 pdata->mmio_base = ioremap(rentry->res->start, in acpi_lpss_create_device()
|
D | scan.c | 1429 struct resource_entry *rentry; in acpi_dma_get_range() local 1457 list_for_each_entry(rentry, &list, node) { in acpi_dma_get_range() 1458 if (dma_offset && rentry->offset != dma_offset) { in acpi_dma_get_range() 1463 dma_offset = rentry->offset; in acpi_dma_get_range() 1466 if (rentry->res->start < dma_start) in acpi_dma_get_range() 1467 dma_start = rentry->res->start; in acpi_dma_get_range() 1468 if (rentry->res->end > dma_end) in acpi_dma_get_range() 1469 dma_end = rentry->res->end; in acpi_dma_get_range()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | attr.c | 257 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()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | acpi-dma.c | 46 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/ |
D | thunderx2_pmu.c | 794 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()
|
D | xgene_pmu.c | 1467 struct resource_entry *rentry; in acpi_get_pmu_hw_inf() local 1482 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf() 1483 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_get_pmu_hw_inf() 1484 res = *rentry->res; in acpi_get_pmu_hw_inf() 1485 rentry = NULL; in acpi_get_pmu_hw_inf() 1491 if (rentry) { in acpi_get_pmu_hw_inf()
|
/kernel/linux/linux-5.10/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 552 struct resource_entry *rentry; in pmc_usb_probe_iom() local 565 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom() 566 if (rentry) in pmc_usb_probe_iom() 567 pmc->iom_base = devm_ioremap_resource(pmc->dev, rentry->res); in pmc_usb_probe_iom()
|
/kernel/linux/linux-5.10/drivers/bus/ |
D | hisi_lpc.c | 399 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-5.10/drivers/mfd/ |
D | kempld-core.c | 436 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-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 1338 u16 entry, rentry; in npc_mcam_set_bit() local 1341 rentry = mcam->bmap_entries - index - 1; in npc_mcam_set_bit() 1344 __set_bit(rentry, mcam->bmap_reverse); in npc_mcam_set_bit() 1354 u16 entry, rentry; in npc_mcam_clear_bit() local 1357 rentry = mcam->bmap_entries - index - 1; in npc_mcam_clear_bit() 1360 __clear_bit(rentry, mcam->bmap_reverse); in npc_mcam_clear_bit()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_attr_leaf.c | 246 struct xfs_attr_leaf_name_remote *rentry; in xfs_attr3_leaf_verify_entry() local 274 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xfs_attr3_leaf_verify_entry() 275 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xfs_attr3_leaf_verify_entry() 276 name_end = (char *)rentry + namesize; in xfs_attr3_leaf_verify_entry() 277 if (rentry->namelen == 0) in xfs_attr3_leaf_verify_entry() 280 rentry->valueblk == 0) in xfs_attr3_leaf_verify_entry()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | io_apic.c | 1916 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()
|