/drivers/net/ |
D | sc92031.c | 276 void __iomem *port_base; member 318 static inline void _sc92031_dummy_read(void __iomem *port_base) in _sc92031_dummy_read() argument 320 ioread32(port_base + MAC0); in _sc92031_dummy_read() 323 static u32 _sc92031_mii_wait(void __iomem *port_base) in _sc92031_mii_wait() argument 329 mii_status = ioread32(port_base + Miistatus); in _sc92031_mii_wait() 335 static u32 _sc92031_mii_cmd(void __iomem *port_base, u32 cmd0, u32 cmd1) in _sc92031_mii_cmd() argument 337 iowrite32(Mii_Divider, port_base + Miicmd0); in _sc92031_mii_cmd() 339 _sc92031_mii_wait(port_base); in _sc92031_mii_cmd() 341 iowrite32(cmd1, port_base + Miicmd1); in _sc92031_mii_cmd() 342 iowrite32(Mii_Divider | cmd0, port_base + Miicmd0); in _sc92031_mii_cmd() [all …]
|
/drivers/scsi/ |
D | fdomain.c | 386 static int port_base; variable 545 port_base); in print_banner() 567 port_base = ints[0] >= 1 ? ints[1] : 0; in fdomain_setup() 586 outb(0, port_base + SCSI_Cntl); in fdomain_make_bus_idle() 587 outb(0, port_base + SCSI_Mode_Cntl); in fdomain_make_bus_idle() 589 outb(0x21 | PARITY_MASK, port_base + TMC_Cntl); /* Clear forced intr. */ in fdomain_make_bus_idle() 591 outb(0x01 | PARITY_MASK, port_base + TMC_Cntl); in fdomain_make_bus_idle() 640 outb( i, port_base + Write_Loopback ); in fdomain_test_loopback() 641 result = inb( port_base + Read_Loopback ); in fdomain_test_loopback() 904 port_base, interrupt_level ); in __fdomain_16x0_detect() [all …]
|
D | NCR53c406a.c | 185 static int port_base = PORT_BASE; variable 187 static int port_base; variable 478 if (!request_region(port_base, 0x10, "NCR53c406a")) /* ports already snatched */ in NCR53c406a_detect() 479 port_base = 0; in NCR53c406a_detect() 482 if (port_base) { /* LILO override */ in NCR53c406a_detect() 483 if (!request_region(port_base, 0x10, "NCR53c406a")) in NCR53c406a_detect() 484 port_base = 0; in NCR53c406a_detect() 486 for (i = 0; i < PORT_COUNT && !port_base; i++) { in NCR53c406a_detect() 493 port_base = ports[i]; in NCR53c406a_detect() 495 VDEB(printk("port_base=0x%x\n", port_base)); in NCR53c406a_detect() [all …]
|
D | eata.c | 1030 static struct pci_dev *get_pci_dev(unsigned long port_base) in get_pci_dev() argument 1049 if (addr + PCI_BASE_ADDRESS_0 == port_base) in get_pci_dev() 1076 static int port_detect(unsigned long port_base, unsigned int j, in port_detect() argument 1092 if (!request_region(port_base, REGION_SIZE, driver_name)) { in port_detect() 1095 port_base); in port_detect() 1102 if (do_dma(port_base, 0, READ_CONFIG_PIO)) { in port_detect() 1105 port_base); in port_detect() 1111 if (read_pio(port_base, (ushort *) & info, (ushort *) & info.ipad[0])) { in port_detect() 1114 port_base); in port_detect() 1152 } else if (port_base > MAX_EISA_ADDR in port_detect() [all …]
|
D | u14-34f.c | 798 (unsigned long port_base, unsigned int j, struct scsi_host_template *tpnt) { in port_detect() argument 852 if (!request_region(port_base, REGION_SIZE, driver_name)) { in port_detect() 854 printk("%s: address 0x%03lx in use, skipping probe.\n", name, port_base); in port_detect() 861 if (inb(port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) goto freelock; in port_detect() 863 in_byte = inb(port_base + REG_PRODUCT_ID2); in port_detect() 867 *(char *)&config_1 = inb(port_base + REG_CONFIG1); in port_detect() 868 *(char *)&config_2 = inb(port_base + REG_CONFIG2); in port_detect() 899 sh[j]->io_port = port_base; in port_detect() 900 sh[j]->unique_id = port_base; in port_detect() 1024 release_region(port_base, REGION_SIZE); in port_detect()
|
/drivers/scsi/pcmcia/ |
D | sym53c500_cs.c | 373 int port_base = dev->io_port; in SYM53C500_intr() local 383 REG1(port_base); in SYM53C500_intr() 384 pio_status = inb(port_base + PIO_STATUS); in SYM53C500_intr() 385 REG0(port_base); in SYM53C500_intr() 386 status = inb(port_base + STAT_REG); in SYM53C500_intr() 387 DEB(seq_reg = inb(port_base + SEQ_REG)); in SYM53C500_intr() 388 int_reg = inb(port_base + INT_REG); in SYM53C500_intr() 389 DEB(fifo_size = inb(port_base + FIFO_FLAGS) & 0x1f); in SYM53C500_intr() 440 outb(FLUSH_FIFO, port_base + CMD_REG); in SYM53C500_intr() 441 LOAD_DMA_COUNT(port_base, scsi_bufflen(curSC)); /* Max transfer size */ in SYM53C500_intr() [all …]
|
/drivers/ata/ |
D | sata_inic162x.c | 252 static void inic_reset_port(void __iomem *port_base) in inic_reset_port() argument 254 void __iomem *idma_ctl = port_base + PORT_IDMA_CTL; in inic_reset_port() 269 writeb(0xff, port_base + PORT_IRQ_STAT); in inic_reset_port() 302 void __iomem *port_base = inic_port_base(ap); in inic_stop_idma() local 304 readb(port_base + PORT_RPQ_FIFO); in inic_stop_idma() 305 readb(port_base + PORT_RPQ_CNT); in inic_stop_idma() 306 writew(0, port_base + PORT_IDMA_CTL); in inic_stop_idma() 367 void __iomem *port_base = inic_port_base(ap); in inic_host_intr() local 373 irq_stat = readb(port_base + PORT_IRQ_STAT); in inic_host_intr() 374 writeb(irq_stat, port_base + PORT_IRQ_STAT); in inic_host_intr() [all …]
|
D | pdc_adma.c | 661 void __iomem *port_base = ADMA_ATA_REGS(mmio_base, port_no); in adma_ata_init_one() local 662 unsigned int offset = port_base - mmio_base; in adma_ata_init_one() 664 adma_ata_setup_port(&ap->ioaddr, port_base); in adma_ata_init_one()
|
D | sata_mv.c | 1004 void __iomem *port_base; in mv_dump_all_regs() local 1034 port_base = mv_port_base(mmio_base, p); in mv_dump_all_regs() 1036 mv_dump_mem(port_base, 0x54); in mv_dump_all_regs() 1038 mv_dump_mem(port_base+0x300, 0x60); in mv_dump_all_regs()
|
/drivers/char/ |
D | sx.h | 40 int port_base; /* Number of the first port */ member
|
D | sx.c | 2437 board->port_base = portno; in sx_init_portstructs()
|
/drivers/parisc/ |
D | dino.c | 568 int port_base = HBA_PORT_BASE(dino_dev->hba.hba_num); in dino_fixup_bus() local 644 res->start |= port_base; in dino_fixup_bus() 645 res->end |= port_base; in dino_fixup_bus()
|