Lines Matching refs:sock
247 static int pd6729_get_status(struct pcmcia_socket *sock, u_int *value)
250 = container_of(sock, struct pd6729_socket, socket);
296 static int pd6729_set_socket(struct pcmcia_socket *sock, socket_state_t *state)
299 = container_of(sock, struct pd6729_socket, socket);
324 dev_dbg(&sock->dev, "Auto power\n");
328 dev_dbg(&sock->dev, "Power Enabled\n");
336 dev_dbg(&sock->dev,
343 dev_dbg(&sock->dev,
350 dev_dbg(&sock->dev,
358 dev_dbg(&sock->dev, "not setting Vpp on socket %i\n",
363 dev_dbg(&sock->dev, "setting Vpp to Vcc for socket %i\n",
368 dev_dbg(&sock->dev, "setting Vpp to 12.0\n");
372 dev_dbg(&sock->dev, "pd6729: pd6729_set_socket called with "
424 static int pd6729_set_io_map(struct pcmcia_socket *sock,
428 = container_of(sock, struct pd6729_socket, socket);
435 dev_dbg(&sock->dev, "pd6729_set_io_map with invalid map\n");
443 /* dev_dbg(&sock->dev, "set_io_map: Setting range to %x - %x\n",
468 static int pd6729_set_mem_map(struct pcmcia_socket *sock,
472 = container_of(sock, struct pd6729_socket, socket);
478 dev_warn(&sock->dev, "invalid map requested\n");
483 dev_warn(&sock->dev, "invalid invalid address / speed\n");
529 /* dev_dbg(&sock->dev, "requesting attribute memory for "
533 /* dev_dbg(&sock->dev, "requesting normal memory for "
545 static int pd6729_init(struct pcmcia_socket *sock)
552 pd6729_set_socket(sock, &dead_socket);
555 pd6729_set_io_map(sock, &io);
559 pd6729_set_mem_map(sock, &mem);