• Home
  • Raw
  • Download

Lines Matching refs:port_base

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()
504 if (!port_base) { /* no ports found */ in NCR53c406a_detect()
524 DEB(printk("NCR53c406a: using port_base 0x%x\n", port_base)); in NCR53c406a_detect()
568 shpnt->io_port = port_base; in NCR53c406a_detect()
575 sprintf(info_msg, "NCR53c406a at 0x%x, IRQ %d, DMA channel %d.", port_base, irq_level, dma_chan); in NCR53c406a_detect()
577 …sprintf(info_msg, "NCR53c406a at 0x%x, IRQ %d, %s PIO mode.", port_base, irq_level, fast_pio ? "fa… in NCR53c406a_detect()
590 release_region(port_base, 0x10); in NCR53c406a_detect()
630 for (i = 0; i < PORT_COUNT && !port_base; i++) in NCR53c406a_setup()
632 port_base = ints[1]; in NCR53c406a_setup()
633 DEB(printk("NCR53c406a: Specified port_base 0x%x\n", port_base); in NCR53c406a_setup()
636 if (!port_base) { in NCR53c406a_setup()
650 DEB(printk("NCR53c406a: Specified irq %d\n", port_base); in NCR53c406a_setup()
660 DEB(printk("NCR53c406a: port_base=0x%x, irq=%d, fast_pio=%d\n", port_base, irq_level, fast_pio);) in NCR53c406a_setup()
1008 TC_LSB = (port_base + 0x00); in calc_port_addr()
1009 TC_MSB = (port_base + 0x01); in calc_port_addr()
1010 SCSI_FIFO = (port_base + 0x02); in calc_port_addr()
1011 CMD_REG = (port_base + 0x03); in calc_port_addr()
1012 STAT_REG = (port_base + 0x04); in calc_port_addr()
1013 DEST_ID = (port_base + 0x04); in calc_port_addr()
1014 INT_REG = (port_base + 0x05); in calc_port_addr()
1015 SRTIMOUT = (port_base + 0x05); in calc_port_addr()
1016 SEQ_REG = (port_base + 0x06); in calc_port_addr()
1017 SYNCPRD = (port_base + 0x06); in calc_port_addr()
1018 FIFO_FLAGS = (port_base + 0x07); in calc_port_addr()
1019 SYNCOFF = (port_base + 0x07); in calc_port_addr()
1020 CONFIG1 = (port_base + 0x08); in calc_port_addr()
1021 CLKCONV = (port_base + 0x09); in calc_port_addr()
1023 CONFIG2 = (port_base + 0x0B); in calc_port_addr()
1024 CONFIG3 = (port_base + 0x0C); in calc_port_addr()
1025 CONFIG4 = (port_base + 0x0D); in calc_port_addr()
1026 TC_HIGH = (port_base + 0x0E); in calc_port_addr()
1033 PIO_FIFO = (port_base + 0x04); in calc_port_addr()
1037 PIO_STATUS = (port_base + 0x08); in calc_port_addr()
1040 PIO_FLAG = (port_base + 0x0B); in calc_port_addr()
1041 CONFIG5 = (port_base + 0x0D); in calc_port_addr()