Lines Matching refs:iomap
128 void __iomem *iomap[5]; in cs5520_init_one() local
177 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); in cs5520_init_one()
178 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1); in cs5520_init_one()
179 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); in cs5520_init_one()
180 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1); in cs5520_init_one()
181 iomap[4] = pcim_iomap(pdev, 2, 0); in cs5520_init_one()
183 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4]) in cs5520_init_one()
187 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one()
188 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one()
189 ioaddr->altstatus_addr = iomap[1]; in cs5520_init_one()
190 ioaddr->bmdma_addr = iomap[4]; in cs5520_init_one()
198 ioaddr->cmd_addr = iomap[2]; in cs5520_init_one()
199 ioaddr->ctl_addr = iomap[3]; in cs5520_init_one()
200 ioaddr->altstatus_addr = iomap[3]; in cs5520_init_one()
201 ioaddr->bmdma_addr = iomap[4] + 8; in cs5520_init_one()