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()
210 memset(icom_port->statStg, 0, 4096); in get_port_memory()
216 stgAddr = (unsigned long) icom_port->statStg; in get_port_memory()
219 stgAddr = stgAddr + sizeof(icom_port->statStg->xmit[0]); in get_port_memory()
221 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
222 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
227 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
230 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
231 icom_port->statStg->xmit[index].leLengthASD = in get_port_memory()
235 icom_port->statStg->xmit[index].leBuffer = in get_port_memory()
238 memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); in get_port_memory()
247 stgAddr = stgAddr + sizeof(icom_port->statStg->rcv[0]); in get_port_memory()
248 icom_port->statStg->rcv[index].leLength = 0; in get_port_memory()
249 icom_port->statStg->rcv[index].WorkingLength = in get_port_memory()
252 offset = stgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
253 icom_port->statStg->rcv[index].leNext = in get_port_memory()
257 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
260 offset = startStgAddr - (unsigned long) icom_port->statStg; in get_port_memory()
261 icom_port->statStg->rcv[index].leNext = in get_port_memory()
265 icom_port->statStg->rcv[index].leBuffer = in get_port_memory()
268 icom_port->statStg->rcv[index].leNext = 0; in get_port_memory()
269 icom_port->statStg->rcv[index].leBuffer = 0; in get_port_memory()
625 if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) & in icom_write()
643 ICOM_PORT->statStg->xmit[0].flags = in icom_write()
645 ICOM_PORT->statStg->xmit[0].leLength = in icom_write()
648 (unsigned long) &ICOM_PORT->statStg->xmit[0] - in icom_write()
649 (unsigned long) ICOM_PORT->statStg; in icom_write()
704 icom_port->statStg->xmit[0].flags &= in xmit_interrupt()
708 cpu_to_le16(icom_port->statStg->xmit[0].leLength); in xmit_interrupt()
738 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
743 count = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].leLength); in recv_interrupt()
750 cpu_to_le32(icom_port->statStg->rcv[rcv_buff].leBuffer) - in recv_interrupt()
817 icom_port->statStg->rcv[rcv_buff].flags = 0; in recv_interrupt()
818 icom_port->statStg->rcv[rcv_buff].leLength = 0; in recv_interrupt()
819 icom_port->statStg->rcv[rcv_buff].WorkingLength = in recv_interrupt()
826 status = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].flags); in recv_interrupt()
932 if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) & in icom_tx_empty()
1210 ICOM_PORT->statStg->rcv[rcv_buff].flags = 0; in icom_set_termios()
1211 ICOM_PORT->statStg->rcv[rcv_buff].leLength = 0; in icom_set_termios()
1212 ICOM_PORT->statStg->rcv[rcv_buff].WorkingLength = in icom_set_termios()
1217 ICOM_PORT->statStg->xmit[xmit_buff].flags = 0; in icom_set_termios()
1241 (unsigned long) &ICOM_PORT->statStg->rcv[0] - in icom_set_termios()
1242 (unsigned long) ICOM_PORT->statStg; in icom_set_termios()