Lines Matching defs:iomap
119 void __iomem *iomap[5];
164 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8);
165 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1);
166 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8);
167 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1);
168 iomap[4] = pcim_iomap(pdev, 2, 0);
170 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4])
174 ioaddr->cmd_addr = iomap[0];
175 ioaddr->ctl_addr = iomap[1];
176 ioaddr->altstatus_addr = iomap[1];
177 ioaddr->bmdma_addr = iomap[4];
185 ioaddr->cmd_addr = iomap[2];
186 ioaddr->ctl_addr = iomap[3];
187 ioaddr->altstatus_addr = iomap[3];
188 ioaddr->bmdma_addr = iomap[4] + 8;