Lines Matching refs:statStg
150 if (icom_port->statStg) { in free_port_memory()
151 pci_free_consistent(dev, 4096, icom_port->statStg, in free_port_memory()
153 icom_port->statStg = NULL; in free_port_memory()
191 icom_port->statStg = in get_port_memory()
193 if (!icom_port->statStg) { in get_port_memory()
199 (unsigned long) icom_port->statStg); in get_port_memory()
214 stgAddr = (unsigned long) icom_port->statStg; in get_port_memory()
217 stgAddr = stgAddr + sizeof(icom_port->statStg->xmit[0]); in get_port_memory()
219 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
220 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
225 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
228 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
229 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
233 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
236 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
245 stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); in get_port_memory()
246 icom_port->statStg->rcv[index].leLength = 0; in get_port_memory()
247 icom_port->statStg->rcv[index].WorkingLength = in get_port_memory()
250 offset = stgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
251 icom_port->statStg->rcv[index].leNext = in get_port_memory()
255 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
258 offset = startStgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
259 icom_port->statStg->rcv[index].leNext = in get_port_memory()
263 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
266 icom_port->statStg->rcv[index].leNext = 0; in get_port_memory()
267 icom_port->statStg->rcv[index].leBuffer = 0; in get_port_memory()
623 if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) & in icom_write()
641 ICOM_PORT->statStg->xmit[0].flags = in icom_write()
643 ICOM_PORT->statStg->xmit[0].leLength = in icom_write()
646 (unsigned long) &ICOM_PORT->statStg->xmit[0] - in icom_write()
647 (unsigned long) ICOM_PORT->statStg; in icom_write()
702 icom_port->statStg->xmit[0].flags &= in xmit_interrupt()
706 cpu_to_le16(icom_port->statStg->xmit[0].leLength); in xmit_interrupt()
736 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
741 count = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].leLength); in recv_interrupt()
748 cpu_to_le32(icom_port->statStg->rcv[rcv_buff].leBuffer) - in recv_interrupt()
815 icom_port->statStg->rcv[rcv_buff].flags = 0; in recv_interrupt()
816 icom_port->statStg->rcv[rcv_buff].leLength = 0; in recv_interrupt()
817 icom_port->statStg->rcv[rcv_buff].WorkingLength = in recv_interrupt()
824 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
930 if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) & in icom_tx_empty()
1208 ICOM_PORT->statStg->rcv[rcv_buff].flags = 0; in icom_set_termios()
1209 ICOM_PORT->statStg->rcv[rcv_buff].leLength = 0; in icom_set_termios()
1210 ICOM_PORT->statStg->rcv[rcv_buff].WorkingLength = in icom_set_termios()
1215 ICOM_PORT->statStg->xmit[xmit_buff].flags = 0; in icom_set_termios()
1239 (unsigned long) &ICOM_PORT->statStg->rcv[0] - in icom_set_termios()
1240 (unsigned long) ICOM_PORT->statStg; in icom_set_termios()