Searched refs:speed_grade (Results 1 – 2 of 2) sorted by relevance
71 int speed_grade; member94 max = clk_wzrd_max_freq[clk_wzrd->speed_grade - 1]; in clk_wzrd_clk_notifier()161 ret = of_property_read_u32(np, "speed-grade", &clk_wzrd->speed_grade); in clk_wzrd_probe()163 if (clk_wzrd->speed_grade < 1 || clk_wzrd->speed_grade > 3) { in clk_wzrd_probe()165 clk_wzrd->speed_grade); in clk_wzrd_probe()166 clk_wzrd->speed_grade = 0; in clk_wzrd_probe()276 if (clk_wzrd->speed_grade) { in clk_wzrd_probe()316 if (clk_wzrd->speed_grade) { in clk_wzrd_remove()
1035 static const int speed_grade[] = { 250, 200, 166, 175 }; in genwqe_base_clock_frequency() local1038 if (speed >= ARRAY_SIZE(speed_grade)) in genwqe_base_clock_frequency()1041 return speed_grade[speed]; in genwqe_base_clock_frequency()