/linux-4.19.296/drivers/pci/controller/ |
D | pci-versatile.c | 92 case IORESOURCE_MEM: in versatile_pci_parse_request_of_pci_ranges() 129 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in versatile_pci_probe() 134 res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in versatile_pci_probe() 139 res = platform_get_resource(pdev, IORESOURCE_MEM, 2); in versatile_pci_probe()
|
D | pcie-cadence-host.c | 183 if ((range.flags & IORESOURCE_TYPE_BITS) == IORESOURCE_MEM) in cdns_pcie_host_init_address_translation() 282 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "reg"); in cdns_pcie_host_probe() 289 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "cfg"); in cdns_pcie_host_probe() 297 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mem"); in cdns_pcie_host_probe()
|
D | pci-xgene.c | 205 flags = IORESOURCE_MEM; in xgene_get_csr_resource() 353 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "csr"); in xgene_pcie_map_reg() 358 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "cfg"); in xgene_pcie_map_reg() 378 if (restype == IORESOURCE_MEM) { in xgene_pcie_setup_ob_reg() 430 case IORESOURCE_MEM: in xgene_pcie_map_ranges()
|
/linux-4.19.296/drivers/pci/controller/dwc/ |
D | pcie-designware-plat.c | 149 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dbi2"); in dw_plat_add_pcie_ep() 154 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "addr_space"); in dw_plat_add_pcie_ep() 201 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dbi"); in dw_plat_pcie_probe() 203 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dw_plat_pcie_probe()
|
D | pci-dra7xx.c | 410 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ep_dbics"); in dra7xx_add_pcie_ep() 415 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ep_dbics2"); in dra7xx_add_pcie_ep() 420 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "addr_space"); in dra7xx_add_pcie_ep() 463 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rc_dbics"); in dra7xx_add_pcie_port() 632 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ti_conf"); in dra7xx_pcie_probe()
|
/linux-4.19.296/lib/ |
D | pci_iomap.c | 45 if (flags & IORESOURCE_MEM) in pci_iomap_range() 89 if (flags & IORESOURCE_MEM) in pci_iomap_wc_range()
|
/linux-4.19.296/drivers/pci/ |
D | setup-bus.c | 323 return mask & (IORESOURCE_IO | IORESOURCE_MEM | IORESOURCE_PREFETCH); in pci_fail_res_type_mask() 336 else if ((mask & IORESOURCE_MEM) && in pci_need_to_release() 343 if (res->flags & IORESOURCE_MEM) in pci_need_to_release() 344 return !!(mask & IORESOURCE_MEM); in pci_need_to_release() 546 if (res->flags & IORESOURCE_MEM) { in pci_setup_cardbus() 556 if (res->flags & IORESOURCE_MEM) { in pci_setup_cardbus() 623 if (res->flags & IORESOURCE_MEM) { in pci_setup_bridge_mmio() 676 if (type & IORESOURCE_MEM) in __pci_setup_bridge() 691 unsigned long type = IORESOURCE_IO | IORESOURCE_MEM | in pci_setup_bridge() 741 b_res[1].flags |= IORESOURCE_MEM; in pci_bridge_check_ranges() [all …]
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-clps711x.c | 36 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in clps711x_gpio_probe() 41 res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in clps711x_gpio_probe()
|
D | gpio-iop.c | 33 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in iop3xx_gpio_probe()
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | shpchp_sysfs.c | 37 if (res && (res->flags & IORESOURCE_MEM) && in show_ctrl() 46 if (res && (res->flags & IORESOURCE_MEM) && in show_ctrl()
|
/linux-4.19.296/include/linux/ |
D | pnp.h | 108 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_start() 118 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_end() 127 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_flags() 131 return IORESOURCE_MEM | IORESOURCE_AUTO; in pnp_mem_flags() 136 return pnp_resource_valid(pnp_get_resource(dev, IORESOURCE_MEM, bar)); in pnp_mem_valid() 142 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_len()
|
D | ioport.h | 38 #define IORESOURCE_MEM 0x00000200 macro 68 #define IORESOURCE_SYSTEM_RAM (IORESOURCE_MEM|IORESOURCE_SYSRAM) 154 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_MEM)
|
/linux-4.19.296/drivers/char/hw_random/ |
D | octeon-rng.c | 75 res_ports = platform_get_resource(pdev, IORESOURCE_MEM, 0); in octeon_rng_probe() 79 res_result = platform_get_resource(pdev, IORESOURCE_MEM, 1); in octeon_rng_probe()
|
/linux-4.19.296/drivers/reset/ |
D | reset-hsdk.c | 100 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hsdk_reset_probe() 105 mem = platform_get_resource(pdev, IORESOURCE_MEM, 1); in hsdk_reset_probe()
|
/linux-4.19.296/drivers/char/tpm/ |
D | tpm_crb.c | 449 if (resource_type(iores_array + i) != IORESOURCE_MEM) { in crb_check_resource() 466 .flags = IORESOURCE_MEM, in crb_map_res() 531 if (resource_type(iores_array) != IORESOURCE_MEM) { in crb_map_io() 535 IORESOURCE_MEM) { in crb_map_io() 544 for (i = 0; resource_type(iores_array + i) == IORESOURCE_MEM; ++i) { in crb_map_io() 620 for (i = 0; resource_type(iores_array + i) == IORESOURCE_MEM; ++i) { in crb_map_io()
|
D | tpm_tis.c | 271 res = pnp_get_resource(pnp_dev, IORESOURCE_MEM, 0); in tpm_tis_pnp_init() 328 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in tpm_tis_plat_probe() 383 .flags = IORESOURCE_MEM, in tpm_tis_force_device()
|
/linux-4.19.296/drivers/regulator/ |
D | ti-abb-regulator.c | 729 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in ti_abb_probe() 739 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in ti_abb_probe() 745 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in ti_abb_probe() 752 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in ti_abb_probe() 770 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in ti_abb_probe() 789 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); in ti_abb_probe()
|
/linux-4.19.296/drivers/xen/ |
D | arm-device.c | 36 if ((resource_type(r) != IORESOURCE_MEM) || (nr == 0)) in xen_unmap_device_mmio() 70 if ((resource_type(r) != IORESOURCE_MEM) || (nr == 0)) in xen_map_device_mmio()
|
/linux-4.19.296/drivers/cpuidle/ |
D | cpuidle-clps711x.c | 46 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in clps711x_cpuidle_probe()
|
D | cpuidle-kirkwood.c | 60 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in kirkwood_cpuidle_probe()
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-puv3.c | 192 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in puv3_i2c_probe() 238 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in puv3_i2c_remove()
|
/linux-4.19.296/drivers/edac/ |
D | mv64x60_edac.c | 85 r = platform_get_resource(pdev, IORESOURCE_MEM, 1); in mv64x60_pci_fixup() 131 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mv64x60_pci_err_probe() 296 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mv64x60_sram_err_probe() 463 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mv64x60_cpu_err_probe() 490 r = platform_get_resource(pdev, IORESOURCE_MEM, 1); in mv64x60_cpu_err_probe() 729 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mv64x60_mc_err_probe()
|
/linux-4.19.296/drivers/clk/sunxi/ |
D | clk-sun6i-apb0.c | 40 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sun6i_a31_apb0_clk_probe()
|
/linux-4.19.296/drivers/char/ipmi/ |
D | ipmi_si_platform.c | 110 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in ipmi_get_info_from_resources() 123 IORESOURCE_IO : IORESOURCE_MEM, in ipmi_get_info_from_resources() 312 flags = IORESOURCE_MEM; in find_slave_address()
|
/linux-4.19.296/drivers/nvmem/ |
D | lpc18xx_eeprom.c | 178 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "reg"); in lpc18xx_eeprom_probe() 183 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mem"); in lpc18xx_eeprom_probe()
|