Lines Matching refs:iomap
121 void __iomem *iomap[5]; in cs5520_init_one() local
160 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); in cs5520_init_one()
161 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1); in cs5520_init_one()
162 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); in cs5520_init_one()
163 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1); in cs5520_init_one()
164 iomap[4] = pcim_iomap(pdev, 2, 0); in cs5520_init_one()
166 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4]) in cs5520_init_one()
170 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one()
171 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one()
172 ioaddr->altstatus_addr = iomap[1]; in cs5520_init_one()
173 ioaddr->bmdma_addr = iomap[4]; in cs5520_init_one()
181 ioaddr->cmd_addr = iomap[2]; in cs5520_init_one()
182 ioaddr->ctl_addr = iomap[3]; in cs5520_init_one()
183 ioaddr->altstatus_addr = iomap[3]; in cs5520_init_one()
184 ioaddr->bmdma_addr = iomap[4] + 8; in cs5520_init_one()