Home
last modified time | relevance | path

Searched refs:IORESOURCE_IO (Results 1 – 25 of 66) sorted by relevance

123

/linux-4.19.296/lib/
Dpci_iomap.c43 if (flags & IORESOURCE_IO) in pci_iomap_range()
78 if (flags & IORESOURCE_IO) 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()
328 if (res->flags & IORESOURCE_IO) in pci_need_to_release()
329 return !!(mask & IORESOURCE_IO); in pci_need_to_release()
522 if (res->flags & IORESOURCE_IO) { in pci_setup_cardbus()
536 if (res->flags & IORESOURCE_IO) { in pci_setup_cardbus()
593 if (res->flags & IORESOURCE_IO) { in pci_setup_bridge_io()
673 if (type & IORESOURCE_IO) in __pci_setup_bridge()
691 unsigned long type = IORESOURCE_IO | IORESOURCE_MEM | in pci_setup_bridge()
744 b_res[0].flags |= IORESOURCE_IO; in pci_bridge_check_ranges()
828 else if (type & IORESOURCE_IO) { in window_alignment()
[all …]
Dsetup-res.c59 if (res->flags & IORESOURCE_IO) { in pci_std_update_resource()
223 if (res->flags & IORESOURCE_IO) in pci_revert_fw_address()
263 min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM; in __pci_assign_resource()
482 if (!(r->flags & (IORESOURCE_IO | IORESOURCE_MEM))) in pci_enable_resources()
500 if (r->flags & IORESOURCE_IO) in pci_enable_resources()
Dof.c306 if ((range.flags & IORESOURCE_TYPE_BITS) == IORESOURCE_IO) in devm_of_pci_get_host_bridge_resources()
333 if (resource_type(res) == IORESOURCE_IO) { in devm_of_pci_get_host_bridge_resources()
612 case IORESOURCE_IO: in pci_parse_request_of_pci_ranges()
/linux-4.19.296/include/linux/
Dpnp.h62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start()
72 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_end()
82 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_flags()
86 return IORESOURCE_IO | IORESOURCE_AUTO; in pnp_port_flags()
91 return pnp_resource_valid(pnp_get_resource(dev, IORESOURCE_IO, bar)); in pnp_port_valid()
97 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_len()
Dioport.h37 #define IORESOURCE_IO 0x00000100 /* PCI/ISA I/O ports */ macro
149 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_IO)
/linux-4.19.296/drivers/char/ipmi/
Dipmi_si_platform.c106 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in ipmi_get_info_from_resources()
123 IORESOURCE_IO : IORESOURCE_MEM, in ipmi_get_info_from_resources()
277 if (resource.flags & IORESOURCE_IO) in of_ipmi_probe()
309 u32 flags = IORESOURCE_IO; in find_slave_address()
Dipmi_si_pci.c109 if (pci_resource_flags(pdev, 0) & IORESOURCE_IO) { in ipmi_pci_probe()
Dipmi_si_hardcode.c223 IORESOURCE_IO); in ipmi_hardcode_init()
Dipmi_dmi.c206 u32 flags = IORESOURCE_IO; in dmi_decode_ipmi()
/linux-4.19.296/drivers/gpio/
Dgpio-rdc321x.c149 r = platform_get_resource_byname(pdev, IORESOURCE_IO, "gpio-reg1"); in rdc321x_gpio_probe()
160 r = platform_get_resource_byname(pdev, IORESOURCE_IO, "gpio-reg2"); in rdc321x_gpio_probe()
Dgpio-vx855.c250 res_gpi = platform_get_resource(pdev, IORESOURCE_IO, 0); in vx855gpio_probe()
251 res_gpo = platform_get_resource(pdev, IORESOURCE_IO, 1); in vx855gpio_probe()
Dgpio-ich.c449 res_base = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_GPIO); in ichx_gpio_probe()
466 res_pm = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_GPE0); in ichx_gpio_probe()
Dgpio-sch.c166 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in sch_gpio_probe()
/linux-4.19.296/drivers/eisa/
Dpci_eisa.c43 if (res && (res->flags & IORESOURCE_IO)) { in pci_eisa_init()
Deisa-bus.c284 edev->res[i].flags = IORESOURCE_IO; in eisa_request_resources()
290 edev->res[i].flags = IORESOURCE_IO | IORESOURCE_BUSY; in eisa_request_resources()
410 .flags = IORESOURCE_IO,
/linux-4.19.296/drivers/rtc/
Drtc-bq4802.c153 p->r = platform_get_resource(pdev, IORESOURCE_IO, 0); in bq4802_probe()
158 if (p->r->flags & IORESOURCE_IO) { in bq4802_probe()
Drtc-m48t59.c389 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in m48t59_rtc_probe()
394 if (res->flags & IORESOURCE_IO) { in m48t59_rtc_probe()
/linux-4.19.296/drivers/irqchip/
Dirq-i8259.c292 .flags = IORESOURCE_IO | IORESOURCE_BUSY
299 .flags = IORESOURCE_IO | IORESOURCE_BUSY
/linux-4.19.296/drivers/pci/hotplug/
Dshpchp_sysfs.c55 if (res && (res->flags & IORESOURCE_IO)) { in show_ctrl()
/linux-4.19.296/drivers/of/
Daddress.c133 flags |= IORESOURCE_IO; in of_bus_pci_get_flags()
155 if ((af ^ rf) & (IORESOURCE_MEM | IORESOURCE_IO)) in of_bus_pci_map()
336 if (res->flags & IORESOURCE_IO) { in of_pci_range_to_resource()
420 flags |= IORESOURCE_IO; in of_bus_isa_get_flags()
763 else if (flags & IORESOURCE_IO) in __of_address_to_resource()
/linux-4.19.296/drivers/virtio/
Dvirtio_pci_modern.c610 IORESOURCE_IO | IORESOURCE_MEM, in virtio_pci_modern_probe()
620 IORESOURCE_IO | IORESOURCE_MEM, in virtio_pci_modern_probe()
623 IORESOURCE_IO | IORESOURCE_MEM, in virtio_pci_modern_probe()
643 IORESOURCE_IO | IORESOURCE_MEM, in virtio_pci_modern_probe()
/linux-4.19.296/drivers/pci/controller/
Dpci-versatile.c84 case IORESOURCE_IO: in versatile_pci_parse_request_of_pci_ranges()
/linux-4.19.296/drivers/i2c/busses/
Di2c-isch.c269 res = platform_get_resource(dev, IORESOURCE_IO, 0); in smbus_sch_probe()
/linux-4.19.296/drivers/misc/
Dcs5535-mfgpt.c337 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in cs5535_mfgpt_probe()

123