Lines Matching defs:iomap
121 void __iomem *iomap[5];
166 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8);
167 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1);
168 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8);
169 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1);
170 iomap[4] = pcim_iomap(pdev, 2, 0);
172 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4])
176 ioaddr->cmd_addr = iomap[0];
177 ioaddr->ctl_addr = iomap[1];
178 ioaddr->altstatus_addr = iomap[1];
179 ioaddr->bmdma_addr = iomap[4];
187 ioaddr->cmd_addr = iomap[2];
188 ioaddr->ctl_addr = iomap[3];
189 ioaddr->altstatus_addr = iomap[3];
190 ioaddr->bmdma_addr = iomap[4] + 8;