Lines Matching refs:io
380 static int pccard_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) in pccard_set_io_map() argument
387 io == NULL || io->map >= IO_MAX_MAPS || in pccard_set_io_map()
388 io->start > 0xffff || io->stop > 0xffff || io->start > io->stop) in pccard_set_io_map()
392 map = io->map; in pccard_set_io_map()
400 exca_write_word(slot, I365_IO(map)+I365_W_START, io->start); in pccard_set_io_map()
401 exca_write_word(slot, I365_IO(map)+I365_W_STOP, io->stop); in pccard_set_io_map()
404 if (io->speed > 0) in pccard_set_io_map()
406 if (io->flags & MAP_16BIT) in pccard_set_io_map()
408 if (io->flags & MAP_AUTOSZ) in pccard_set_io_map()
410 if (io->flags & MAP_0WS) in pccard_set_io_map()
414 if (io->flags & MAP_ACTIVE) { in pccard_set_io_map()