Home
last modified time | relevance | path

Searched refs:io_res (Results 1 – 11 of 11) sorted by relevance

/linux/arch/mips/pci/
H A Dpci-ar71xx.c53 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 Dpci-ar724x.c52 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 Dpci-ar2315.c164 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 Dpci-rt3883.c66 struct resource io_res; member
486 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe()
494 rt3883_pci_w32(rpc, rpc->io_res.start, RT3883_PCI_REG_IOBASE); in rt3883_pci_probe()
496 ioport_resource.start = rpc->io_res.start; in rt3883_pci_probe()
497 ioport_resource.end = rpc->io_res.end; in rt3883_pci_probe()
/linux/drivers/usb/misc/
H A Diowarrior.c501 int io_res; /* checks for bytes read/written and copy_to/from_user results */ in iowarrior_ioctl() local
528 io_res = copy_from_user(buffer, user_buffer, in iowarrior_ioctl()
530 if (io_res) { in iowarrior_ioctl()
533 io_res = usb_set_report(dev->interface, 2, 0, in iowarrior_ioctl()
536 if (io_res < 0) in iowarrior_ioctl()
537 retval = io_res; in iowarrior_ioctl()
548 io_res = usb_get_report(dev->udev, in iowarrior_ioctl()
551 if (io_res < 0) in iowarrior_ioctl()
552 retval = io_res; in iowarrior_ioctl()
554 io_res = copy_to_user(user_buffer, buffer, dev->report_size); in iowarrior_ioctl()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dfsl_upm.c44 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/ata/
H A Dpata_imx.c131 struct resource *io_res; in pata_imx_probe() local
160 priv->host_regs = devm_platform_get_and_ioremap_resource(pdev, 0, &io_res); in pata_imx_probe()
172 (unsigned long long)io_res->start + PATA_IMX_DRIVE_DATA, in pata_imx_probe()
173 (unsigned long long)io_res->start + PATA_IMX_DRIVE_CONTROL); in pata_imx_probe()
/linux/include/linux/
H A Data_platform.h17 struct resource *io_res,
/linux/drivers/pcmcia/
H A Dbcm63xx_pcmcia.h55 struct resource *io_res; member
/linux/arch/arm/include/asm/mach/
H A Dpci.h41 struct resource io_res; member
/linux/arch/arm/kernel/
H A Dsetup.c188 static struct resource io_res[] = { variable
209 #define lp0 io_res[0]
210 #define lp1 io_res[1]
211 #define lp2 io_res[2]