• Home
  • Raw
  • Download

Lines Matching refs:base_addr

480 	outb(0, IER(dev->base_addr));  in yam_set_uart()
481 outb(LCR_DLAB | LCR_BIT8, LCR(dev->base_addr)); in yam_set_uart()
482 outb(divisor, DLL(dev->base_addr)); in yam_set_uart()
483 outb(0, DLM(dev->base_addr)); in yam_set_uart()
484 outb(LCR_BIT8, LCR(dev->base_addr)); in yam_set_uart()
485 outb(PTT_OFF, MCR(dev->base_addr)); in yam_set_uart()
486 outb(0x00, FCR(dev->base_addr)); in yam_set_uart()
490 inb(RBR(dev->base_addr)); in yam_set_uart()
491 inb(MSR(dev->base_addr)); in yam_set_uart()
495 outb(ENABLE_RTXINT, IER(dev->base_addr)); in yam_set_uart()
587 outb(PTT_ON, MCR(dev->base_addr)); in ptt_on()
592 outb(PTT_OFF, MCR(dev->base_addr)); in ptt_off()
698 outb(b, THR(dev->base_addr)); in yam_tx_byte()
709 outb(yp->tx_crcl, THR(dev->base_addr)); in yam_tx_byte()
713 outb(chktabh[yp->tx_crch] ^ 0xFF, THR(dev->base_addr)); in yam_tx_byte()
756 while ((iir = IIR_MASK & inb(IIR(dev->base_addr))) != IIR_NOPEND) { in yam_interrupt()
757 unsigned char msr = inb(MSR(dev->base_addr)); in yam_interrupt()
758 unsigned char lsr = inb(LSR(dev->base_addr)); in yam_interrupt()
779 rxb = inb(RBR(dev->base_addr)); in yam_interrupt()
867 printk(KERN_INFO "Trying %s at iobase 0x%lx irq %u\n", dev->name, dev->base_addr, dev->irq); in yam_open()
871 if (!dev->base_addr || dev->base_addr > 0x1000 - YAM_EXTENT || in yam_open()
875 if (!request_region(dev->base_addr, YAM_EXTENT, dev->name)) in yam_open()
877 printk(KERN_ERR "%s: cannot 0x%lx busy\n", dev->name, dev->base_addr); in yam_open()
880 if ((u = yam_check_uart(dev->base_addr)) == c_uart_unknown) { in yam_open()
885 if (fpga_download(dev->base_addr, yp->bitrate)) { in yam_open()
890 outb(0, IER(dev->base_addr)); in yam_open()
907 inb(LSR(yam_dev->base_addr)); in yam_open()
911 printk(KERN_INFO "%s at iobase 0x%lx irq %u uart %s\n", dev->name, dev->base_addr, dev->irq, in yam_open()
916 release_region(dev->base_addr, YAM_EXTENT); in yam_open()
933 outb(0, IER(dev->base_addr)); in yam_close()
934 outb(1, MCR(dev->base_addr)); in yam_close()
937 release_region(dev->base_addr, YAM_EXTENT); in yam_close()
943 yam_drvname, dev->base_addr, dev->irq); in yam_close()
1009 dev->base_addr = yi.cfg.iobase; in yam_ioctl()
1122 dev->base_addr = yp->iobase; in yam_setup()