Lines Matching defs:io
255 if ((cfg->io.nwin > 0) || (dflt->io.nwin > 0)) {
256 cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &dflt->io;
257 p_dev->io_lines = io->flags & CISTPL_IO_LINES_MASK;
260 pcmcia_io_cfg_data_width(io->flags);
261 p_dev->resource[0]->start = io->win[0].base;
262 p_dev->resource[0]->end = io->win[0].len;
263 if (io->nwin > 1) {
265 p_dev->resource[1]->start = io->win[1].base;
266 p_dev->resource[1]->end = io->win[1].len;