/drivers/tty/serial/8250/ |
D | 8250_men_mcb.c | 84 static int read_uarts_available_from_register(struct resource *mem_res, in read_uarts_available_from_register() argument 90 if (!request_mem_region(mem_res->start + MEN_Z025_REGISTER_OFFSET, in read_uarts_available_from_register() 95 mem = ioremap(mem_res->start + MEN_Z025_REGISTER_OFFSET, in read_uarts_available_from_register() 98 release_mem_region(mem_res->start + MEN_Z025_REGISTER_OFFSET, in read_uarts_available_from_register() 107 release_mem_region(mem_res->start + MEN_Z025_REGISTER_OFFSET, in read_uarts_available_from_register() 116 struct resource *mem_res, in read_serial_data() argument 125 res = read_uarts_available_from_register(mem_res, &uarts_available); in read_serial_data() 165 struct resource *mem_res, in init_serial_data() argument 175 return read_serial_data(mdev, mem_res, serial_data); in init_serial_data()
|
/drivers/pci/controller/ |
D | pci-rcar-gen2.c | 99 struct resource mem_res; member 247 val = priv->mem_res.start | RCAR_AHBPCI_WIN_CTR_MEM; in rcar_pci_setup() 281 struct resource *cfg_res, *mem_res; in rcar_pci_probe() local 297 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in rcar_pci_probe() 298 if (!mem_res || !mem_res->start) in rcar_pci_probe() 301 if (mem_res->start & 0xFFFF) in rcar_pci_probe() 304 priv->mem_res = *mem_res; in rcar_pci_probe()
|
D | pcie-rockchip.c | 43 rockchip->mem_res = in rockchip_pcie_parse_dt() 46 if (!rockchip->mem_res) in rockchip_pcie_parse_dt()
|
D | pcie-rockchip.h | 320 struct resource *mem_res; member
|
D | pcie-rockchip-ep.c | 563 windows[i].phys_base = rockchip->mem_res->start + (SZ_1M * i); in rockchip_pcie_ep_probe()
|
/drivers/usb/isp1760/ |
D | isp1760-if.c | 194 struct resource *mem_res; in isp1760_plat_probe() local 198 mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in isp1760_plat_probe() 241 ret = isp1760_register(mem_res, irq, irqflags, &pdev->dev, devflags); in isp1760_plat_probe()
|
/drivers/spi/ |
D | spi-ingenic.c | 64 struct resource *mem_res; member 128 .src_addr = priv->mem_res->start + REG_SSIDR, in spi_ingenic_prepare_dma() 129 .dst_addr = priv->mem_res->start + REG_SSIDR, in spi_ingenic_prepare_dma() 410 base = devm_platform_get_and_ioremap_resource(pdev, 0, &priv->mem_res); in spi_ingenic_probe()
|
D | spi-s3c64xx.c | 1181 struct resource *mem_res; in s3c64xx_spi_probe() local 1255 sdd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &mem_res); in s3c64xx_spi_probe() 1258 sdd->sfr_start = mem_res->start; in s3c64xx_spi_probe() 1317 mem_res, sdd->fifo_depth); in s3c64xx_spi_probe()
|
/drivers/vlynq/ |
D | vlynq.c | 656 struct resource *regs_res, *mem_res, *irq_res; in vlynq_probe() local 663 mem_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mem"); in vlynq_probe() 664 if (!mem_res) in vlynq_probe() 687 dev->mem_start = mem_res->start; in vlynq_probe() 688 dev->mem_end = mem_res->end; in vlynq_probe()
|
/drivers/ata/ |
D | pata_ep93xx.c | 926 struct resource *mem_res; in ep93xx_pata_probe() local 941 ide_base = devm_platform_get_and_ioremap_resource(pdev, 0, &mem_res); in ep93xx_pata_probe() 955 drv_data->udma_in_phys = mem_res->start + IDEUDMADATAIN; in ep93xx_pata_probe() 956 drv_data->udma_out_phys = mem_res->start + IDEUDMADATAOUT; in ep93xx_pata_probe()
|
/drivers/mfd/ |
D | sm501.c | 70 struct resource *mem_res; member 786 res->parent = sm->mem_res; in sm501_create_mem() 787 res->start = sm->mem_res->start + *offs; in sm501_create_mem() 1394 sm->mem_res = platform_get_resource(dev, IORESOURCE_MEM, 0); in sm501_plat_probe() 1395 if (!sm->io_res || !sm->mem_res) { in sm501_plat_probe() 1609 sm->mem_res = &dev->resource[0]; in sm501_pci_probe()
|
/drivers/tty/serial/ |
D | ar933x_uart.c | 711 struct resource *mem_res; in ar933x_uart_probe() local 752 port->membase = devm_platform_get_and_ioremap_resource(pdev, 0, &mem_res); in ar933x_uart_probe() 766 port->mapbase = mem_res->start; in ar933x_uart_probe()
|
/drivers/mmc/host/ |
D | jz4740_mmc.c | 158 struct resource *mem_res; member 341 conf.dst_addr = host->mem_res->start + JZ_REG_MMC_TXFIFO; in jz4740_mmc_start_dma_transfer() 344 conf.src_addr = host->mem_res->start + JZ_REG_MMC_RXFIFO; in jz4740_mmc_start_dma_transfer() 1082 host->base = devm_platform_get_and_ioremap_resource(pdev, 0, &host->mem_res); in jz4740_mmc_probe()
|
D | davinci_mmc.c | 174 struct resource *mem_res; member 409 .dst_addr = host->mem_res->start + DAVINCI_MMCDXR, in mmc_davinci_send_dma_request() 431 .src_addr = host->mem_res->start + DAVINCI_MMCDRR, in mmc_davinci_send_dma_request() 1218 host->mem_res = mem; in davinci_mmcsd_probe()
|
/drivers/pci/controller/cadence/ |
D | pcie-cadence-ep.c | 665 pcie->mem_res = res; in cdns_pcie_ep_setup() 714 ret = pci_epc_mem_init(epc, pcie->mem_res->start, in cdns_pcie_ep_setup() 715 resource_size(pcie->mem_res), PAGE_SIZE); in cdns_pcie_ep_setup()
|
D | pcie-cadence.h | 299 struct resource *mem_res; member
|
/drivers/ufs/host/ |
D | ufs-qcom.c | 1744 struct ufshcd_res_info *mem_res, *sqdao_res; in ufs_qcom_op_runtime_config() local 1748 mem_res = &hba->res[RES_UFS]; in ufs_qcom_op_runtime_config() 1751 if (!mem_res->base || !sqdao_res->base) in ufs_qcom_op_runtime_config() 1757 mem_res->resource->start + 0x40 * i; in ufs_qcom_op_runtime_config()
|
/drivers/net/wireless/ath/ath11k/ |
D | ahb.c | 894 struct resource *mem_res; in ath11k_ahb_setup_resources() local 900 mem = devm_platform_get_and_ioremap_resource(pdev, 0, &mem_res); in ath11k_ahb_setup_resources() 907 ab->mem_len = resource_size(mem_res); in ath11k_ahb_setup_resources()
|