Lines Matching refs:statStg
262 struct statusArea *statStg; member
409 if (icom_port->statStg) { in free_port_memory()
410 dma_free_coherent(&dev->dev, 4096, icom_port->statStg, in free_port_memory()
412 icom_port->statStg = NULL; in free_port_memory()
452 icom_port->statStg = in get_port_memory()
455 if (!icom_port->statStg) { in get_port_memory()
461 (unsigned long) icom_port->statStg); in get_port_memory()
477 stgAddr = (unsigned long) icom_port->statStg; in get_port_memory()
480 stgAddr = stgAddr + sizeof(icom_port->statStg->xmit[0]); in get_port_memory()
482 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
483 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
488 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
491 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
492 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
496 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
499 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
508 stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); in get_port_memory()
509 icom_port->statStg->rcv[index].leLength = 0; in get_port_memory()
510 icom_port->statStg->rcv[index].WorkingLength = in get_port_memory()
513 offset = stgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
514 icom_port->statStg->rcv[index].leNext = in get_port_memory()
518 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
521 offset = startStgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
522 icom_port->statStg->rcv[index].leNext = in get_port_memory()
526 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
529 icom_port->statStg->rcv[index].leNext = 0; in get_port_memory()
530 icom_port->statStg->rcv[index].leBuffer = 0; in get_port_memory()
887 if (le16_to_cpu(icom_port->statStg->xmit[0].flags) & in icom_write()
897 icom_port->statStg->xmit[0].flags = in icom_write()
899 icom_port->statStg->xmit[0].leLength = in icom_write()
902 (unsigned long) &icom_port->statStg->xmit[0] - in icom_write()
903 (unsigned long) icom_port->statStg; in icom_write()
958 icom_port->statStg->xmit[0].flags &= in xmit_interrupt()
961 count = le16_to_cpu(icom_port->statStg->xmit[0].leLength); in xmit_interrupt()
985 status = le16_to_cpu(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
990 count = le16_to_cpu(icom_port->statStg->rcv[rcv_buff].leLength); in recv_interrupt()
996 offset = le32_to_cpu(icom_port->statStg->rcv[rcv_buff].leBuffer) - in recv_interrupt()
1063 icom_port->statStg->rcv[rcv_buff].flags = 0; in recv_interrupt()
1064 icom_port->statStg->rcv[rcv_buff].leLength = 0; in recv_interrupt()
1065 icom_port->statStg->rcv[rcv_buff].WorkingLength = in recv_interrupt()
1072 status = le16_to_cpu(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
1177 if (le16_to_cpu(icom_port->statStg->xmit[0].flags) & in icom_tx_empty()
1464 icom_port->statStg->rcv[rcv_buff].flags = 0; in icom_set_termios()
1465 icom_port->statStg->rcv[rcv_buff].leLength = 0; in icom_set_termios()
1466 icom_port->statStg->rcv[rcv_buff].WorkingLength = in icom_set_termios()
1471 icom_port->statStg->xmit[xmit_buff].flags = 0; in icom_set_termios()
1495 (unsigned long) &icom_port->statStg->rcv[0] - in icom_set_termios()
1496 (unsigned long) icom_port->statStg; in icom_set_termios()