Lines Matching refs:stat
646 struct devfreq_dev_status *stat)
655 stat->private_data = tegra;
658 stat->current_frequency = cur_freq;
663 stat->busy_time = device_readl(actmon_dev, ACTMON_DEV_AVG_COUNT);
666 stat->busy_time *= 100 / BUS_SATURATION_RATIO;
669 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq;
671 stat->busy_time = min(stat->busy_time, stat->total_time);
685 struct devfreq_dev_status *stat;
696 stat = &devfreq->last_status;
698 tegra = stat->private_data;