Lines Matching refs:rx
133 memset (&p_port->rx, 0, sizeof (p_port->rx));
221 while ((p_buf = (BT_HDR *)GKI_dequeue (&p_port->rx.queue)) != NULL)
224 p_port->rx.queue_size = 0;
500 /* update rx credits */
514 && !p_port->rx.user_fc
522 p_port->rx.peer_fc = FALSE;
531 p_port->rx.peer_fc = TRUE;
533 /* if queue count reached credit rx max, set peer fc */
534 else if (p_port->rx.queue.count >= p_port->credit_rx_max)
536 p_port->rx.peer_fc = TRUE;
548 if (p_port->rx.peer_fc
549 && (p_port->rx.queue_size < PORT_RX_LOW_WM)
550 && (p_port->rx.queue.count < PORT_RX_BUF_LOW_WM))
552 p_port->rx.peer_fc = FALSE;
555 if (!p_port->rx.user_fc)
565 p_port->rx.peer_fc = TRUE;
568 /* Check the size of the rx queue. If it exceeds certain */
570 else if ( ((p_port->rx.queue_size > PORT_RX_HIGH_WM)
571 || (p_port->rx.queue.count > PORT_RX_BUF_HIGH_WM))
572 && !p_port->rx.peer_fc)
576 p_port->rx.peer_fc = TRUE;