Searched refs:ctl_base (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/ide/ |
D | scc_pata.c | 212 unsigned long ctl_base = ports->ctl; in scc_set_pio_mode() local 213 unsigned long cckctrl_port = ctl_base + 0xff0; in scc_set_pio_mode() 214 unsigned long piosht_port = ctl_base + 0x000; in scc_set_pio_mode() 215 unsigned long pioct_port = ctl_base + 0x004; in scc_set_pio_mode() 244 unsigned long ctl_base = ports->ctl; in scc_set_dma_mode() local 245 unsigned long cckctrl_port = ctl_base + 0xff0; in scc_set_dma_mode() 246 unsigned long mdmact_port = ctl_base + 0x008; in scc_set_dma_mode() 247 unsigned long mcrcst_port = ctl_base + 0x00c; in scc_set_dma_mode() 248 unsigned long sdmact_port = ctl_base + 0x010; in scc_set_dma_mode() 249 unsigned long scrcst_port = ctl_base + 0x014; in scc_set_dma_mode() [all …]
|
D | ide-cs.c | 193 unsigned long io_base, ctl_base; in ide_config() local 209 ctl_base = link->resource[1]->start; in ide_config() 211 ctl_base = link->resource[0]->start + 0x0e; in ide_config() 221 outb(0x02, ctl_base); in ide_config() 225 outb(0x81, ctl_base+1); in ide_config() 227 host = idecs_register(io_base, ctl_base, link->irq, link); in ide_config() 229 outb(0x02, ctl_base + 0x10); in ide_config() 230 host = idecs_register(io_base + 0x10, ctl_base + 0x10, in ide_config()
|
D | at91_ide.c | 251 unsigned long tf_base = 0, ctl_base = 0; in at91_ide_probe() local 281 ctl_base = (unsigned long) devm_ioremap(&pdev->dev, res->start + ALT_MODE, in at91_ide_probe() 283 if (!tf_base || !ctl_base) { in at91_ide_probe() 300 hw.io_ports.ctl_addr = ctl_base + 3; in at91_ide_probe() 302 ide_std_init_ports(&hw, tf_base, ctl_base + 6); in at91_ide_probe()
|
/linux-2.6.39/drivers/ata/ |
D | pata_pcmcia.c | 205 unsigned long io_base, ctl_base; in pcmcia_init_one() local 227 ctl_base = pdev->resource[1]->start; in pcmcia_init_one() 229 ctl_base = pdev->resource[0]->start + 0x0e; in pcmcia_init_one() 241 ctl_addr = devm_ioport_map(&pdev->dev, ctl_base, 1); in pcmcia_init_one() 277 ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", io_base, ctl_base); in pcmcia_init_one()
|