Lines Matching refs:measure_rate
807 if (conf->measure_rate < 1) in arlan_hw_tx()
808 conf->measure_rate = 1; in arlan_hw_tx()
809 if (jiffies - priv->out_time > conf->measure_rate * HZ) in arlan_hw_tx()
811 conf->out_speed = priv->out_bytes / conf->measure_rate; in arlan_hw_tx()
815 if (jiffies - priv->out_time10 > conf->measure_rate * HZ * 10) in arlan_hw_tx()
817 conf->out_speed10 = priv->out_bytes10 / (10 * conf->measure_rate); in arlan_hw_tx()
1630 if (conf->measure_rate < 1) in arlan_rx_interrupt()
1631 conf->measure_rate = 1; in arlan_rx_interrupt()
1632 if (jiffies - priv->in_time > conf->measure_rate * HZ) in arlan_rx_interrupt()
1634 conf->in_speed = priv->in_bytes / conf->measure_rate; in arlan_rx_interrupt()
1638 if (jiffies - priv->in_time10 > conf->measure_rate * HZ * 10) in arlan_rx_interrupt()
1640 conf->in_speed10 = priv->in_bytes10 / (10 * conf->measure_rate); in arlan_rx_interrupt()