Lines Matching refs:statStg

165 	if (icom_port->statStg) {  in free_port_memory()
166 pci_free_consistent(dev, 4096, icom_port->statStg, in free_port_memory()
168 icom_port->statStg = NULL; in free_port_memory()
206 icom_port->statStg = in get_port_memory()
208 if (!icom_port->statStg) { in get_port_memory()
214 (unsigned long) icom_port->statStg); in get_port_memory()
225 memset(icom_port->statStg, 0, 4096); in get_port_memory()
231 stgAddr = (unsigned long) icom_port->statStg; in get_port_memory()
234 stgAddr = stgAddr + sizeof(icom_port->statStg->xmit[0]); in get_port_memory()
236 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
237 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
242 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
245 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
246 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
250 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
253 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
262 stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); in get_port_memory()
263 icom_port->statStg->rcv[index].leLength = 0; in get_port_memory()
264 icom_port->statStg->rcv[index].WorkingLength = in get_port_memory()
267 offset = stgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
268 icom_port->statStg->rcv[index].leNext = in get_port_memory()
272 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
275 offset = startStgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
276 icom_port->statStg->rcv[index].leNext = in get_port_memory()
280 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
283 icom_port->statStg->rcv[index].leNext = 0; in get_port_memory()
284 icom_port->statStg->rcv[index].leBuffer = 0; in get_port_memory()
640 if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) & in icom_write()
658 ICOM_PORT->statStg->xmit[0].flags = in icom_write()
660 ICOM_PORT->statStg->xmit[0].leLength = in icom_write()
663 (unsigned long) &ICOM_PORT->statStg->xmit[0] - in icom_write()
664 (unsigned long) ICOM_PORT->statStg; in icom_write()
719 icom_port->statStg->xmit[0].flags &= in xmit_interrupt()
723 cpu_to_le16(icom_port->statStg->xmit[0].leLength); in xmit_interrupt()
753 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
758 count = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].leLength); in recv_interrupt()
765 cpu_to_le32(icom_port->statStg->rcv[rcv_buff].leBuffer) - in recv_interrupt()
832 icom_port->statStg->rcv[rcv_buff].flags = 0; in recv_interrupt()
833 icom_port->statStg->rcv[rcv_buff].leLength = 0; in recv_interrupt()
834 icom_port->statStg->rcv[rcv_buff].WorkingLength = in recv_interrupt()
841 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
947 if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) & in icom_tx_empty()
1225 ICOM_PORT->statStg->rcv[rcv_buff].flags = 0; in icom_set_termios()
1226 ICOM_PORT->statStg->rcv[rcv_buff].leLength = 0; in icom_set_termios()
1227 ICOM_PORT->statStg->rcv[rcv_buff].WorkingLength = in icom_set_termios()
1232 ICOM_PORT->statStg->xmit[xmit_buff].flags = 0; in icom_set_termios()
1256 (unsigned long) &ICOM_PORT->statStg->rcv[0] - in icom_set_termios()
1257 (unsigned long) ICOM_PORT->statStg; in icom_set_termios()