Lines Matching defs:io
459 struct pccard_io_handle *io;
462 io = &sc->io[win];
463 exca_putb(sc, map->start_lsb, io->addr & 0xff);
464 exca_putb(sc, map->start_msb, (io->addr >> 8) & 0xff);
466 exca_putb(sc, map->stop_lsb, (io->addr + io->size - 1) & 0xff);
467 exca_putb(sc, map->stop_msb, ((io->addr + io->size - 1) >> 8) & 0xff);
470 exca_setb(sc, EXCA_IOCTL, map->ioctlbits[io->width]);
482 io->addr, io->size);
503 sc->io[win].iot = rman_get_bustag(r);
504 sc->io[win].ioh = rman_get_bushandle(r);
505 sc->io[win].addr = rman_get_start(r);
506 sc->io[win].size = rman_get_end(r) - sc->io[win].addr + 1;
507 sc->io[win].flags = 0;
508 sc->io[win].width = width;
510 win, width_names[width], sc->io[win].addr,
511 sc->io[win].size);
527 sc->io[window].iot = 0;
528 sc->io[window].ioh = 0;
529 sc->io[window].addr = 0;
530 sc->io[window].size = 0;
531 sc->io[window].flags = 0;
532 sc->io[window].width = 0;
541 if (sc->io[win].iot == rman_get_bustag(res) &&
542 sc->io[win].addr == rman_get_start(res) &&
543 sc->io[win].size == rman_get_size(res))
622 DEVPRINTF(sc->dev, "card type is io\n");
624 /* reinstall all the memory and io mappings */