• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/

Lines Matching refs:in_be32

116 	*(u32 *)(&mac[0]) = in_be32(&fec->paddr1);
117 *(u16 *)(&mac[4]) = in_be32(&fec->paddr2) >> 16;
188 rcntrl = in_be32(&fec->r_cntrl);
189 tcntrl = in_be32(&fec->x_cntrl);
457 ievent = in_be32(&fec->ievent);
496 stats->rx_bytes = in_be32(&fec->rmon_r_octets);
497 stats->rx_packets = in_be32(&fec->rmon_r_packets);
498 stats->rx_errors = in_be32(&fec->rmon_r_crc_align) +
499 in_be32(&fec->rmon_r_undersize) +
500 in_be32(&fec->rmon_r_oversize) +
501 in_be32(&fec->rmon_r_frag) +
502 in_be32(&fec->rmon_r_jab);
504 stats->tx_bytes = in_be32(&fec->rmon_t_octets);
505 stats->tx_packets = in_be32(&fec->rmon_t_packets);
506 stats->tx_errors = in_be32(&fec->rmon_t_crc_align) +
507 in_be32(&fec->rmon_t_undersize) +
508 in_be32(&fec->rmon_t_oversize) +
509 in_be32(&fec->rmon_t_frag) +
510 in_be32(&fec->rmon_t_jab);
512 stats->multicast = in_be32(&fec->rmon_r_mc_pkt);
513 stats->collisions = in_be32(&fec->rmon_t_col);
516 stats->rx_length_errors = in_be32(&fec->rmon_r_undersize)
517 + in_be32(&fec->rmon_r_oversize)
518 + in_be32(&fec->rmon_r_frag)
519 + in_be32(&fec->rmon_r_jab);
520 stats->rx_over_errors = in_be32(&fec->r_macerr);
521 stats->rx_crc_errors = in_be32(&fec->ieee_r_crc);
522 stats->rx_frame_errors = in_be32(&fec->ieee_r_align);
523 stats->rx_fifo_errors = in_be32(&fec->rmon_r_drop);
524 stats->rx_missed_errors = in_be32(&fec->rmon_r_drop);
528 stats->tx_carrier_errors = in_be32(&fec->ieee_t_cserr);
529 stats->tx_fifo_errors = in_be32(&fec->rmon_t_drop);
530 stats->tx_heartbeat_errors = in_be32(&fec->ieee_t_sqe);
531 stats->tx_window_errors = in_be32(&fec->ieee_t_lcol);
563 rx_control = in_be32(&fec->r_cntrl);
609 if ((in_be32(&fec->ecntrl) & FEC_ECNTRL_RESET) == 0)
661 out_be32(&fec->rfifo_status, in_be32(&fec->rfifo_status) & tmp);
662 out_be32(&fec->tfifo_status, in_be32(&fec->tfifo_status) & tmp);
739 out_be32(&fec->ecntrl, in_be32(&fec->ecntrl) & ~FEC_ECNTRL_ETHER_EN);
750 out_be32(&fec->rfifo_status, in_be32(&fec->rfifo_status));