| /linux/drivers/acpi/ |
| H A D | acpi_watchdog.c | 107 struct resource_entry *rentry; in acpi_watchdog_init() local 131 struct resource_entry *rentry; in acpi_watchdog_init() local 150 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init() 151 if (rentry->res->flags == res.flags && in acpi_watchdog_init() 152 resource_union(rentry->res, &res, rentry->res)) { in acpi_watchdog_init() 159 rentry = resource_list_create_entry(NULL, 0); in acpi_watchdog_init() 160 if (!rentry) in acpi_watchdog_init() 163 *rentry->res = res; in acpi_watchdog_init() 164 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init() 174 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init() [all …]
|
| H A D | acpi_platform.c | 181 struct resource_entry *rentry; in acpi_create_platform_device() local 189 list_for_each_entry(rentry, &resource_list, node) { in acpi_create_platform_device() 191 rentry->res, in acpi_create_platform_device() 194 acpi_platform_fill_resource(parent, rentry->res, in acpi_create_platform_device()
|
| H A D | acpi_apd.c | 71 struct resource_entry *rentry; in fch_misc_setup() local 96 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup() 97 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, in fch_misc_setup() 98 resource_size(rentry->res)); in fch_misc_setup()
|
| H A D | resource.c | 894 struct resource_entry *rentry; in acpi_dev_new_resource_entry() local 896 rentry = resource_list_create_entry(NULL, 0); in acpi_dev_new_resource_entry() 897 if (!rentry) { in acpi_dev_new_resource_entry() 901 *rentry->res = win->res; in acpi_dev_new_resource_entry() 902 rentry->offset = win->offset; in acpi_dev_new_resource_entry() 903 resource_list_add_tail(rentry, c->list); in acpi_dev_new_resource_entry() 1122 struct resource_entry *rentry; in acpi_dev_consumes_res() local 1130 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res() 1131 if (resource_contains(rentry->res, res)) { in acpi_dev_consumes_res()
|
| /linux/drivers/acpi/arm64/ |
| H A D | amba.c | 41 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 D | acpi-dma.c | 49 struct resource_entry *rentry; in acpi_dma_parse_resource_group() local 61 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group() 62 if (resource_type(rentry->res) == IORESOURCE_MEM) in acpi_dma_parse_resource_group() 63 mem = rentry->res->start; in acpi_dma_parse_resource_group() 64 else if (resource_type(rentry->res) == IORESOURCE_IRQ) in acpi_dma_parse_resource_group() 65 irq = rentry->res->start; in acpi_dma_parse_resource_group()
|
| /linux/drivers/soc/tegra/fuse/ |
| H A D | tegra-apbmisc.c | 298 struct resource_entry *rentry; in tegra_acpi_init_apbmisc() local 322 resource_list_for_each_entry(rentry, &resource_list) { in tegra_acpi_init_apbmisc() 326 resources[rcount++] = rentry->res; in tegra_acpi_init_apbmisc()
|
| /linux/fs/xfs/scrub/ |
| H A D | attr_repair.c | 322 struct xfs_attr_leaf_name_remote *rentry, in xrep_xattr_salvage_remote_attr() argument 334 .namelen = rentry->namelen, in xrep_xattr_salvage_remote_attr() 335 .name = rentry->name, in xrep_xattr_salvage_remote_attr() 336 .valuelen = be32_to_cpu(rentry->valuelen), in xrep_xattr_salvage_remote_attr() 346 namesize = xfs_attr_leaf_entsize_remote(rentry->namelen); in xrep_xattr_salvage_remote_attr() 347 if ((char *)rentry + namesize > buf_end) in xrep_xattr_salvage_remote_attr() 350 !xrep_xattr_want_salvage(rx, ent->flags, rentry->name, in xrep_xattr_salvage_remote_attr() 351 rentry->namelen, NULL, args.valuelen)) in xrep_xattr_salvage_remote_attr() 377 error = xrep_xattr_salvage_key(rx, ent->flags, rentry->name, in xrep_xattr_salvage_remote_attr() 378 rentry->namelen, ab->value, args.valuelen); in xrep_xattr_salvage_remote_attr() [all …]
|
| /linux/drivers/perf/ |
| H A D | thunderx2_pmu.c | 789 struct resource_entry *rentry; in tx2_uncore_pmu_init_dev() local 800 list_for_each_entry(rentry, &list, node) { in tx2_uncore_pmu_init_dev() 801 if (resource_type(rentry->res) == IORESOURCE_MEM) { in tx2_uncore_pmu_init_dev() 802 res = *rentry->res; in tx2_uncore_pmu_init_dev() 803 rentry = NULL; in tx2_uncore_pmu_init_dev() 809 if (rentry) { in tx2_uncore_pmu_init_dev()
|
| H A D | xgene_pmu.c | 1453 struct resource_entry *rentry; in acpi_get_pmu_hw_inf() local 1468 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf() 1469 if (resource_type(rentry->res) == IORESOURCE_MEM) { in acpi_get_pmu_hw_inf() 1470 res = *rentry->res; in acpi_get_pmu_hw_inf() 1471 rentry = NULL; in acpi_get_pmu_hw_inf() 1477 if (rentry) { in acpi_get_pmu_hw_inf()
|
| /linux/drivers/acpi/x86/ |
| H A D | lpss.c | 617 struct resource_entry *rentry; in acpi_lpss_create_device() local 635 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device() 636 if (rentry) { in acpi_lpss_create_device() 640 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device() 641 pdata->mmio_base = ioremap(rentry->res->start, pdata->mmio_size); in acpi_lpss_create_device()
|
| /linux/kernel/trace/ |
| H A D | trace_functions_graph.c | 1246 struct fgraph_retaddr_ent_entry *rentry; in print_graph_entry() local 1247 u8 save_buf[sizeof(*rentry) + FTRACE_REGS_MAX_ARGS * sizeof(long)]; in print_graph_entry()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc.c | 2904 u16 entry, rentry; in npc_mcam_set_bit() local 2907 rentry = mcam->bmap_entries - index - 1; in npc_mcam_set_bit() 2910 __set_bit(rentry, mcam->bmap_reverse); in npc_mcam_set_bit() 2920 u16 entry, rentry; in npc_mcam_clear_bit() local 2923 rentry = mcam->bmap_entries - index - 1; in npc_mcam_clear_bit() 2926 __clear_bit(rentry, mcam->bmap_reverse); in npc_mcam_clear_bit()
|