Lines Matching defs:sock
235 static int pccard_init(struct pcmcia_socket *sock)
240 sock->features |= SS_CAP_PCCARD | SS_CAP_PAGE_REGS;
241 sock->irq_mask = 0;
242 sock->map_size = 0x1000;
243 sock->pci_irq = vrc4171_irq;
245 slot = sock->sock;
253 static int pccard_get_status(struct pcmcia_socket *sock, u_int *value)
259 if (sock == NULL || sock->sock >= CARD_MAX_SLOTS || value == NULL)
262 slot = sock->sock;
317 static int pccard_set_socket(struct pcmcia_socket *sock, socket_state_t *state)
323 if (sock == NULL || sock->sock >= CARD_MAX_SLOTS ||
328 slot = sock->sock;
379 static int pccard_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
385 if (sock == NULL || sock->sock >= CARD_MAX_SLOTS ||
390 slot = sock->sock;
421 static int pccard_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem)
428 if (sock == NULL || sock->sock >= CARD_MAX_SLOTS ||
437 slot = sock->sock;