Lines Matching defs:sock
698 static int m8xx_get_status(struct pcmcia_socket *sock, unsigned int *value)
700 int lsock = container_of(sock, struct socket_info, socket)->slot;
809 static int m8xx_set_socket(struct pcmcia_socket *sock, socket_state_t * state)
811 int lsock = container_of(sock, struct socket_info, socket)->slot;
952 static int m8xx_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
954 int lsock = container_of(sock, struct socket_info, socket)->slot;
1035 static int m8xx_set_mem_map(struct pcmcia_socket *sock,
1038 int lsock = container_of(sock, struct socket_info, socket)->slot;
1113 static int m8xx_sock_init(struct pcmcia_socket *sock)
1121 m8xx_set_socket(sock, &dead_socket);
1124 m8xx_set_io_map(sock, &io);
1128 m8xx_set_mem_map(sock, &mem);
1135 static int m8xx_sock_suspend(struct pcmcia_socket *sock)
1137 return m8xx_set_socket(sock, &dead_socket);