Home
last modified time | relevance | path

Searched refs:mmio_res (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_dfl.c117 uart.port.mapbase = dfl_dev->mmio_res.start; in dfl_uart_probe()
118 uart.port.mapsize = resource_size(&dfl_dev->mmio_res); in dfl_uart_probe()
/openbmc/linux/drivers/fpga/
H A Ddfl.c343 if (ddev->mmio_res.parent) in release_dfl_dev()
344 release_resource(&ddev->mmio_res); in release_dfl_dev()
399 ddev->mmio_res.flags = IORESOURCE_MEM; in dfl_dev_add()
400 ddev->mmio_res.start = parent_res->start; in dfl_dev_add()
401 ddev->mmio_res.end = parent_res->end; in dfl_dev_add()
406 dev_name(&ddev->dev), &ddev->mmio_res); in dfl_dev_add()
737 struct resource mmio_res; member
841 &finfo->mmio_res); in build_info_commit_dev()
1193 finfo->mmio_res.flags = IORESOURCE_MEM; in create_feature_instance()
1194 finfo->mmio_res.start = start; in create_feature_instance()
[all …]
H A Ddfl-n3000-nios.c540 nn->base = devm_ioremap_resource(&ddev->dev, &ddev->mmio_res); in n3000_nios_probe()
/openbmc/linux/include/linux/
H A Ddfl.h46 struct resource mmio_res; member
/openbmc/linux/drivers/uio/
H A Duio_dfl.c16 struct resource *r = &ddev->mmio_res; in uio_dfl_probe()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom-ep.c182 struct resource *mmio_res; member
495 writel_relaxed(pcie_ep->mmio_res->start, in qcom_pcie_perst_deassert()
559 pcie_ep->mmio_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, in qcom_pcie_ep_get_io_resources()
561 if (!pcie_ep->mmio_res) { in qcom_pcie_ep_get_io_resources()
566 pcie_ep->mmio = devm_pci_remap_cfg_resource(dev, pcie_ep->mmio_res); in qcom_pcie_ep_get_io_resources()
/openbmc/linux/drivers/spi/
H A Dspi-altera-dfl.c143 base = devm_ioremap_resource(dev, &dfl_dev->mmio_res); in dfl_spi_altera_probe()
/openbmc/linux/drivers/memory/
H A Ddfl-emif.c230 de->base = devm_ioremap_resource(dev, &ddev->mmio_res); in dfl_emif_probe()
/openbmc/linux/drivers/pci/
H A Dsetup-bus.c1828 struct resource *io_res, *mmio_res, *mmio_pref_res; in pci_bus_distribute_available_resources() local
1833 mmio_res = &bridge->resource[PCI_BRIDGE_MEM_WINDOW]; in pci_bus_distribute_available_resources()
1844 align = pci_resource_alignment(bridge, mmio_res); in pci_bus_distribute_available_resources()
1845 if (!mmio_res->parent && align) in pci_bus_distribute_available_resources()
1858 adjust_bridge_window(bridge, mmio_res, add_list, resource_size(&mmio)); in pci_bus_distribute_available_resources()
/openbmc/linux/drivers/ptp/
H A Dptp_dfl_tod.c289 dt->tod_ctrl = devm_ioremap_resource(dev, &ddev->mmio_res); in dfl_tod_probe()
/openbmc/linux/drivers/net/ethernet/socionext/
H A Dnetsec.c1993 struct resource *mmio_res, *eeprom_res; in netsec_probe() local
2000 mmio_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in netsec_probe()
2001 if (!mmio_res) { in netsec_probe()
2032 priv->ioaddr = devm_ioremap(&pdev->dev, mmio_res->start, in netsec_probe()
2033 resource_size(mmio_res)); in netsec_probe()
/openbmc/linux/drivers/mfd/
H A Dintel-m10-bmc-pmci.c395 pmci->base = devm_ioremap_resource(dev, &ddev->mmio_res); in m10bmc_pmci_probe()