Searched refs:io_res (Results 1 – 13 of 13) sorted by relevance
/linux/arch/mips/pci/ |
H A D | pci-ar71xx.c | 53 struct resource io_res; member 352 apc->io_res.parent = res; in ar71xx_pci_probe() 353 apc->io_res.name = "PCI IO space"; in ar71xx_pci_probe() 354 apc->io_res.start = res->start; in ar71xx_pci_probe() 355 apc->io_res.end = res->end; in ar71xx_pci_probe() 356 apc->io_res.flags = IORESOURCE_IO; in ar71xx_pci_probe() 382 apc->pci_ctrl.io_resource = &apc->io_res; in ar71xx_pci_probe()
|
H A D | pci-ar724x.c | 52 struct resource io_res; member 395 apc->io_res.parent = res; in ar724x_pci_probe() 396 apc->io_res.name = "PCI IO space"; in ar724x_pci_probe() 397 apc->io_res.start = res->start; in ar724x_pci_probe() 398 apc->io_res.end = res->end; in ar724x_pci_probe() 399 apc->io_res.flags = IORESOURCE_IO; in ar724x_pci_probe() 412 apc->pci_controller.io_resource = &apc->io_res; in ar724x_pci_probe()
|
H A D | pci-ar2315.c | 164 struct resource io_res; member 482 apc->io_res.name = "AR2315 IO space"; in ar2315_pci_probe() 483 apc->io_res.start = 0; in ar2315_pci_probe() 484 apc->io_res.end = 0; in ar2315_pci_probe() 485 apc->io_res.flags = IORESOURCE_IO; in ar2315_pci_probe() 489 apc->pci_ctrl.io_resource = &apc->io_res; in ar2315_pci_probe()
|
H A D | pci-rt3883.c | 66 struct resource io_res; member 485 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe() 493 rt3883_pci_w32(rpc, rpc->io_res.start, RT3883_PCI_REG_IOBASE); in rt3883_pci_probe() 495 ioport_resource.start = rpc->io_res.start; in rt3883_pci_probe() 496 ioport_resource.end = rpc->io_res.end; in rt3883_pci_probe()
|
/linux/drivers/mtd/nand/raw/ |
H A D | fsl_upm.c | 44 const struct resource *io_res) in fun_chip_init() argument 61 (u64)io_res->start, in fun_chip_init() 166 struct resource *io_res; in fun_probe() local 176 fun->io_base = devm_platform_get_and_ioremap_resource(ofdev, 0, &io_res); in fun_probe() 180 ret = fsl_upm_find(io_res->start, &fun->upm); in fun_probe() 229 ret = fun_chip_init(fun, ofdev->dev.of_node, io_res); in fun_probe()
|
/linux/drivers/mfd/ |
H A D | sm501.c | 69 struct resource *io_res; member 768 res->parent = sm->io_res; in sm501_create_subio() 769 res->start = sm->io_res->start + offs; in sm501_create_subio() 825 uart_data->mapbase = sm->io_res->start + offset; in sm501_setup_uart_data() 1043 resource_size_t iobase = sm->io_res->start + SM501_GPIO; in sm501_register_gpio() 1097 resource_size_t iobase = sm->io_res->start + SM501_GPIO; in sm501_gpio_remove() 1393 sm->io_res = platform_get_resource(dev, IORESOURCE_MEM, 1); in sm501_plat_probe() 1395 if (!sm->io_res || !sm->mem_res) { in sm501_plat_probe() 1401 sm->regs_claim = request_mem_region(sm->io_res->start, in sm501_plat_probe() 1411 sm->regs = ioremap(sm->io_res->start, resource_size(sm->io_res)); in sm501_plat_probe() [all …]
|
/linux/arch/arm/kernel/ |
H A D | bios32.c | 409 sys->io_res.start = (busnr * SZ_64K) ? : pcibios_min_io; in pcibios_init_resource() 410 sys->io_res.end = (busnr + 1) * SZ_64K - 1; in pcibios_init_resource() 411 sys->io_res.flags = IORESOURCE_IO; in pcibios_init_resource() 412 sys->io_res.name = sys->io_res_name; in pcibios_init_resource() 415 ret = request_resource(&ioport_resource, &sys->io_res); in pcibios_init_resource() 420 pci_add_resource_offset(&sys->resources, &sys->io_res, in pcibios_init_resource()
|
H A D | setup.c | 188 static struct resource io_res[] = { variable 209 #define lp0 io_res[0] 210 #define lp1 io_res[1] 211 #define lp2 io_res[2]
|
/linux/drivers/char/tpm/ |
H A D | tpm_crb.c | 532 static u64 crb_fixup_cmd_size(struct device *dev, struct resource *io_res, in crb_fixup_cmd_size() argument 535 if (io_res->start > start || io_res->end < start) in crb_fixup_cmd_size() 538 if (start + size - 1 <= io_res->end) in crb_fixup_cmd_size() 543 io_res, start, size); in crb_fixup_cmd_size() 545 return io_res->end - start + 1; in crb_fixup_cmd_size()
|
/linux/include/linux/ |
H A D | ata_platform.h | 17 struct resource *io_res,
|
/linux/drivers/pcmcia/ |
H A D | bcm63xx_pcmcia.h | 55 struct resource *io_res; member
|
/linux/sound/isa/ |
H A D | sscape.c | 136 struct resource *io_res; member 921 struct resource *io_res; in create_sscape() local 932 io_res = devm_request_region(card->dev, port[dev], 8, "SoundScape"); in create_sscape() 933 if (!io_res) { in create_sscape() 959 sscape->io_res = io_res; in create_sscape()
|
/linux/arch/arm/include/asm/mach/ |
H A D | pci.h | 41 struct resource io_res; member
|