Home
last modified time | relevance | path

Searched refs:IORESOURCE_MEM (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/linux-4.19.296/drivers/pci/controller/
Dpci-versatile.c92 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()
Dpcie-cadence-host.c183 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()
Dpci-xgene.c205 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/
Dpcie-designware-plat.c149 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()
Dpci-dra7xx.c410 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/
Dpci_iomap.c45 if (flags & IORESOURCE_MEM) in pci_iomap_range()
89 if (flags & IORESOURCE_MEM) in pci_iomap_wc_range()
/linux-4.19.296/drivers/pci/
Dsetup-bus.c323 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/
Dgpio-clps711x.c36 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()
Dgpio-iop.c33 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in iop3xx_gpio_probe()
/linux-4.19.296/drivers/pci/hotplug/
Dshpchp_sysfs.c37 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/
Dpnp.h108 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()
Dioport.h38 #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/
Docteon-rng.c75 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/
Dreset-hsdk.c100 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/
Dtpm_crb.c449 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()
Dtpm_tis.c271 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/
Dti-abb-regulator.c729 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/
Darm-device.c36 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/
Dcpuidle-clps711x.c46 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in clps711x_cpuidle_probe()
Dcpuidle-kirkwood.c60 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in kirkwood_cpuidle_probe()
/linux-4.19.296/drivers/i2c/busses/
Di2c-puv3.c192 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/
Dmv64x60_edac.c85 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/
Dclk-sun6i-apb0.c40 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sun6i_a31_apb0_clk_probe()
/linux-4.19.296/drivers/char/ipmi/
Dipmi_si_platform.c110 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/
Dlpc18xx_eeprom.c178 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()

12345678910>>...20