Searched refs:io_res (Results 1 - 18 of 18) sorted by relevance

/linux-master/include/linux/
H A Data_platform.h17 struct resource *io_res,
/linux-master/drivers/ata/
H A Dpata_platform.c71 * @io_res: Resource representing I/O base
97 int __pata_platform_probe(struct device *dev, struct resource *io_res, argument
111 mmio = (( io_res->flags == IORESOURCE_MEM) &&
156 ap->ioaddr.cmd_addr = devm_ioremap(dev, io_res->start,
157 resource_size(io_res));
161 ap->ioaddr.cmd_addr = devm_ioport_map(dev, io_res->start,
162 resource_size(io_res));
176 (unsigned long long)io_res->start,
187 struct resource *io_res; local
203 io_res
[all...]
H A Dpata_of_platform.c26 struct resource io_res; local
35 ret = of_address_to_resource(dn, 0, &io_res);
75 return __pata_platform_probe(&ofdev->dev, &io_res, &ctl_res, irq > 0 ? &irq_res : NULL,
H A Dpata_imx.c132 struct resource *io_res; local
161 priv->host_regs = devm_platform_get_and_ioremap_resource(pdev, 0, &io_res);
173 (unsigned long long)io_res->start + PATA_IMX_DRIVE_DATA,
174 (unsigned long long)io_res->start + PATA_IMX_DRIVE_CONTROL);
/linux-master/drivers/pcmcia/
H A Dbcm63xx_pcmcia.h55 struct resource *io_res; member in struct:bcm63xx_pcmcia_socket
/linux-master/arch/mips/pci/
H A Dpci-ar724x.c52 struct resource io_res; member in struct:ar724x_pci_controller
395 apc->io_res.parent = res;
396 apc->io_res.name = "PCI IO space";
397 apc->io_res.start = res->start;
398 apc->io_res.end = res->end;
399 apc->io_res.flags = IORESOURCE_IO;
412 apc->pci_controller.io_resource = &apc->io_res;
H A Dpci-ar71xx.c53 struct resource io_res; member in struct:ar71xx_pci_controller
352 apc->io_res.parent = res;
353 apc->io_res.name = "PCI IO space";
354 apc->io_res.start = res->start;
355 apc->io_res.end = res->end;
356 apc->io_res.flags = IORESOURCE_IO;
382 apc->pci_ctrl.io_resource = &apc->io_res;
H A Dpci-ar2315.c164 struct resource io_res; member in struct:ar2315_pci_ctrl
482 apc->io_res.name = "AR2315 IO space";
483 apc->io_res.start = 0;
484 apc->io_res.end = 0;
485 apc->io_res.flags = IORESOURCE_IO;
489 apc->pci_ctrl.io_resource = &apc->io_res;
H A Dpci-rt3883.c66 struct resource io_res; member in struct:rt3883_pci_controller
485 rpc->pci_controller.io_resource = &rpc->io_res;
493 rt3883_pci_w32(rpc, rpc->io_res.start, RT3883_PCI_REG_IOBASE);
495 ioport_resource.start = rpc->io_res.start;
496 ioport_resource.end = rpc->io_res.end;
/linux-master/drivers/mtd/nand/raw/
H A Dfsl_upm.c44 const struct resource *io_res)
61 (u64)io_res->start,
166 struct resource *io_res; local
176 fun->io_base = devm_platform_get_and_ioremap_resource(ofdev, 0, &io_res);
180 ret = fsl_upm_find(io_res->start, &fun->upm);
229 ret = fun_chip_init(fun, ofdev->dev.of_node, io_res);
42 fun_chip_init(struct fsl_upm_nand *fun, const struct device_node *upm_np, const struct resource *io_res) argument
/linux-master/arch/arm/include/asm/mach/
H A Dpci.h41 struct resource io_res; member in struct:pci_sys_data
/linux-master/arch/arm/kernel/
H A Dbios32.c409 sys->io_res.start = (busnr * SZ_64K) ? : pcibios_min_io;
410 sys->io_res.end = (busnr + 1) * SZ_64K - 1;
411 sys->io_res.flags = IORESOURCE_IO;
412 sys->io_res.name = sys->io_res_name;
415 ret = request_resource(&ioport_resource, &sys->io_res);
420 pci_add_resource_offset(&sys->resources, &sys->io_res,
H A Dsetup.c188 static struct resource io_res[] = { variable in typeref:struct:resource
209 #define lp0 io_res[0]
210 #define lp1 io_res[1]
211 #define lp2 io_res[2]
/linux-master/drivers/mfd/
H A Dsm501.c69 struct resource *io_res; member in struct:sm501_devdata
768 res->parent = sm->io_res;
769 res->start = sm->io_res->start + offs;
825 uart_data->mapbase = sm->io_res->start + offset;
1043 resource_size_t iobase = sm->io_res->start + SM501_GPIO;
1097 resource_size_t iobase = sm->io_res->start + SM501_GPIO;
1393 sm->io_res = platform_get_resource(dev, IORESOURCE_MEM, 1);
1395 if (!sm->io_res || !sm->mem_res) {
1401 sm->regs_claim = request_mem_region(sm->io_res->start,
1411 sm->regs = ioremap(sm->io_res
[all...]
/linux-master/drivers/usb/misc/
H A Diowarrior.c482 int io_res; /* checks for bytes read/written and copy_to/from_user results */ local
512 io_res = copy_from_user(buffer, user_buffer,
514 if (io_res) {
517 io_res = usb_set_report(dev->interface, 2, 0,
520 if (io_res < 0)
521 retval = io_res;
532 io_res = usb_get_report(dev->udev,
535 if (io_res < 0)
536 retval = io_res;
538 io_res
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm_crb.c532 static u64 crb_fixup_cmd_size(struct device *dev, struct resource *io_res, argument
535 if (io_res->start > start || io_res->end < start)
538 if (start + size - 1 <= io_res->end)
543 io_res, start, size);
545 return io_res->end - start + 1;
/linux-master/sound/isa/
H A Dsscape.c136 struct resource *io_res; member in struct:soundscape
922 struct resource *io_res; local
933 io_res = devm_request_region(card->dev, port[dev], 8, "SoundScape");
934 if (!io_res) {
960 sscape->io_res = io_res;
/linux-master/drivers/pci/
H A Dsetup-bus.c1840 struct resource *io_res, *mmio_res, *mmio_pref_res; local
1844 io_res = &bridge->resource[PCI_BRIDGE_IO_WINDOW];
1852 align = pci_resource_alignment(bridge, io_res);
1853 if (!io_res->parent && align)
1869 adjust_bridge_window(bridge, io_res, add_list, resource_size(&io));

Completed in 371 milliseconds