Home
last modified time | relevance | path

Searched refs:cmd_port (Results 1 – 2 of 2) sorted by relevance

/drivers/ata/
Dpata_cs5520.c119 static const unsigned int cmd_port[] = { 0x1F0, 0x170 }; in cs5520_init_one() local
177 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); in cs5520_init_one()
179 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); in cs5520_init_one()
194 "cmd 0x%x ctl 0x%x", cmd_port[0], ctl_port[0]); in cs5520_init_one()
205 "cmd 0x%x ctl 0x%x", cmd_port[1], ctl_port[1]); in cs5520_init_one()
/drivers/net/ethernet/8390/
Dsmc-ultra.c421 int cmd_port = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC base addr */ in ultra_reset_8390() local
424 outb(ULTRA_RESET, cmd_port); in ultra_reset_8390()
428 outb(0x00, cmd_port); /* Disable shared memory for safety. */ in ultra_reset_8390()
429 outb(0x80, cmd_port + 5); in ultra_reset_8390()
431 outb(0x11, cmd_port + 6); /* Enable interrupts and PIO. */ in ultra_reset_8390()
433 outb(0x01, cmd_port + 6); /* Enable interrupts and memory. */ in ultra_reset_8390()