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