Lines Matching defs:sock
211 static int yenta_get_status(struct pcmcia_socket *sock, unsigned int *value)
213 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
328 static int yenta_set_socket(struct pcmcia_socket *sock, socket_state_t *state)
330 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
389 if (sock->zoom_video)
390 sock->zoom_video(sock, state->flags & SS_ZVCARD);
403 static int yenta_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
405 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
440 static int yenta_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem)
442 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
578 static int yenta_sock_init(struct pcmcia_socket *sock)
580 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
599 static int yenta_sock_suspend(struct pcmcia_socket *sock)
601 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
789 struct yenta_socket *sock = pci_get_drvdata(dev);
795 pcmcia_unregister_socket(&sock->socket);
798 cb_writel(sock, CB_SOCKET_MASK, 0x0);
799 exca_writeb(sock, I365_CSCINT, 0);
801 if (sock->cb_irq)
802 free_irq(sock->cb_irq, sock);
804 del_timer_sync(&sock->poll_timer);
806 if (sock->base)
807 iounmap(sock->base);
808 yenta_free_resources(sock);