Home
last modified time | relevance | path

Searched refs:ctl_base (Results 1 – 4 of 4) sorted by relevance

/drivers/ide/
Dide-cs.c223 unsigned long ctl_base; member
265 stk->ctl_base = pdev->io.BasePort2; in pcmcia_check_one_config()
271 stk->ctl_base = pdev->io.BasePort1 + 0x0e; in pcmcia_check_one_config()
285 unsigned long io_base, ctl_base; in ide_config() local
298 stk->skip_vcc = io_base = ctl_base = 0; in ide_config()
306 ctl_base = stk->ctl_base; in ide_config()
312 outb(0x02, ctl_base); in ide_config()
316 outb(0x81, ctl_base+1); in ide_config()
318 host = idecs_register(io_base, ctl_base, link->irq.AssignedIRQ, link); in ide_config()
320 outb(0x02, ctl_base + 0x10); in ide_config()
[all …]
Dscc_pata.c222 unsigned long ctl_base = ports->ctl; in scc_set_pio_mode() local
223 unsigned long cckctrl_port = ctl_base + 0xff0; in scc_set_pio_mode()
224 unsigned long piosht_port = ctl_base + 0x000; in scc_set_pio_mode()
225 unsigned long pioct_port = ctl_base + 0x004; in scc_set_pio_mode()
254 unsigned long ctl_base = ports->ctl; in scc_set_dma_mode() local
255 unsigned long cckctrl_port = ctl_base + 0xff0; in scc_set_dma_mode()
256 unsigned long mdmact_port = ctl_base + 0x008; in scc_set_dma_mode()
257 unsigned long mcrcst_port = ctl_base + 0x00c; in scc_set_dma_mode()
258 unsigned long sdmact_port = ctl_base + 0x010; in scc_set_dma_mode()
259 unsigned long scrcst_port = ctl_base + 0x014; in scc_set_dma_mode()
[all …]
Dat91_ide.c351 unsigned long tf_base = 0, ctl_base = 0; in at91_ide_probe() local
381 ctl_base = (unsigned long) devm_ioremap(&pdev->dev, res->start + ALT_MODE, in at91_ide_probe()
383 if (!tf_base || !ctl_base) { in at91_ide_probe()
400 hw.io_ports.ctl_addr = ctl_base + 3; in at91_ide_probe()
402 ide_std_init_ports(&hw, tf_base, ctl_base + 6); in at91_ide_probe()
/drivers/ata/
Dpata_pcmcia.c153 unsigned long ctl_base; member
194 stk->ctl_base = pdev->io.BasePort2; in pcmcia_check_one_config()
200 stk->ctl_base = pdev->io.BasePort1 + 0x0e; in pcmcia_check_one_config()
224 unsigned long io_base, ctl_base; in pcmcia_init_one() local
258 stk->skip_vcc = io_base = ctl_base = 0; in pcmcia_init_one()
266 ctl_base = stk->ctl_base; in pcmcia_init_one()
273 ctl_addr = devm_ioport_map(&pdev->dev, ctl_base, 1); in pcmcia_init_one()
309 ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", io_base, ctl_base); in pcmcia_init_one()