Lines Matching refs:descriptor

509 	struct rx_desc *descriptor;  in amd8111s_recv_copy()  local
516 descriptor = pNonphysical->RxBufDescQRead->descriptor; in amd8111s_recv_copy()
518 pNonphysical->RxBufDescQRead->descriptor - in amd8111s_recv_copy()
519 pNonphysical->RxBufDescQStart->descriptor, in amd8111s_recv_copy()
521 if ((descriptor->Rx_OWN) == 0) { in amd8111s_recv_copy()
527 if (descriptor->Rx_ERR) { in amd8111s_recv_copy()
529 descriptor->Rx_ERR = 0; in amd8111s_recv_copy()
530 if (descriptor->Rx_FRAM == 1) { in amd8111s_recv_copy()
532 descriptor->Rx_FRAM = 0; in amd8111s_recv_copy()
534 if (descriptor->Rx_OFLO == 1) { in amd8111s_recv_copy()
536 descriptor->Rx_OFLO = 0; in amd8111s_recv_copy()
546 if (descriptor->Rx_CRC == 1) { in amd8111s_recv_copy()
548 descriptor->Rx_CRC = 0; in amd8111s_recv_copy()
550 if (descriptor->Rx_BUFF == 1) { in amd8111s_recv_copy()
552 descriptor->Rx_BUFF = 0; in amd8111s_recv_copy()
559 length = descriptor->Rx_MCNT -4; in amd8111s_recv_copy()
561 length = descriptor->Rx_MCNT; in amd8111s_recv_copy()
584 descriptor->Rx_MCNT = 0; in amd8111s_recv_copy()
585 descriptor->Rx_SOP = 0; in amd8111s_recv_copy()
586 descriptor->Rx_EOP = 0; in amd8111s_recv_copy()
587 descriptor->Rx_PAM = 0; in amd8111s_recv_copy()
588 descriptor->Rx_BAM = 0; in amd8111s_recv_copy()
589 descriptor->TT = 0; in amd8111s_recv_copy()
590 descriptor->Rx_OWN = 1; in amd8111s_recv_copy()
591 pNonphysical->RxBufDescQRead->descriptor++; in amd8111s_recv_copy()
593 if (pNonphysical->RxBufDescQRead->descriptor > in amd8111s_recv_copy()
594 pNonphysical->RxBufDescQEnd->descriptor) { in amd8111s_recv_copy()
595 pNonphysical->RxBufDescQRead->descriptor = in amd8111s_recv_copy()
596 pNonphysical->RxBufDescQStart->descriptor; in amd8111s_recv_copy()