Lines Matching defs:rxtx
110 struct rxtx {
118 struct rxtx rxtx; /* loop back buffer */
350 if (mdev_state->s[index].rxtx.count <
352 mdev_state->s[index].rxtx.fifo[
353 mdev_state->s[index].rxtx.head] = data;
354 mdev_state->s[index].rxtx.count++;
355 CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.head);
364 (mdev_state->s[index].rxtx.count ==
398 (mdev_state->s[index].rxtx.head ==
399 mdev_state->s[index].rxtx.tail)) {
418 mdev_state->s[index].rxtx.count = 0;
419 mdev_state->s[index].rxtx.head = 0;
420 mdev_state->s[index].rxtx.tail = 0;
515 if (mdev_state->s[index].rxtx.head !=
516 mdev_state->s[index].rxtx.tail) {
517 *buf = mdev_state->s[index].rxtx.fifo[
518 mdev_state->s[index].rxtx.tail];
519 mdev_state->s[index].rxtx.count--;
520 CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.tail);
523 if (mdev_state->s[index].rxtx.head ==
524 mdev_state->s[index].rxtx.tail) {
560 (mdev_state->s[index].rxtx.count >=
566 (mdev_state->s[index].rxtx.head ==
567 mdev_state->s[index].rxtx.tail))
597 if (mdev_state->s[index].rxtx.head !=
598 mdev_state->s[index].rxtx.tail)
606 if (mdev_state->s[index].rxtx.head ==
607 mdev_state->s[index].rxtx.tail)
621 if (mdev_state->s[index].rxtx.count <