Lines Matching defs:sock
366 int i, sock, ret = 0;
373 sock = 0;
384 if (tcic_getw(TCIC_ADDR) == 0xc3a5) sock = 2;
386 if (sock == 0) {
393 if (tcic_getw(TCIC_ADDR) == 0xc3a5) sock = 2;
397 if (sock == 0) {
405 for (i = 0; i < sock; i++) {
598 static int tcic_get_status(struct pcmcia_socket *sock, u_int *value)
600 u_short psock = container_of(sock, struct tcic_socket, socket)->psock;
618 dev_dbg(&sock->dev, "GetStatus(%d) = %#2.2x\n", psock, *value);
624 static int tcic_set_socket(struct pcmcia_socket *sock, socket_state_t *state)
626 u_short psock = container_of(sock, struct tcic_socket, socket)->psock;
630 dev_dbg(&sock->dev, "SetSocket(%d, flags %#3.3x, Vcc %d, Vpp %d, "
699 static int tcic_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
701 u_short psock = container_of(sock, struct tcic_socket, socket)->psock;
705 dev_dbg(&sock->dev, "SetIOMap(%d, %d, %#2.2x, %d ns, "
736 static int tcic_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem)
738 u_short psock = container_of(sock, struct tcic_socket, socket)->psock;
742 dev_dbg(&sock->dev, "SetMemMap(%d, %d, %#2.2x, %d ns, "