/linux-6.3-rc2/drivers/net/mdio/ |
A D | mdio-octeon.c | 20 struct resource *res_mem; in octeon_mdiobus_probe() local 30 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in octeon_mdiobus_probe() 31 if (res_mem == NULL) { in octeon_mdiobus_probe() 38 mdio_phys = res_mem->start; in octeon_mdiobus_probe() 39 regsize = resource_size(res_mem); in octeon_mdiobus_probe() 42 res_mem->name)) { in octeon_mdiobus_probe()
|
/linux-6.3-rc2/drivers/net/can/sja1000/ |
A D | sja1000_platform.c | 221 struct resource *res_mem, *res_irq = NULL; in sp_probe() local 234 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sp_probe() 235 if (!res_mem) in sp_probe() 238 if (!devm_request_mem_region(&pdev->dev, res_mem->start, in sp_probe() 239 resource_size(res_mem), DRV_NAME)) in sp_probe() 242 addr = devm_ioremap(&pdev->dev, res_mem->start, in sp_probe() 243 resource_size(res_mem)); in sp_probe() 298 sp_populate(priv, pdata, res_mem->flags); in sp_probe()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | pic32_uart.c | 683 struct resource *res_mem; in pic32_uart_request_port() local 685 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pic32_uart_request_port() 686 if (unlikely(!res_mem)) in pic32_uart_request_port() 694 resource_size(res_mem)); in pic32_uart_request_port() 708 struct resource *res_mem; in pic32_uart_release_port() local 711 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pic32_uart_release_port() 712 if (unlikely(!res_mem)) in pic32_uart_release_port() 714 res_size = resource_size(res_mem); in pic32_uart_release_port() 871 struct resource *res_mem; in pic32_uart_probe() local 880 if (!res_mem) in pic32_uart_probe() [all …]
|
A D | altera_jtaguart.c | 381 struct resource *res_mem; in altera_jtaguart_probe() local 394 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in altera_jtaguart_probe() 395 if (res_mem) in altera_jtaguart_probe() 396 port->mapbase = res_mem->start; in altera_jtaguart_probe()
|
A D | bcm63xx_uart.c | 777 struct resource *res_mem; in bcm_uart_probe() local 797 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in bcm_uart_probe() 798 if (!res_mem) in bcm_uart_probe() 801 port->mapbase = res_mem->start; in bcm_uart_probe() 802 port->membase = devm_ioremap_resource(&pdev->dev, res_mem); in bcm_uart_probe()
|
A D | altera_uart.c | 533 struct resource *res_mem; in altera_uart_probe() local 549 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in altera_uart_probe() 550 if (res_mem) in altera_uart_probe() 551 port->mapbase = res_mem->start; in altera_uart_probe()
|
A D | meson_uart.c | 695 struct resource *res_mem; in meson_uart_probe() local 718 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in meson_uart_probe() 719 if (!res_mem) in meson_uart_probe() 742 port->mapbase = res_mem->start; in meson_uart_probe() 743 port->mapsize = resource_size(res_mem); in meson_uart_probe()
|
A D | owl-uart.c | 654 struct resource *res_mem; in owl_uart_probe() local 670 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in owl_uart_probe() 671 if (!res_mem) { in owl_uart_probe() 705 owl_port->port.mapbase = res_mem->start; in owl_uart_probe()
|
A D | rda-uart.c | 718 struct resource *res_mem; in rda_uart_probe() local 730 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in rda_uart_probe() 731 if (!res_mem) { in rda_uart_probe() 760 rda_port->port.mapbase = res_mem->start; in rda_uart_probe()
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | ohci-st.c | 130 struct resource *res_mem; in st_ohci_platform_probe() local 142 res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0); in st_ohci_platform_probe() 143 if (!res_mem) { in st_ohci_platform_probe() 202 hcd->rsrc_start = res_mem->start; in st_ohci_platform_probe() 203 hcd->rsrc_len = resource_size(res_mem); in st_ohci_platform_probe() 205 hcd->regs = devm_ioremap_resource(&dev->dev, res_mem); in st_ohci_platform_probe()
|
A D | ehci-st.c | 150 struct resource *res_mem; in st_ehci_platform_probe() local 161 res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0); in st_ehci_platform_probe() 162 if (!res_mem) { in st_ehci_platform_probe() 225 hcd->rsrc_start = res_mem->start; in st_ehci_platform_probe() 226 hcd->rsrc_len = resource_size(res_mem); in st_ehci_platform_probe() 228 hcd->regs = devm_ioremap_resource(&dev->dev, res_mem); in st_ehci_platform_probe()
|
A D | ehci-brcm.c | 132 struct resource *res_mem; in ehci_brcm_probe() local 167 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res_mem); in ehci_brcm_probe() 172 hcd->rsrc_start = res_mem->start; in ehci_brcm_probe() 173 hcd->rsrc_len = resource_size(res_mem); in ehci_brcm_probe()
|
A D | ohci-platform.c | 92 struct resource *res_mem; in ohci_platform_probe() local 203 res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0); in ohci_platform_probe() 204 hcd->regs = devm_ioremap_resource(&dev->dev, res_mem); in ohci_platform_probe() 209 hcd->rsrc_start = res_mem->start; in ohci_platform_probe() 210 hcd->rsrc_len = resource_size(res_mem); in ohci_platform_probe()
|
A D | ehci-platform.c | 239 struct resource *res_mem; in ehci_platform_probe() local 362 res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0); in ehci_platform_probe() 363 hcd->regs = devm_ioremap_resource(&dev->dev, res_mem); in ehci_platform_probe() 368 hcd->rsrc_start = res_mem->start; in ehci_platform_probe() 369 hcd->rsrc_len = resource_size(res_mem); in ehci_platform_probe()
|
A D | octeon-hcd.c | 3535 struct resource *res_mem; in octeon_usb_probe() local 3591 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in octeon_usb_probe() 3592 if (!res_mem) { in octeon_usb_probe() 3596 usb_num = (res_mem->start >> 44) & 1; in octeon_usb_probe()
|
/linux-6.3-rc2/drivers/pcmcia/ |
A D | sa11xx_base.c | 185 skt->res_mem.start = _PCMCIAMem(skt->nr); in sa11xx_drv_pcmcia_add_one() 186 skt->res_mem.end = _PCMCIAMem(skt->nr) + PCMCIAMemSp - 1; in sa11xx_drv_pcmcia_add_one() 187 skt->res_mem.name = "memory"; in sa11xx_drv_pcmcia_add_one() 188 skt->res_mem.flags = IORESOURCE_MEM; in sa11xx_drv_pcmcia_add_one()
|
A D | pxa2xx_base.c | 233 skt->res_mem.start = _PCMCIAMem(skt->nr); in pxa2xx_drv_pcmcia_add_one() 234 skt->res_mem.end = _PCMCIAMem(skt->nr) + PCMCIAMemSp - 1; in pxa2xx_drv_pcmcia_add_one() 235 skt->res_mem.name = "memory"; in pxa2xx_drv_pcmcia_add_one() 236 skt->res_mem.flags = IORESOURCE_MEM; in pxa2xx_drv_pcmcia_add_one()
|
A D | soc_common.c | 648 res = &skt->res_mem; in soc_common_pcmcia_set_mem_map() 788 release_resource(&skt->res_mem); in soc_pcmcia_remove_one() 811 ret = request_resource(&skt->res_skt, &skt->res_mem); in soc_pcmcia_add_one() 880 release_resource(&skt->res_mem); in soc_pcmcia_add_one()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-bcmbca-hsspi.c | 436 struct resource *res_mem; in bcmbca_hsspi_probe() local 448 res_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hsspi"); in bcmbca_hsspi_probe() 449 if (!res_mem) in bcmbca_hsspi_probe() 451 regs = devm_ioremap_resource(dev, res_mem); in bcmbca_hsspi_probe() 455 res_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "spim-ctrl"); in bcmbca_hsspi_probe() 456 if (!res_mem) in bcmbca_hsspi_probe() 458 spim_ctrl = devm_ioremap_resource(dev, res_mem); in bcmbca_hsspi_probe()
|
A D | spi-npcm-fiu.c | 250 struct resource *res_mem; member 611 if (!fiu->res_mem) { in npcm_fiu_dirmap_create() 625 devm_ioremap(fiu->dev, (fiu->res_mem->start + in npcm_fiu_dirmap_create() 738 fiu->res_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, in npcm_fiu_probe()
|
/linux-6.3-rc2/drivers/ata/ |
A D | pata_mpc52xx.c | 675 struct resource res_mem; in mpc52xx_ata_probe() local 694 rv = of_address_to_resource(op->dev.of_node, 0, &res_mem); in mpc52xx_ata_probe() 700 if (!devm_request_mem_region(&op->dev, res_mem.start, in mpc52xx_ata_probe() 706 ata_regs = devm_ioremap(&op->dev, res_mem.start, sizeof(*ata_regs)); in mpc52xx_ata_probe() 748 priv->ata_regs_pa = res_mem.start; in mpc52xx_ata_probe() 786 rv = mpc52xx_ata_init_one(&op->dev, priv, res_mem.start, in mpc52xx_ata_probe()
|
/linux-6.3-rc2/include/pcmcia/ |
A D | soc_common.h | 50 struct resource res_mem; member
|
/linux-6.3-rc2/drivers/ufs/host/ |
A D | ufs-qcom.c | 1429 struct resource *res_mem, *res_mcq; in ufs_qcom_mcq_config_resource() local 1445 res_mem = res->resource; in ufs_qcom_mcq_config_resource() 1471 res_mcq->start = res_mem->start + in ufs_qcom_mcq_config_resource() 1474 res_mcq->flags = res_mem->flags; in ufs_qcom_mcq_config_resource()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | bcm63xx_enet.c | 2651 struct resource *res_mem; in bcm_enetsw_probe() local 2657 res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in bcm_enetsw_probe() 2660 if (!res_mem || irq_rx < 0) in bcm_enetsw_probe() 2693 priv->base = devm_ioremap_resource(&pdev->dev, res_mem); in bcm_enetsw_probe()
|