Lines Matching defs:rxtx
115 struct rxtx {
123 struct rxtx rxtx; /* loop back buffer */
384 if (mdev_state->s[index].rxtx.count <
386 mdev_state->s[index].rxtx.fifo[
387 mdev_state->s[index].rxtx.head] = data;
388 mdev_state->s[index].rxtx.count++;
389 CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.head);
398 (mdev_state->s[index].rxtx.count ==
432 (mdev_state->s[index].rxtx.head ==
433 mdev_state->s[index].rxtx.tail)) {
452 mdev_state->s[index].rxtx.count = 0;
453 mdev_state->s[index].rxtx.head = 0;
454 mdev_state->s[index].rxtx.tail = 0;
549 if (mdev_state->s[index].rxtx.head !=
550 mdev_state->s[index].rxtx.tail) {
551 *buf = mdev_state->s[index].rxtx.fifo[
552 mdev_state->s[index].rxtx.tail];
553 mdev_state->s[index].rxtx.count--;
554 CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.tail);
557 if (mdev_state->s[index].rxtx.head ==
558 mdev_state->s[index].rxtx.tail) {
594 (mdev_state->s[index].rxtx.count >=
600 (mdev_state->s[index].rxtx.head ==
601 mdev_state->s[index].rxtx.tail))
631 if (mdev_state->s[index].rxtx.head !=
632 mdev_state->s[index].rxtx.tail)
640 if (mdev_state->s[index].rxtx.head ==
641 mdev_state->s[index].rxtx.tail)
655 if (mdev_state->s[index].rxtx.count <