Searched refs:current_stats (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/net/wan/ |
D | comx.c | 221 ch->avg_bytes[ch->loadavg_counter] = ch->current_stats->rx_bytes; in comx_loadavg_timerfun() 223 ch->current_stats->tx_bytes; in comx_loadavg_timerfun() 393 return ch->current_stats; in comx_stats() 431 "is %s, tbusy: %d\n", ch->current_stats->tx_carrier_errors, ch->HW_txe ? in comx_statistics() 463 ch->current_stats->rx_length_errors, ch->current_stats->rx_over_errors, in comx_statistics() 464 ch->current_stats->rx_crc_errors, ch->current_stats->rx_frame_errors, in comx_statistics() 465 ch->current_stats->rx_missed_errors, ch->current_stats->rx_fifo_errors, in comx_statistics() 466 ch->current_stats->tx_fifo_errors); in comx_statistics() 536 ch->current_stats = &ch->stats; in comx_init_dev()
|
D | comx-hw-locomx.c | 429 ch->current_stats = &hw->board.chanA.stats; in LOCOMX_init() 430 memcpy(ch->current_stats, &ch->stats, sizeof(struct net_device_stats)); in LOCOMX_init() 459 memcpy(&ch->stats, ch->current_stats, sizeof(struct net_device_stats)); in LOCOMX_exit() 460 ch->current_stats = &ch->stats; in LOCOMX_exit()
|
D | comx.h | 68 struct net_device_stats *current_stats; member
|