Lines Matching defs:io
46 #include <asm/io.h>
131 /* The io structure describes IO port mapping */
202 if ((cfg->io.nwin > 0) || (dflt->io.nwin > 0)) {
203 cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &dflt->io;
204 p_dev->resource[0]->start = io->win[0].base;
205 p_dev->resource[0]->end = io->win[0].len;
208 pcmcia_io_cfg_data_width(io->flags);
209 if (io->nwin > 1) {
211 p_dev->resource[1]->start = io->win[1].base;
212 p_dev->resource[1]->end = io->win[1].len;