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()
905 icom_port->statStg->xmit[0].flags = in icom_write()
907 icom_port->statStg->xmit[0].leLength = in icom_write()
910 (unsigned long) &icom_port->statStg->xmit[0] - in icom_write()
911 (unsigned long) icom_port->statStg; in icom_write()
965 icom_port->statStg->xmit[0].flags &= in xmit_interrupt()
968 count = le16_to_cpu(icom_port->statStg->xmit[0].leLength); in xmit_interrupt()
998 status = le16_to_cpu(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
1003 count = le16_to_cpu(icom_port->statStg->rcv[rcv_buff].leLength); in recv_interrupt()
1009 offset = le32_to_cpu(icom_port->statStg->rcv[rcv_buff].leBuffer) - in recv_interrupt()
1076 icom_port->statStg->rcv[rcv_buff].flags = 0; in recv_interrupt()
1077 icom_port->statStg->rcv[rcv_buff].leLength = 0; in recv_interrupt()
1078 icom_port->statStg->rcv[rcv_buff].WorkingLength = in recv_interrupt()
1085 status = le16_to_cpu(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
1190 if (le16_to_cpu(icom_port->statStg->xmit[0].flags) & in icom_tx_empty()
1477 icom_port->statStg->rcv[rcv_buff].flags = 0; in icom_set_termios()
1478 icom_port->statStg->rcv[rcv_buff].leLength = 0; in icom_set_termios()
1479 icom_port->statStg->rcv[rcv_buff].WorkingLength = in icom_set_termios()
1484 icom_port->statStg->xmit[xmit_buff].flags = 0; in icom_set_termios()
1508 (unsigned long) &icom_port->statStg->rcv[0] - in icom_set_termios()
1509 (unsigned long) icom_port->statStg; in icom_set_termios()