Lines Matching refs:raw

613 	struct ar9331_sw_stats_raw raw;  in ar9331_read_stats()  local
618 &raw, sizeof(raw) / sizeof(u32)); in ar9331_read_stats()
627 stats->rx_bytes += raw.rxgoodbyte; in ar9331_read_stats()
628 stats->tx_bytes += raw.txbyte; in ar9331_read_stats()
630 stats->rx_packets += raw.rx64byte + raw.rx128byte + raw.rx256byte + in ar9331_read_stats()
631 raw.rx512byte + raw.rx1024byte + raw.rx1518byte + raw.rxmaxbyte; in ar9331_read_stats()
632 stats->tx_packets += raw.tx64byte + raw.tx128byte + raw.tx256byte + in ar9331_read_stats()
633 raw.tx512byte + raw.tx1024byte + raw.tx1518byte + raw.txmaxbyte; in ar9331_read_stats()
635 stats->rx_length_errors += raw.rxrunt + raw.rxfragment + raw.rxtoolong; in ar9331_read_stats()
636 stats->rx_crc_errors += raw.rxfcserr; in ar9331_read_stats()
637 stats->rx_frame_errors += raw.rxalignerr; in ar9331_read_stats()
638 stats->rx_missed_errors += raw.rxoverflow; in ar9331_read_stats()
639 stats->rx_dropped += raw.filtered; in ar9331_read_stats()
640 stats->rx_errors += raw.rxfcserr + raw.rxalignerr + raw.rxrunt + in ar9331_read_stats()
641 raw.rxfragment + raw.rxoverflow + raw.rxtoolong; in ar9331_read_stats()
643 stats->tx_window_errors += raw.txlatecol; in ar9331_read_stats()
644 stats->tx_fifo_errors += raw.txunderrun; in ar9331_read_stats()
645 stats->tx_aborted_errors += raw.txabortcol; in ar9331_read_stats()
646 stats->tx_errors += raw.txoversize + raw.txabortcol + raw.txunderrun + in ar9331_read_stats()
647 raw.txlatecol; in ar9331_read_stats()
649 stats->multicast += raw.rxmulti; in ar9331_read_stats()
650 stats->collisions += raw.txcollision; in ar9331_read_stats()
652 pstats->tx_pause_frames += raw.txpause; in ar9331_read_stats()
653 pstats->rx_pause_frames += raw.rxpause; in ar9331_read_stats()