Lines Matching refs:statStg

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