Lines Matching full:dram
260 struct func_dram __iomem *dram; member
605 void __iomem *dram_ptr = icom_port->dram; in load_code()
619 /* Zero out DRAM */ in load_code()
636 iram_ptr = (char __iomem *)icom_port->dram + ICOM_IRAM_OFFSET; in load_code()
656 iram_ptr = (char __iomem *) icom_port->dram + ICOM_IRAM_OFFSET; in load_code()
664 writeb(V2_HARDWARE, &(icom_port->dram->misc_flags)); in load_code()
670 &(icom_port->dram->HDLCConfigReg)); in load_code()
671 writeb(0x04, &(icom_port->dram->FlagFillIdleTimer)); /* 0.5 seconds */ in load_code()
672 writeb(0x00, &(icom_port->dram->CmdReg)); in load_code()
673 writeb(0x10, &(icom_port->dram->async_config3)); in load_code()
675 ICOM_ACFG_1STOP_BIT), &(icom_port->dram->async_config2)); in load_code()
677 /*Set up data in icom DRAM to indicate where personality in load_code()
704 writeb((char) ((fw->size + 16)/16), &icom_port->dram->mac_length); in load_code()
705 writel(temp_pci, &icom_port->dram->mac_load_addr); in load_code()
713 shared memory to adapter DRAM. in load_code()
718 writeb(START_DOWNLOAD, &icom_port->dram->sync); in load_code()
723 if (readb(&icom_port->dram->misc_flags) & ICOM_HDW_ACTIVE) in load_code()
733 cable_id = readb(&icom_port->dram->cable_id); in load_code()
751 writeb(ICOM_DISABLE, &(icom_port->dram->disable)); in load_code()
772 if (!icom_port->dram) { in startup()
782 raw_cable_id = readb(&icom_port->dram->cable_id); in startup()
796 raw_cable_id = readb(&icom_port->dram->cable_id); in startup()
871 cmdReg = readb(&icom_port->dram->CmdReg); in shutdown()
873 writeb(cmdReg & ~CMD_SND_BREAK, &icom_port->dram->CmdReg); in shutdown()
914 cmdReg = readb(&icom_port->dram->CmdReg); in icom_write()
916 &icom_port->dram->CmdReg); in icom_write()
917 writeb(START_XMIT, &icom_port->dram->StartXmitCmd); in icom_write()
920 readb(&icom_port->dram->StartXmitCmd); in icom_write()
935 status = readb(&icom_port->dram->isr); in check_modem_status()
1206 local_osr = readb(&icom_port->dram->osr); in icom_set_mctrl()
1224 writeb(local_osr, &icom_port->dram->osr); in icom_set_mctrl()
1235 status = readb(&icom_port->dram->isr); in icom_get_mctrl()
1250 cmdReg = readb(&icom_port->dram->CmdReg); in icom_stop_tx()
1251 writeb(cmdReg | CMD_HOLD_XMIT, &icom_port->dram->CmdReg); in icom_stop_tx()
1260 cmdReg = readb(&icom_port->dram->CmdReg); in icom_start_tx()
1263 &icom_port->dram->CmdReg); in icom_start_tx()
1280 xdata = readb(&icom_port->dram->xchar); in icom_send_xchar()
1283 writeb(ch, &icom_port->dram->xchar); in icom_send_xchar()
1286 xdata = readb(&icom_port->dram->xchar); in icom_send_xchar()
1300 cmdReg = readb(&icom_port->dram->CmdReg); in icom_stop_rx()
1301 writeb(cmdReg & ~CMD_RCV_ENABLE, &icom_port->dram->CmdReg); in icom_stop_rx()
1312 cmdReg = readb(&icom_port->dram->CmdReg); in icom_break()
1314 writeb(cmdReg | CMD_SND_BREAK, &icom_port->dram->CmdReg); in icom_break()
1316 writeb(cmdReg & ~CMD_SND_BREAK, &icom_port->dram->CmdReg); in icom_break()
1346 cmdReg = readb(&icom_port->dram->CmdReg); in icom_close()
1347 writeb(cmdReg & ~CMD_RCV_ENABLE, &icom_port->dram->CmdReg); in icom_close()
1425 tmp_byte = readb(&(icom_port->dram->HDLCConfigReg)); in icom_set_termios()
1430 writeb(tmp_byte, &(icom_port->dram->HDLCConfigReg)); in icom_set_termios()
1467 writeb(CMD_RCV_DISABLE, &icom_port->dram->CmdReg); in icom_set_termios()
1470 if (readb(&icom_port->dram->PrevCmdReg) == 0x00) { in icom_set_termios()
1489 writeb(new_config3, &(icom_port->dram->async_config3)); in icom_set_termios()
1490 writeb(new_config2, &(icom_port->dram->async_config2)); in icom_set_termios()
1491 tmp_byte = readb(&(icom_port->dram->HDLCConfigReg)); in icom_set_termios()
1493 writeb(tmp_byte, &(icom_port->dram->HDLCConfigReg)); in icom_set_termios()
1494 writeb(0x04, &(icom_port->dram->FlagFillIdleTimer)); /* 0.5 seconds */ in icom_set_termios()
1495 writeb(0xFF, &(icom_port->dram->ier)); /* enable modem signal interrupts */ in icom_set_termios()
1498 writeb(CMD_RESTART, &icom_port->dram->CmdReg); in icom_set_termios()
1501 if (readb(&icom_port->dram->CmdReg) == 0x00) { in icom_set_termios()
1511 &icom_port->dram->RcvStatusAddr); in icom_set_termios()
1515 &icom_port->dram->XmitStatusAddr); in icom_set_termios()
1517 writeb(CMD_XMIT_RCV_ENABLE, &icom_port->dram->CmdReg); in icom_set_termios()
1626 icom_port->dram = icom_adapter->base_addr + in icom_load_ports()
1694 writeb(0x00, &icom_port->dram->osr); in icom_kref_release()