Lines Matching defs:sock
52 static int bcm63xx_pcmcia_sock_init(struct pcmcia_socket *sock)
63 static int bcm63xx_pcmcia_suspend(struct pcmcia_socket *sock)
75 static int bcm63xx_pcmcia_set_socket(struct pcmcia_socket *sock,
82 skt = sock->driver_data;
249 static int bcm63xx_pcmcia_get_status(struct pcmcia_socket *sock,
254 skt = sock->driver_data;
290 static int bcm63xx_pcmcia_set_io_map(struct pcmcia_socket *sock,
298 static int bcm63xx_pcmcia_set_mem_map(struct pcmcia_socket *sock,
304 skt = sock->driver_data;
329 struct pcmcia_socket *sock;
339 sock = &skt->socket;
340 sock->driver_data = skt;
377 sock->resource_ops = &pccard_static_ops;
378 sock->ops = &bcm63xx_pcmcia_operations;
379 sock->owner = THIS_MODULE;
380 sock->dev.parent = &pdev->dev;
381 sock->features = SS_CAP_STATIC_MAP | SS_CAP_PCCARD;
382 sock->io_offset = (unsigned long)skt->io_base;
383 sock->pci_irq = irq_res->start;
386 sock->cb_dev = bcm63xx_cb_dev;
388 sock->features |= SS_CAP_CARDBUS;
392 sock->map_size = resource_size(skt->common_res);
417 ret = pcmcia_register_socket(sock);