MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / pcmcia / resource
bloba876f1a68d8bbae616cd825594667f620787038f
1 cardbus.c:      dev = pci_find_slot(s->cb_dev->subordinate->number, 0);
2 cardbus.c:      res = dev->resource + space - 1;
3 cardbus.c:                      dev->irq = irq;
4 cardbus.c:                      pci_write_config_byte(dev, PCI_INTERRUPT_LINE, dev->irq);
5 cardbus.c:              if (dev->subordinate)
6 cardbus.c:                      cardbus_assign_irqs(dev->subordinate, irq);
7 cardbus.c:      struct pci_bus *bus = s->cb_dev->subordinate;
8 cardbus.c:                      if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE ||
9 cardbus.c:                          dev->hdr_type == PCI_HEADER_TYPE_CARDBUS)
10 cistpl.c:       pci_bus_read_config_dword(dev->subordinate, 0, PCI_CARDBUS_CIS, &ptr);
11 cs.c:   config->Option = s->cb_dev->subordinate->number;
12 cs.c:   return s->cb_dev->subordinate;
13 ds.c:   *p += sprintf(*p, "%-24.24s 1 %d\n", driver->name, p_dev->use_count);
14 ds.c:           if (dev && dev->driver) {
15 ds.c:                   strlcpy(bind_info->name, dev->driver->name, DEV_NAME_LEN);
16 ds.c:   struct pcmcia_socket *socket = class_dev->class_data;
17 ds.c:   struct pcmcia_socket *socket = class_dev->class_data;
18 i82092.c:       return pcmcia_socket_dev_suspend(&dev->dev, state);
19 i82092.c:       return pcmcia_socket_dev_resume(&dev->dev);
20 i82092.c:               sockets[i].socket.pci_irq  = dev->irq;
21 i82092.c:       dprintk(KERN_DEBUG "Requesting interrupt %i \n",dev->irq);
22 i82092.c:       if ((ret = request_irq(dev->irq, i82092aa_interrupt, SA_SHIRQ, "i82092aa", i82092aa_interrupt))) {
23 i82092.c:               printk(KERN_ERR "i82092aa: Failed to register IRQ %d, aborting\n", dev->irq);
24 i82092.c:               sockets[i].socket.dev.dev = &dev->dev;
25 i82092.c:       free_irq(dev->irq, i82092aa_interrupt);
26 i82092.c:       free_irq(dev->irq, i82092aa_interrupt);
27 i82092.c:               state->io_irq = sockets[sock].dev->irq;
28 o2micro.h:      if (PCI_FUNC(socket->dev->devfn) == 0) {
29 pd6729.c:               pci_resource_start(dev, 0), dev->irq);
30 pd6729.c:               socket[i].socket.pci_irq  = dev->irq;
31 pd6729.c:               socket[i].socket.dev.dev = &dev->dev;
32 pd6729.c:       if ((ret = request_irq(dev->irq, pd6729_interrupt, SA_SHIRQ, "pd6729", socket))) {
33 pd6729.c:               printk(KERN_ERR "pd6729: Failed to register irq %d, aborting\n", dev->irq);
34 pd6729.c:       free_irq(dev->irq, socket);
35 pd6729.c:       free_irq(dev->irq, socket);
36 pd6729.c:       return pcmcia_socket_dev_suspend(&dev->dev, state);
37 pd6729.c:       return pcmcia_socket_dev_resume(&dev->dev);
38 pxa2xx_base.c:  if (!dev || !dev->platform_data)
39 pxa2xx_base.c:  ops = (struct pcmcia_low_level *)dev->platform_data;
40 pxa2xx_lubbock.c:               sadev->dev.platform_data = &lubbock_pcmcia_ops;
41 pxa2xx_lubbock.c:               ret = pxa2xx_drv_pcmcia_probe(&sadev->dev);
42 ricoh.h:        if(socket->dev->vendor == PCI_VENDOR_ID_RICOH)
43 ricoh.h:                switch(socket->dev->device)
44 ricoh.h:        if(socket->dev->device < PCI_DEVICE_ID_RICOH_RL5C475) {
45 rsrc_mgr.c:             ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1,
46 rsrc_mgr.c:                     ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num,
47 sa1100_neponset.c:              ret = sa11xx_drv_pcmcia_probe(&sadev->dev, &neponset_pcmcia_ops, 0, 2);
48 sa1111_generic.c:       unsigned long status = sa1111_readl(sadev->mapbase + SA1111_PCSR);
49 sa1111_generic.c:       val = sa1111_readl(sadev->mapbase + SA1111_PCCR);
50 sa1111_generic.c:       sa1111_writel(val, sadev->mapbase + SA1111_PCCR);
51 sa1111_generic.c:       if (!request_mem_region(dev->res.start, 512,
52 sa1111_generic.c:       base = dev->mapbase;
53 sa1111_generic.c:       pcmcia_adsbitsy_init(&dev->dev);
54 sa1111_generic.c:       pcmcia_badge4_init(&dev->dev);
55 sa1111_generic.c:       pcmcia_graphicsmaster_init(&dev->dev);
56 sa1111_generic.c:       pcmcia_jornada720_init(&dev->dev);
57 sa1111_generic.c:       pcmcia_pfs_init(&dev->dev);
58 sa1111_generic.c:       pcmcia_system3_init(&dev->dev);
59 sa1111_generic.c:       pcmcia_xp860_init(&dev->dev);
60 sa1111_generic.c:       soc_common_drv_pcmcia_remove(&dev->dev);
61 sa1111_generic.c:       release_mem_region(dev->res.start, 512);
62 sa1111_generic.c:       return pcmcia_socket_dev_suspend(&dev->dev, state);
63 sa1111_generic.c:       return pcmcia_socket_dev_resume(&dev->dev);
64 ti113x.h:       if (socket->dev->vendor == PCI_VENDOR_ID_ENE)
65 ti113x.h:       if (socket->dev->vendor == PCI_VENDOR_ID_ENE)
66 ti113x.h:       if(PCI_FUNC(socket->dev->devfn)==1)
67 ti113x.h:       if(socket->dev->vendor == PCI_VENDOR_ID_TI)
68 ti113x.h:               switch(socket->dev->device)
69 ti113x.h:               switch (socket->dev->device) {
70 ti113x.h:       switch (socket->dev->device) {
71 ti113x.h:       func0 = pci_get_slot(socket->dev->bus, socket->dev->devfn & ~0x07);
72 ti113x.h:       socket->cb_irq = socket->dev->irq = func0->irq;
73 ti113x.h:       socket->cb_irq = socket->dev->irq = old_irq;
74 ti113x.h:               switch (socket->dev->device) {
75 ti113x.h:       if (socket->dev->vendor == PCI_VENDOR_ID_ENE) {
76 ti113x.h:       if (PCI_FUNC(socket->dev->devfn) == 0)
77 yenta_socket.c: bus = socket->dev->subordinate;
78 yenta_socket.c:         res = socket->dev->resource + PCI_BRIDGE_RESOURCES + nr - 2;
79 yenta_socket.c:         res = socket->dev->resource + PCI_BRIDGE_RESOURCES + nr + 2;
80 yenta_socket.c: res = socket->dev->resource + PCI_BRIDGE_RESOURCES + nr;
81 yenta_socket.c:         res = socket->dev->resource + PCI_BRIDGE_RESOURCES + i;
82 yenta_socket.c: if ( dev->resource[0].flags & IORESOURCE_IO )
83 yenta_socket.c:         config_writel(socket, PCI_BASE_ADDRESS_0, PHY_ADDRESS(dev->resource[0].start));
84 yenta_socket.c:         config_writel(socket, PCI_BASE_ADDRESS_0, MEM_PHY_ADDRESS(dev->resource[0].start));
85 yenta_socket.c: config_writel(socket, PCI_BASE_ADDRESS_0, dev->resource[0].start);
86 yenta_socket.c:         (dev->subordinate->subordinate << 16) | /* subordinate bus */
87 yenta_socket.c:         (dev->subordinate->secondary << 8) |  /* secondary bus */
88 yenta_socket.c:         dev->subordinate->primary);                /* primary bus */
89 yenta_socket.c: config_writeb(socket, PCI_PRIMARY_BUS, dev->subordinate->primary & 0xff);
90 yenta_socket.c: config_writeb(socket, PCI_PRIMARY_BUS+1, dev->subordinate->secondary & 0xff);
91 yenta_socket.c: config_writeb(socket, PCI_PRIMARY_BUS+2, dev->subordinate->subordinate & 0xff);
92 yenta_socket.c: socket->socket.dev.dev = &dev->dev;
93 yenta_socket.c:         dev->slot_name, dev->subsystem_vendor, dev->subsystem_device);
94 yenta_socket.c: socket->cb_irq = dev->irq;
95 yenta_socket.c: ret = pcmcia_socket_dev_suspend(&dev->dev, state);
96 yenta_socket.c: return pcmcia_socket_dev_resume(&dev->dev);