/openbmc/linux/arch/powerpc/platforms/chrp/ |
H A D | pegasos_eth.c | 34 static struct resource mv643xx_eth_shared_resources[] = { 48 .resource = mv643xx_eth_shared_resources, 54 static struct resource mv643xx_eth_mvmdio_resources[] = { 67 .resource = mv643xx_eth_mvmdio_resources, 70 static struct resource mv643xx_eth_port1_resources[] = { 97 .resource = mv643xx_eth_port1_resources,
|
/openbmc/linux/arch/sh/kernel/cpu/sh4a/ |
H A D | setup-sh7780.c | 24 static struct resource scif0_resources[] = { 32 .resource = scif0_resources, 45 static struct resource scif1_resources[] = { 53 .resource = scif1_resources, 64 static struct resource tmu0_resources[] = { 77 .resource = tmu0_resources, 98 .resource = tmu1_resources, 102 static struct resource rtc_resources[] = { 119 .resource = rtc_resources, 241 .resource = sh7780_dmae0_resources, [all …]
|
/openbmc/linux/arch/mips/ar7/ |
H A D | platform.c | 88 static struct resource vlynq_low_res[] = { 115 static struct resource vlynq_high_res[] = { 166 .resource = vlynq_low_res, 176 .resource = vlynq_high_res, 202 .resource = &physmap_flash_resource, 267 .resource = cpmac_low_res, 279 .resource = cpmac_high_res, 306 static struct resource usb_res[] = { 329 .resource = usb_res, 533 static struct resource ar7_wdt_res = { [all …]
|
/openbmc/linux/arch/sh/boards/mach-kfr2r09/ |
H A D | setup.c | 72 static struct resource kfr2r09_nor_flash_resources[] = { 83 .resource = kfr2r09_nor_flash_resources, 101 .resource = kfr2r09_nand_flash_resources, 119 static struct resource kfr2r09_sh_keysc_resources[] = { 136 .resource = kfr2r09_sh_keysc_resources, 182 static struct resource kfr2r09_sh_lcdc_resources[] = { 198 .resource = kfr2r09_sh_lcdc_resources, 241 .resource = kfr2r09_usb0_gadget_resources, 257 static struct resource kfr2r09_ceu_resources[] = { 275 .resource = kfr2r09_ceu_resources, [all …]
|
/openbmc/linux/arch/sh/boards/mach-migor/ |
H A D | setup.c | 55 static struct resource smc91x_eth_resources[] = { 71 .resource = smc91x_eth_resources, 90 static struct resource sh_keysc_resources[] = { 106 .resource = sh_keysc_resources, 149 .resource = migor_nor_flash_resources, 212 .resource = migor_nand_flash_resources, 299 .resource = migor_lcdc_resources, 325 static struct resource migor_ceu_resources[] = { 342 .resource = migor_ceu_resources, 373 static struct resource sdhi_cn9_resources[] = { [all …]
|
/openbmc/linux/arch/mips/rb532/ |
H A D | devices.c | 59 static struct resource korina_dev0_res[] = { 96 .resource = korina_dev0_res, 103 static struct resource cf_slot0_res[] = { 127 .resource = cf_slot0_res, 154 static struct resource nand_slot0_res[] = { 169 .resource = nand_slot0_res, 196 static struct resource rb532_wdt_res[] = { 208 .resource = rb532_wdt_res,
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | dev-audio-s3c64xx.c | 49 static struct resource s3c64xx_iis0_resource[] = { 61 .resource = s3c64xx_iis0_resource, 68 static struct resource s3c64xx_iis1_resource[] = { 80 .resource = s3c64xx_iis1_resource,
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | acpi-ext.c | 33 struct acpi_resource *resource; in hp_ccsr_locate() local 39 resource = buffer.pointer; in hp_ccsr_locate() 40 vendor = &resource->data.vendor_typed; in hp_ccsr_locate() 60 static acpi_status find_csr_space(struct acpi_resource *resource, void *data) in find_csr_space() argument 66 status = acpi_resource_to_address64(resource, &addr); in find_csr_space()
|
/openbmc/linux/drivers/mfd/ |
H A D | ocelot-core.c | 118 static const struct resource vsc7512_miim0_resources[] = { 123 static const struct resource vsc7512_miim1_resources[] = { 127 static const struct resource vsc7512_pinctrl_resources[] = { 131 static const struct resource vsc7512_sgpio_resources[] = { 135 static const struct resource vsc7512_serdes_resources[] = { 139 static const struct resource vsc7512_switch_resources[] = { 201 const struct resource *res) in ocelot_core_try_add_regmap()
|
H A D | 88pm860x-core.c | 29 static const struct resource bk0_resources[] = { 34 static const struct resource bk1_resources[] = { 39 static const struct resource bk2_resources[] = { 45 static const struct resource led0_resources[] = { 50 static const struct resource led1_resources[] = { 125 static struct resource touch_resources[] = { 129 static struct resource onkey_resources[] = { 133 static struct resource codec_resources[] = { 145 static struct resource battery_resources[] = { 150 static struct resource charger_resources[] = { [all …]
|
H A D | timberdale.c | 79 static const struct resource timberdale_xiic_resources[] = { 140 static const struct resource timberdale_spi_resources[] = { 159 static const struct resource timberdale_eth_resources[] = { 179 static const struct resource timberdale_gpio_resources[] = { 251 static const struct resource 745 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe() 751 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe() 757 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe() 763 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe() 779 &dev->resource[1], msix_entries[0].vector, NULL); in timb_probe() [all …]
|
/openbmc/linux/arch/sh/include/cpu-common/cpu/ |
H A D | pfc.h | 13 struct resource; 16 struct resource *resource, u32 num_resources);
|
/openbmc/linux/drivers/pcmcia/ |
H A D | cs_internal.h | 33 struct resource io[MAX_IO_WIN]; /* io ports */ 34 struct resource mem[MAX_WIN]; /* mem areas */ 53 struct resource **parent); 54 struct resource* (*find_mem) (unsigned long base, unsigned long num, 80 extern struct resource *pcmcia_make_resource(resource_size_t start, 142 extern struct resource *pcmcia_find_mem_region(u_long base,
|
/openbmc/linux/arch/mips/alchemy/ |
H A D | board-gpr.c | 80 static struct resource gpr_wdt_resource[] = { 93 .resource = gpr_wdt_resource, 146 static struct resource gpr_mtd_resource = { 158 .resource = &gpr_mtd_resource, 233 static struct resource alchemy_pci_host_res[] = { 267 .resource = alchemy_pci_host_res,
|
/openbmc/linux/arch/sh/boards/mach-sh7763rdp/ |
H A D | setup.c | 46 static struct resource sh7763rdp_nor_flash_resources[] = { 57 .resource = sh7763rdp_nor_flash_resources, 70 static struct resource sh_eth_resources[] = { 92 .resource = sh_eth_resources, 100 static struct resource sh7763rdp_fb_resources[] = { 140 .resource = sh7763rdp_fb_resources,
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 86 struct resource *win = (struct resource *) map->map_priv_2; in remap_window() 323 if (link->resource[2]->end) { in pcmciamtd_release() 497 link->resource[2]->start = 0; in pcmciamtd_config() 511 link->resource[2]->start = 0; in pcmciamtd_config() 512 link->resource[2]->end = (force_size) ? in pcmciamtd_config() 514 link->resource[2]->end >>= j; in pcmciamtd_config() 517 resource_size(link->resource[2]) >> 10); in pcmciamtd_config() 521 } while (link->resource[2]->end >= 0x1000); in pcmciamtd_config() 534 resource_size(link->resource[2])); in pcmciamtd_config() 537 link->resource[2]); in pcmciamtd_config() [all …]
|
/openbmc/linux/arch/sh/boards/mach-se/7206/ |
H A D | setup.c | 19 static struct resource smc91x_resources[] = { 46 .resource = smc91x_resources, 56 static struct resource heartbeat_resource = { 69 .resource = &heartbeat_resource,
|
/openbmc/linux/arch/sh/boards/mach-se/7721/ |
H A D | setup.c | 24 static struct resource heartbeat_resource = { 37 .resource = &heartbeat_resource, 40 static struct resource cf_ide_resources[] = { 61 .resource = cf_ide_resources,
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm_move.c | 116 if (!bo->resource) { in i915_ttm_adjust_gem_after_move() 123 mem_type = bo->resource->mem_type; in i915_ttm_adjust_gem_after_move() 223 i915_ttm_resource_get_st(obj, bo->resource); in i915_ttm_accel_move() 233 i915_ttm_gtt_binds_lmem(bo->resource), in i915_ttm_accel_move() 321 src_reg = i915_ttm_region(bo->bdev, bo->resource->mem_type); in i915_ttm_memcpy_init() 329 arg->src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ? in i915_ttm_memcpy_init() 339 i915_ttm_resource_get_st(obj, bo->resource); in i915_ttm_memcpy_init() 460 if (!(i915_ttm_resource_mappable(bo->resource) && in i915_ttm_memcpy_allowed() 589 if (!bo->resource) { in i915_ttm_move() 721 if (GEM_WARN_ON(!src_bo->resource || !dst_bo->resource)) in i915_gem_obj_copy_ttm() [all …]
|
/openbmc/linux/Documentation/staging/ |
H A D | remoteproc.rst | 247 also include a special section which we call "the resource table". 256 resource entries that publish the existence of supported features 260 The resource table begins with this header:: 263 * struct resource_table - firmware resource table header 265 * @num: number of resource entries 282 each of which begins with the following resource entry header:: 285 * struct fw_rsc_hdr - firmware resource entry header 286 * @type: resource type 287 * @data: resource data 305 Here are the various resource types that are currently supported:: [all …]
|
/openbmc/linux/include/linux/ |
H A D | mcb.h | 73 struct resource irq; 74 struct resource mem; 128 extern struct resource *mcb_request_mem(struct mcb_device *dev, 130 extern void mcb_release_mem(struct resource *mem); 132 extern struct resource *mcb_get_resource(struct mcb_device *dev,
|
/openbmc/linux/arch/arm/mach-footbridge/ |
H A D | isa.c | 15 static struct resource rtc_resources[] = { 31 .resource = rtc_resources, 35 static struct resource serial_resources[] = { 74 .resource = serial_resources,
|
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | setup-sh7760.c | 134 static struct resource scif0_resources[] = { 145 .resource = scif0_resources, 158 static struct resource scif1_resources[] = { 169 .resource = scif1_resources, 182 static struct resource scif2_resources[] = { 193 .resource = scif2_resources, 211 static struct resource scif3_resources[] = { 221 .resource = scif3_resources, 232 static struct resource tmu0_resources[] = { 245 .resource = tmu0_resources,
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | cg14.c | 453 of_iounmap(&op->resource[0], in cg14_unmap_regs() 456 of_iounmap(&op->resource[0], in cg14_unmap_regs() 459 of_iounmap(&op->resource[0], in cg14_unmap_regs() 462 of_iounmap(&op->resource[1], in cg14_unmap_regs() 493 info->fix.smem_start = op->resource[0].start; in cg14_probe() 496 info->fix.smem_start = op->resource[1].start; in cg14_probe() 500 par->regs = of_ioremap(&op->resource[0], 0, in cg14_probe() 502 par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, in cg14_probe() 507 info->screen_base = of_ioremap(&op->resource[1], 0, in cg14_probe() 526 (op->resource[0].start - in cg14_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 78 if (bo->resource) in ttm_bo_move_to_lru_tail() 106 if (bo->resource) in ttm_bo_set_bulk_move() 109 if (bo->resource) in ttm_bo_set_bulk_move() 124 old_use_tt = !bo->resource || ttm_manager_type(bdev, bo->resource->mem_type)->use_tt; in ttm_bo_handle_move_mem() 183 ttm_resource_free(bo, &bo->resource); in ttm_bo_cleanup_memtype_use() 344 ttm_mem_io_free(bdev, bo->resource); in ttm_bo_release() 662 if (bo->resource) in ttm_bo_pin() 684 if (bo->resource) in ttm_bo_unpin() 905 if (bo->resource && ttm_resource_compat(bo->resource, placement)) in ttm_bo_validate() 922 if (!bo->resource || bo->resource->mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate() [all …]
|