Lines Matching defs:io
43 #include <asm/io.h>
139 static struct ide_host *idecs_register(unsigned long io, unsigned long ctl,
147 if (!request_region(io, 8, DRV_NAME)) {
149 DRV_NAME, io, io + 7);
156 release_region(io, 8);
161 ide_std_init_ports(&hw, io, ctl);
186 release_region(io, 8);
228 if ((cfg->io.nwin > 0) || (dflt->io.nwin > 0)) {
229 cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &dflt->io;
230 pdev->io_lines = io->flags & CISTPL_IO_LINES_MASK;
233 pdev->resource[0]->start = io->win[0].base;
234 if (!(io->flags & CISTPL_IO_16BIT)) {
238 if (io->nwin == 2) {
240 pdev->resource[1]->start = io->win[1].base;
245 } else if ((io->nwin == 1) && (io->win[0].len >= 16)) {
246 pdev->resource[0]->end = io->win[0].len;