icom_port 51 drivers/tty/serial/icom.c #define ICOM_PORT ((struct icom_port *)port) icom_port 124 drivers/tty/serial/icom.c static inline void trace(struct icom_port *icom_port, char *trace_pt, icom_port 127 drivers/tty/serial/icom.c dev_info(&icom_port->adapter->pci_dev->dev, ":%d:%s - %lx\n", icom_port 128 drivers/tty/serial/icom.c icom_port->port, trace_pt, trace_data); icom_port 131 drivers/tty/serial/icom.c static inline void trace(struct icom_port *icom_port, char *trace_pt, unsigned long trace_data) {}; icom_port 135 drivers/tty/serial/icom.c static void free_port_memory(struct icom_port *icom_port) icom_port 137 drivers/tty/serial/icom.c struct pci_dev *dev = icom_port->adapter->pci_dev; icom_port 139 drivers/tty/serial/icom.c trace(icom_port, "RET_PORT_MEM", 0); icom_port 140 drivers/tty/serial/icom.c if (icom_port->recv_buf) { icom_port 141 drivers/tty/serial/icom.c pci_free_consistent(dev, 4096, icom_port->recv_buf, icom_port 142 drivers/tty/serial/icom.c icom_port->recv_buf_pci); icom_port 143 drivers/tty/serial/icom.c icom_port->recv_buf = NULL; icom_port 145 drivers/tty/serial/icom.c if (icom_port->xmit_buf) { icom_port 146 drivers/tty/serial/icom.c pci_free_consistent(dev, 4096, icom_port->xmit_buf, icom_port 147 drivers/tty/serial/icom.c icom_port->xmit_buf_pci); icom_port 148 drivers/tty/serial/icom.c icom_port->xmit_buf = NULL; icom_port 150 drivers/tty/serial/icom.c if (icom_port->statStg) { icom_port 151 drivers/tty/serial/icom.c pci_free_consistent(dev, 4096, icom_port->statStg, icom_port 152 drivers/tty/serial/icom.c icom_port->statStg_pci); icom_port 153 drivers/tty/serial/icom.c icom_port->statStg = NULL; icom_port 156 drivers/tty/serial/icom.c if (icom_port->xmitRestart) { icom_port 157 drivers/tty/serial/icom.c pci_free_consistent(dev, 4096, icom_port->xmitRestart, icom_port 158 drivers/tty/serial/icom.c icom_port->xmitRestart_pci); icom_port 159 drivers/tty/serial/icom.c icom_port->xmitRestart = NULL; icom_port 163 drivers/tty/serial/icom.c static int get_port_memory(struct icom_port *icom_port) icom_port 169 drivers/tty/serial/icom.c struct pci_dev *dev = icom_port->adapter->pci_dev; icom_port 171 drivers/tty/serial/icom.c icom_port->xmit_buf = icom_port 172 drivers/tty/serial/icom.c pci_alloc_consistent(dev, 4096, &icom_port->xmit_buf_pci); icom_port 173 drivers/tty/serial/icom.c if (!icom_port->xmit_buf) { icom_port 178 drivers/tty/serial/icom.c trace(icom_port, "GET_PORT_MEM", icom_port 179 drivers/tty/serial/icom.c (unsigned long) icom_port->xmit_buf); icom_port 181 drivers/tty/serial/icom.c icom_port->recv_buf = icom_port 182 drivers/tty/serial/icom.c pci_alloc_consistent(dev, 4096, &icom_port->recv_buf_pci); icom_port 183 drivers/tty/serial/icom.c if (!icom_port->recv_buf) { icom_port 185 drivers/tty/serial/icom.c free_port_memory(icom_port); icom_port 188 drivers/tty/serial/icom.c trace(icom_port, "GET_PORT_MEM", icom_port 189 drivers/tty/serial/icom.c (unsigned long) icom_port->recv_buf); icom_port 191 drivers/tty/serial/icom.c icom_port->statStg = icom_port 192 drivers/tty/serial/icom.c pci_alloc_consistent(dev, 4096, &icom_port->statStg_pci); icom_port 193 drivers/tty/serial/icom.c if (!icom_port->statStg) { icom_port 195 drivers/tty/serial/icom.c free_port_memory(icom_port); icom_port 198 drivers/tty/serial/icom.c trace(icom_port, "GET_PORT_MEM", icom_port 199 drivers/tty/serial/icom.c (unsigned long) icom_port->statStg); icom_port 201 drivers/tty/serial/icom.c icom_port->xmitRestart = icom_port 202 drivers/tty/serial/icom.c pci_alloc_consistent(dev, 4096, &icom_port->xmitRestart_pci); icom_port 203 drivers/tty/serial/icom.c if (!icom_port->xmitRestart) { icom_port 206 drivers/tty/serial/icom.c free_port_memory(icom_port); icom_port 214 drivers/tty/serial/icom.c stgAddr = (unsigned long) icom_port->statStg; icom_port 216 drivers/tty/serial/icom.c trace(icom_port, "FOD_ADDR", stgAddr); icom_port 217 drivers/tty/serial/icom.c stgAddr = stgAddr + sizeof(icom_port->statStg->xmit[0]); icom_port 219 drivers/tty/serial/icom.c memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); icom_port 220 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leLengthASD = icom_port 222 drivers/tty/serial/icom.c trace(icom_port, "FOD_ADDR", stgAddr); icom_port 223 drivers/tty/serial/icom.c trace(icom_port, "FOD_XBUFF", icom_port 224 drivers/tty/serial/icom.c (unsigned long) icom_port->xmit_buf); icom_port 225 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leBuffer = icom_port 226 drivers/tty/serial/icom.c cpu_to_le32(icom_port->xmit_buf_pci); icom_port 228 drivers/tty/serial/icom.c memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); icom_port 229 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leLengthASD = icom_port 231 drivers/tty/serial/icom.c trace(icom_port, "FOD_XBUFF", icom_port 232 drivers/tty/serial/icom.c (unsigned long) icom_port->xmit_buf); icom_port 233 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leBuffer = icom_port 234 drivers/tty/serial/icom.c cpu_to_le32(icom_port->xmit_buf_pci); icom_port 236 drivers/tty/serial/icom.c memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); icom_port 244 drivers/tty/serial/icom.c trace(icom_port, "FID_ADDR", stgAddr); icom_port 245 drivers/tty/serial/icom.c stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); icom_port 246 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leLength = 0; icom_port 247 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].WorkingLength = icom_port 250 drivers/tty/serial/icom.c offset = stgAddr - (unsigned long) icom_port->statStg; icom_port 251 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leNext = icom_port 252 drivers/tty/serial/icom.c cpu_to_le32(icom_port-> statStg_pci + offset); icom_port 253 drivers/tty/serial/icom.c trace(icom_port, "FID_RBUFF", icom_port 254 drivers/tty/serial/icom.c (unsigned long) icom_port->recv_buf); icom_port 255 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leBuffer = icom_port 256 drivers/tty/serial/icom.c cpu_to_le32(icom_port->recv_buf_pci); icom_port 258 drivers/tty/serial/icom.c offset = startStgAddr - (unsigned long) icom_port->statStg; icom_port 259 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leNext = icom_port 260 drivers/tty/serial/icom.c cpu_to_le32(icom_port-> statStg_pci + offset); icom_port 261 drivers/tty/serial/icom.c trace(icom_port, "FID_RBUFF", icom_port 262 drivers/tty/serial/icom.c (unsigned long) icom_port->recv_buf + 2048); icom_port 263 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leBuffer = icom_port 264 drivers/tty/serial/icom.c cpu_to_le32(icom_port->recv_buf_pci + 2048); icom_port 266 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leNext = 0; icom_port 267 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leBuffer = 0; icom_port 274 drivers/tty/serial/icom.c static void stop_processor(struct icom_port *icom_port) icom_port 282 drivers/tty/serial/icom.c port = icom_port->port; icom_port 284 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev, icom_port 290 drivers/tty/serial/icom.c stop_proc[port].global_control_reg = &icom_port->global_reg->control; icom_port 292 drivers/tty/serial/icom.c stop_proc[port].global_control_reg = &icom_port->global_reg->control_2; icom_port 305 drivers/tty/serial/icom.c static void start_processor(struct icom_port *icom_port) icom_port 313 drivers/tty/serial/icom.c port = icom_port->port; icom_port 315 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev, icom_port 321 drivers/tty/serial/icom.c start_proc[port].global_control_reg = &icom_port->global_reg->control; icom_port 323 drivers/tty/serial/icom.c start_proc[port].global_control_reg = &icom_port->global_reg->control_2; icom_port 336 drivers/tty/serial/icom.c static void load_code(struct icom_port *icom_port) icom_port 342 drivers/tty/serial/icom.c void __iomem *dram_ptr = icom_port->dram; icom_port 346 drivers/tty/serial/icom.c struct pci_dev *dev = icom_port->adapter->pci_dev; icom_port 349 drivers/tty/serial/icom.c writew(0x3FFF, icom_port->int_reg); icom_port 351 drivers/tty/serial/icom.c trace(icom_port, "CLEAR_INTERRUPTS", 0); icom_port 354 drivers/tty/serial/icom.c stop_processor(icom_port); icom_port 373 drivers/tty/serial/icom.c iram_ptr = (char __iomem *)icom_port->dram + ICOM_IRAM_OFFSET; icom_port 393 drivers/tty/serial/icom.c iram_ptr = (char __iomem *) icom_port->dram + ICOM_IRAM_OFFSET; icom_port 400 drivers/tty/serial/icom.c if (icom_port->adapter->version == ADAPTER_V2) icom_port 401 drivers/tty/serial/icom.c writeb(V2_HARDWARE, &(icom_port->dram->misc_flags)); icom_port 404 drivers/tty/serial/icom.c start_processor(icom_port); icom_port 407 drivers/tty/serial/icom.c &(icom_port->dram->HDLCConfigReg)); icom_port 408 drivers/tty/serial/icom.c writeb(0x04, &(icom_port->dram->FlagFillIdleTimer)); /* 0.5 seconds */ icom_port 409 drivers/tty/serial/icom.c writeb(0x00, &(icom_port->dram->CmdReg)); icom_port 410 drivers/tty/serial/icom.c writeb(0x10, &(icom_port->dram->async_config3)); icom_port 412 drivers/tty/serial/icom.c ICOM_ACFG_1STOP_BIT), &(icom_port->dram->async_config2)); icom_port 441 drivers/tty/serial/icom.c writeb((char) ((fw->size + 16)/16), &icom_port->dram->mac_length); icom_port 442 drivers/tty/serial/icom.c writel(temp_pci, &icom_port->dram->mac_load_addr); icom_port 455 drivers/tty/serial/icom.c writeb(START_DOWNLOAD, &icom_port->dram->sync); icom_port 460 drivers/tty/serial/icom.c if (readb(&icom_port->dram->misc_flags) & ICOM_HDW_ACTIVE) icom_port 470 drivers/tty/serial/icom.c cable_id = readb(&icom_port->dram->cable_id); icom_port 475 drivers/tty/serial/icom.c icom_port->cable_id = cable_id; icom_port 478 drivers/tty/serial/icom.c icom_port->cable_id = NO_CABLE; icom_port 485 drivers/tty/serial/icom.c writew(0x3FFF, icom_port->int_reg); icom_port 488 drivers/tty/serial/icom.c writeb(ICOM_DISABLE, &(icom_port->dram->disable)); icom_port 491 drivers/tty/serial/icom.c stop_processor(icom_port); icom_port 493 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev,"Port not operational\n"); icom_port 500 drivers/tty/serial/icom.c static int startup(struct icom_port *icom_port) icom_port 507 drivers/tty/serial/icom.c trace(icom_port, "STARTUP", 0); icom_port 509 drivers/tty/serial/icom.c if (!icom_port->dram) { icom_port 511 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev, icom_port 519 drivers/tty/serial/icom.c raw_cable_id = readb(&icom_port->dram->cable_id); icom_port 520 drivers/tty/serial/icom.c trace(icom_port, "CABLE_ID", raw_cable_id); icom_port 527 drivers/tty/serial/icom.c (cable_id != icom_port->cable_id)) { icom_port 530 drivers/tty/serial/icom.c load_code(icom_port); icom_port 533 drivers/tty/serial/icom.c raw_cable_id = readb(&icom_port->dram->cable_id); icom_port 536 drivers/tty/serial/icom.c (icom_port->cable_id == NO_CABLE)) icom_port 544 drivers/tty/serial/icom.c port = icom_port->port; icom_port 546 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev, icom_port 552 drivers/tty/serial/icom.c int_mask_tbl[port].global_int_mask = &icom_port->global_reg->int_mask; icom_port 554 drivers/tty/serial/icom.c int_mask_tbl[port].global_int_mask = &icom_port->global_reg->int_mask_2; icom_port 557 drivers/tty/serial/icom.c writew(0x00FF, icom_port->int_reg); icom_port 559 drivers/tty/serial/icom.c writew(0x3F00, icom_port->int_reg); icom_port 572 drivers/tty/serial/icom.c static void shutdown(struct icom_port *icom_port) icom_port 580 drivers/tty/serial/icom.c trace(icom_port, "SHUTDOWN", 0); icom_port 585 drivers/tty/serial/icom.c port = icom_port->port; icom_port 587 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev, icom_port 592 drivers/tty/serial/icom.c int_mask_tbl[port].global_int_mask = &icom_port->global_reg->int_mask; icom_port 594 drivers/tty/serial/icom.c int_mask_tbl[port].global_int_mask = &icom_port->global_reg->int_mask_2; icom_port 608 drivers/tty/serial/icom.c cmdReg = readb(&icom_port->dram->CmdReg); icom_port 610 drivers/tty/serial/icom.c writeb(cmdReg & ~CMD_SND_BREAK, &icom_port->dram->CmdReg); icom_port 662 drivers/tty/serial/icom.c static inline void check_modem_status(struct icom_port *icom_port) icom_port 668 drivers/tty/serial/icom.c spin_lock(&icom_port->uart_port.lock); icom_port 671 drivers/tty/serial/icom.c status = readb(&icom_port->dram->isr); icom_port 672 drivers/tty/serial/icom.c trace(icom_port, "CHECK_MODEM", status); icom_port 676 drivers/tty/serial/icom.c icom_port->uart_port.icount.rng++; icom_port 678 drivers/tty/serial/icom.c icom_port->uart_port.icount.dsr++; icom_port 680 drivers/tty/serial/icom.c uart_handle_dcd_change(&icom_port->uart_port, icom_port 683 drivers/tty/serial/icom.c uart_handle_cts_change(&icom_port->uart_port, icom_port 686 drivers/tty/serial/icom.c wake_up_interruptible(&icom_port->uart_port.state-> icom_port 690 drivers/tty/serial/icom.c spin_unlock(&icom_port->uart_port.lock); icom_port 693 drivers/tty/serial/icom.c static void xmit_interrupt(u16 port_int_reg, struct icom_port *icom_port) icom_port 699 drivers/tty/serial/icom.c trace(icom_port, "XMIT_COMPLETE", 0); icom_port 702 drivers/tty/serial/icom.c icom_port->statStg->xmit[0].flags &= icom_port 706 drivers/tty/serial/icom.c cpu_to_le16(icom_port->statStg->xmit[0].leLength); icom_port 707 drivers/tty/serial/icom.c icom_port->uart_port.icount.tx += count; icom_port 710 drivers/tty/serial/icom.c !uart_circ_empty(&icom_port->uart_port.state->xmit); i++) { icom_port 712 drivers/tty/serial/icom.c icom_port->uart_port.state->xmit.tail++; icom_port 713 drivers/tty/serial/icom.c icom_port->uart_port.state->xmit.tail &= icom_port 717 drivers/tty/serial/icom.c if (!icom_write(&icom_port->uart_port)) icom_port 719 drivers/tty/serial/icom.c uart_write_wakeup(&icom_port->uart_port); icom_port 721 drivers/tty/serial/icom.c trace(icom_port, "XMIT_DISABLED", 0); icom_port 724 drivers/tty/serial/icom.c static void recv_interrupt(u16 port_int_reg, struct icom_port *icom_port) icom_port 727 drivers/tty/serial/icom.c struct tty_port *port = &icom_port->uart_port.state->port; icom_port 733 drivers/tty/serial/icom.c trace(icom_port, "RCV_COMPLETE", 0); icom_port 734 drivers/tty/serial/icom.c rcv_buff = icom_port->next_rcv; icom_port 736 drivers/tty/serial/icom.c status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); icom_port 740 drivers/tty/serial/icom.c trace(icom_port, "FID_STATUS", status); icom_port 741 drivers/tty/serial/icom.c count = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].leLength); icom_port 743 drivers/tty/serial/icom.c trace(icom_port, "RCV_COUNT", count); icom_port 745 drivers/tty/serial/icom.c trace(icom_port, "REAL_COUNT", count); icom_port 748 drivers/tty/serial/icom.c cpu_to_le32(icom_port->statStg->rcv[rcv_buff].leBuffer) - icom_port 749 drivers/tty/serial/icom.c icom_port->recv_buf_pci; icom_port 753 drivers/tty/serial/icom.c first = icom_port->recv_buf[offset]; icom_port 754 drivers/tty/serial/icom.c tty_insert_flip_string(port, icom_port->recv_buf + offset, count - 1); icom_port 757 drivers/tty/serial/icom.c icount = &icom_port->uart_port.icount; icom_port 765 drivers/tty/serial/icom.c trace(icom_port, "BREAK_DET", 0); icom_port 788 drivers/tty/serial/icom.c if (status & icom_port->ignore_status_mask) { icom_port 789 drivers/tty/serial/icom.c trace(icom_port, "IGNORE_CHAR", 0); icom_port 793 drivers/tty/serial/icom.c status &= icom_port->read_status_mask; icom_port 798 drivers/tty/serial/icom.c trace(icom_port, "PARITY_ERROR", 0); icom_port 805 drivers/tty/serial/icom.c tty_insert_flip_char(port, *(icom_port->recv_buf + offset + count - 1), flag); icom_port 815 drivers/tty/serial/icom.c icom_port->statStg->rcv[rcv_buff].flags = 0; icom_port 816 drivers/tty/serial/icom.c icom_port->statStg->rcv[rcv_buff].leLength = 0; icom_port 817 drivers/tty/serial/icom.c icom_port->statStg->rcv[rcv_buff].WorkingLength = icom_port 824 drivers/tty/serial/icom.c status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); icom_port 826 drivers/tty/serial/icom.c icom_port->next_rcv = rcv_buff; icom_port 828 drivers/tty/serial/icom.c spin_unlock(&icom_port->uart_port.lock); icom_port 830 drivers/tty/serial/icom.c spin_lock(&icom_port->uart_port.lock); icom_port 834 drivers/tty/serial/icom.c struct icom_port *icom_port) icom_port 837 drivers/tty/serial/icom.c spin_lock(&icom_port->uart_port.lock); icom_port 838 drivers/tty/serial/icom.c trace(icom_port, "INTERRUPT", port_int_reg); icom_port 841 drivers/tty/serial/icom.c xmit_interrupt(port_int_reg, icom_port); icom_port 844 drivers/tty/serial/icom.c recv_interrupt(port_int_reg, icom_port); icom_port 846 drivers/tty/serial/icom.c spin_unlock(&icom_port->uart_port.lock); icom_port 855 drivers/tty/serial/icom.c struct icom_port *icom_port; icom_port 867 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[2]; icom_port 869 drivers/tty/serial/icom.c process_interrupt(port_int_reg, icom_port); icom_port 870 drivers/tty/serial/icom.c check_modem_status(icom_port); icom_port 874 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[3]; icom_port 875 drivers/tty/serial/icom.c if (icom_port->status == ICOM_PORT_ACTIVE) { icom_port 878 drivers/tty/serial/icom.c process_interrupt(port_int_reg, icom_port); icom_port 879 drivers/tty/serial/icom.c check_modem_status(icom_port); icom_port 895 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[0]; icom_port 897 drivers/tty/serial/icom.c process_interrupt(port_int_reg, icom_port); icom_port 898 drivers/tty/serial/icom.c check_modem_status(icom_port); icom_port 902 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[1]; icom_port 903 drivers/tty/serial/icom.c if (icom_port->status == ICOM_PORT_ACTIVE) { icom_port 905 drivers/tty/serial/icom.c process_interrupt(port_int_reg, icom_port); icom_port 906 drivers/tty/serial/icom.c check_modem_status(icom_port); icom_port 1307 drivers/tty/serial/icom.c struct icom_port *icom_port; icom_port 1313 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[i]; icom_port 1314 drivers/tty/serial/icom.c icom_port->port = i; icom_port 1315 drivers/tty/serial/icom.c icom_port->status = ICOM_PORT_ACTIVE; icom_port 1316 drivers/tty/serial/icom.c icom_port->imbed_modem = ICOM_UNKNOWN; icom_port 1323 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[i]; icom_port 1325 drivers/tty/serial/icom.c icom_port->port = i; icom_port 1326 drivers/tty/serial/icom.c icom_port->status = ICOM_PORT_ACTIVE; icom_port 1327 drivers/tty/serial/icom.c icom_port->imbed_modem = ICOM_IMBED_MODEM; icom_port 1354 drivers/tty/serial/icom.c static void icom_port_active(struct icom_port *icom_port, struct icom_adapter *icom_adapter, int port_num) icom_port 1357 drivers/tty/serial/icom.c icom_port->global_reg = icom_adapter->base_addr + 0x4000; icom_port 1358 drivers/tty/serial/icom.c icom_port->int_reg = icom_adapter->base_addr + icom_port 1361 drivers/tty/serial/icom.c icom_port->global_reg = icom_adapter->base_addr + 0x8000; icom_port 1362 drivers/tty/serial/icom.c if (icom_port->port < 2) icom_port 1363 drivers/tty/serial/icom.c icom_port->int_reg = icom_adapter->base_addr + icom_port 1364 drivers/tty/serial/icom.c 0x8004 + 2 - 2 * icom_port->port; icom_port 1366 drivers/tty/serial/icom.c icom_port->int_reg = icom_adapter->base_addr + icom_port 1367 drivers/tty/serial/icom.c 0x8024 + 2 - 2 * (icom_port->port - 2); icom_port 1372 drivers/tty/serial/icom.c struct icom_port *icom_port; icom_port 1377 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[port_num]; icom_port 1379 drivers/tty/serial/icom.c if (icom_port->status == ICOM_PORT_ACTIVE) { icom_port 1380 drivers/tty/serial/icom.c icom_port_active(icom_port, icom_adapter, port_num); icom_port 1381 drivers/tty/serial/icom.c icom_port->dram = icom_adapter->base_addr + icom_port 1382 drivers/tty/serial/icom.c 0x2000 * icom_port->port; icom_port 1384 drivers/tty/serial/icom.c icom_port->adapter = icom_adapter; icom_port 1387 drivers/tty/serial/icom.c if (get_port_memory(icom_port) != 0) { icom_port 1388 drivers/tty/serial/icom.c dev_err(&icom_port->adapter->pci_dev->dev, icom_port 1435 drivers/tty/serial/icom.c struct icom_port *icom_port; icom_port 1439 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[index]; icom_port 1441 drivers/tty/serial/icom.c if (icom_port->status == ICOM_PORT_ACTIVE) { icom_port 1446 drivers/tty/serial/icom.c &icom_port->uart_port); icom_port 1449 drivers/tty/serial/icom.c writeb(0x00, &icom_port->dram->osr); icom_port 1455 drivers/tty/serial/icom.c stop_processor(icom_port); icom_port 1457 drivers/tty/serial/icom.c free_port_memory(icom_port); icom_port 1482 drivers/tty/serial/icom.c struct icom_port *icom_port; icom_port 1552 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[index]; icom_port 1554 drivers/tty/serial/icom.c if (icom_port->status == ICOM_PORT_ACTIVE) { icom_port 1555 drivers/tty/serial/icom.c icom_port->uart_port.irq = icom_port->adapter->pci_dev->irq; icom_port 1556 drivers/tty/serial/icom.c icom_port->uart_port.type = PORT_ICOM; icom_port 1557 drivers/tty/serial/icom.c icom_port->uart_port.iotype = UPIO_MEM; icom_port 1558 drivers/tty/serial/icom.c icom_port->uart_port.membase = icom_port 1560 drivers/tty/serial/icom.c icom_port->uart_port.fifosize = 16; icom_port 1561 drivers/tty/serial/icom.c icom_port->uart_port.ops = &icom_ops; icom_port 1562 drivers/tty/serial/icom.c icom_port->uart_port.line = icom_port 1563 drivers/tty/serial/icom.c icom_port->port + icom_adapter->index * 4; icom_port 1564 drivers/tty/serial/icom.c if (uart_add_one_port (&icom_uart_driver, &icom_port->uart_port)) { icom_port 1565 drivers/tty/serial/icom.c icom_port->status = ICOM_PORT_OFF; icom_port 249 drivers/tty/serial/icom.h struct icom_port port_info[4];