Lines Matching defs:sock
213 static int yenta_get_status(struct pcmcia_socket *sock, unsigned int *value)
215 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
330 static int yenta_set_socket(struct pcmcia_socket *sock, socket_state_t *state)
332 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
391 if (sock->zoom_video)
392 sock->zoom_video(sock, state->flags & SS_ZVCARD);
405 static int yenta_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
407 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
442 static int yenta_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem)
444 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
580 static int yenta_sock_init(struct pcmcia_socket *sock)
582 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
601 static int yenta_sock_suspend(struct pcmcia_socket *sock)
603 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket);
802 struct yenta_socket *sock = pci_get_drvdata(dev);
808 pcmcia_unregister_socket(&sock->socket);
811 cb_writel(sock, CB_SOCKET_MASK, 0x0);
812 exca_writeb(sock, I365_CSCINT, 0);
814 if (sock->cb_irq)
815 free_irq(sock->cb_irq, sock);
817 timer_shutdown_sync(&sock->poll_timer);
819 iounmap(sock->base);
820 yenta_free_resources(sock);
825 kfree(sock);