Lines Matching refs:socket_table
117 static struct tcic_socket socket_table[2];
407 socket_table[sockets].psock = i;
408 socket_table[sockets].id = get_tcic_id();
410 socket_table[sockets].socket.owner = THIS_MODULE;
413 socket_table[sockets].socket.features = SS_CAP_PCCARD | SS_CAP_MEM_ALIGN;
415 socket_table[sockets].socket.irq_mask = 0x4cf8;
417 socket_table[sockets].socket.map_size = 0x1000;
421 switch (socket_table[0].id) {
437 printk("Unknown ID 0x%02x", socket_table[0].id);
459 socket_table[i].socket.irq_mask = mask;
478 if (socket_table[0].socket.irq_mask & (1 << 11))
487 tcic_setw(TCIC_ADDR+2, socket_table[i].psock << TCIC_SS_SHFT);
488 socket_table[i].last_sstat = tcic_getb(TCIC_SSTAT);
497 socket_table[i].socket.ops = &tcic_operations;
498 socket_table[i].socket.resource_ops = &pccard_nonstatic_ops;
499 socket_table[i].socket.dev.parent = &tcic_device.dev;
500 ret = pcmcia_register_socket(&socket_table[i].socket);
502 pcmcia_unregister_socket(&socket_table[0].socket);
525 pcmcia_unregister_socket(&socket_table[i].socket);
551 psock = socket_table[i].psock;
555 latch = sstat ^ socket_table[psock].last_sstat;
556 socket_table[i].last_sstat = sstat;
573 pcmcia_parse_events(&socket_table[i].socket, events);