Lines Matching full:sockets
53 /* The card can do up to 4 sockets, allocate a structure for each of them */
70 static struct socket_info sockets[MAX_SOCKETS]; variable
114 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe()
115 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe()
116 sockets[i].dev = dev; in i82092aa_pci_probe()
117 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe()
118 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe()
119 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
120 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
121 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe()
122 sockets[i].socket.owner = THIS_MODULE; in i82092aa_pci_probe()
124 sockets[i].number = i; in i82092aa_pci_probe()
127 sockets[i].card_state = 3; in i82092aa_pci_probe()
153 sockets[i].socket.dev.parent = &dev->dev; in i82092aa_pci_probe()
154 sockets[i].socket.ops = &i82092aa_operations; in i82092aa_pci_probe()
155 sockets[i].socket.resource_ops = &pccard_nonstatic_ops; in i82092aa_pci_probe()
156 ret = pcmcia_register_socket(&sockets[i].socket); in i82092aa_pci_probe()
166 pcmcia_unregister_socket(&sockets[i].socket); in i82092aa_pci_probe()
183 pcmcia_unregister_socket(&sockets[i].socket); in i82092aa_pci_remove()
198 port = sockets[socket].io_base; in indirect_read()
212 port = sockets[socket].io_base; in indirect_write()
226 port = sockets[socket].io_base; in indirect_setbit()
245 port = sockets[socket].io_base; in indirect_resetbit()
263 port = sockets[socket].io_base; in indirect_write16()
313 if (sockets[i].card_state == 0) in i82092aa_interrupt()
326 dev_info(&sockets[i].dev->dev, in i82092aa_interrupt()
345 pcmcia_parse_events(&sockets[i].socket, events); in i82092aa_interrupt()
365 if (sockets[socketno].io_base == 0) in card_present()
673 if (sockets[0].io_base > 0) in i82092aa_module_exit()
674 release_region(sockets[0].io_base, 2); in i82092aa_module_exit()