Lines Matching refs:sockets
69 static struct socket_info sockets[MAX_SOCKETS]; variable
113 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe()
114 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe()
115 sockets[i].dev = dev; in i82092aa_pci_probe()
116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe()
117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe()
118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
120 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe()
121 sockets[i].socket.owner = THIS_MODULE; in i82092aa_pci_probe()
123 sockets[i].number = i; in i82092aa_pci_probe()
126 sockets[i].card_state = 3; in i82092aa_pci_probe()
152 sockets[i].socket.dev.parent = &dev->dev; in i82092aa_pci_probe()
153 sockets[i].socket.ops = &i82092aa_operations; in i82092aa_pci_probe()
154 sockets[i].socket.resource_ops = &pccard_nonstatic_ops; in i82092aa_pci_probe()
155 ret = pcmcia_register_socket(&sockets[i].socket); in i82092aa_pci_probe()
165 pcmcia_unregister_socket(&sockets[i].socket); in i82092aa_pci_probe()
182 pcmcia_unregister_socket(&sockets[i].socket); in i82092aa_pci_remove()
197 port = sockets[socket].io_base; in indirect_read()
211 port = sockets[socket].io_base; in indirect_write()
225 port = sockets[socket].io_base; in indirect_setbit()
244 port = sockets[socket].io_base; in indirect_resetbit()
262 port = sockets[socket].io_base; in indirect_write16()
312 if (sockets[i].card_state == 0) in i82092aa_interrupt()
325 dev_info(&sockets[i].dev->dev, in i82092aa_interrupt()
344 pcmcia_parse_events(&sockets[i].socket, events); in i82092aa_interrupt()
364 if (sockets[socketno].io_base == 0) in card_present()
672 if (sockets[0].io_base > 0) in i82092aa_module_exit()
673 release_region(sockets[0].io_base, 2); in i82092aa_module_exit()