Lines Matching refs:stat
656 struct devfreq_dev_status *stat)
665 stat->private_data = tegra;
668 stat->current_frequency = cur_freq * KHZ;
673 stat->busy_time = device_readl(actmon_dev, ACTMON_DEV_AVG_COUNT);
676 stat->busy_time *= 100 / BUS_SATURATION_RATIO;
679 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq;
681 stat->busy_time = min(stat->busy_time, stat->total_time);
696 struct devfreq_dev_status *stat;
707 stat = &devfreq->last_status;
709 tegra = stat->private_data;