Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ide/
Dide-cs.c193 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()
/Linux-v4.19/drivers/ata/
Dpata_pcmcia.c204 unsigned long io_base, ctl_base; in pcmcia_init_one() local
226 ctl_base = pdev->resource[1]->start; in pcmcia_init_one()
228 ctl_base = pdev->resource[0]->start + 0x0e; in pcmcia_init_one()
240 ctl_addr = devm_ioport_map(&pdev->dev, ctl_base, 1); in pcmcia_init_one()
276 ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", io_base, ctl_base); in pcmcia_init_one()
/Linux-v4.19/drivers/irqchip/
Dirq-tango.c134 unsigned long ctl_base = chip->ctl + ctl_offs; in tangox_irq_init_chip() local
149 ct[i].regs.enable = ctl_base + IRQ_EN_SET; in tangox_irq_init_chip()
150 ct[i].regs.disable = ctl_base + IRQ_EN_CLR; in tangox_irq_init_chip()
/Linux-v4.19/drivers/platform/x86/
Dsony-laptop.c1889 int ctl_base = 0; in sony_nc_kbd_backlight_setup() local
1904 ctl_base = 0x0; in sony_nc_kbd_backlight_setup()
1908 ctl_base = 0x0C00; in sony_nc_kbd_backlight_setup()
1912 ctl_base = 0x4000; in sony_nc_kbd_backlight_setup()
1933 kbdbl_ctl->base = ctl_base; in sony_nc_kbd_backlight_setup()