Searched refs:speed_grade (Results 1 – 4 of 4) sorted by relevance
87 int speed_grade, mkt_segment; in imx_cpufreq_dt_probe() local122 speed_grade = (cell_value & IMX8MN_OCOTP_CFG3_SPEED_GRADE_MASK) in imx_cpufreq_dt_probe()125 speed_grade = (cell_value & OCOTP_CFG3_SPEED_GRADE_MASK) in imx_cpufreq_dt_probe()142 if (mkt_segment == 0 && speed_grade == 0) { in imx_cpufreq_dt_probe()145 speed_grade = 1; in imx_cpufreq_dt_probe()148 speed_grade = 0xb; in imx_cpufreq_dt_probe()151 supported_hw[0] = BIT(speed_grade); in imx_cpufreq_dt_probe()154 speed_grade, mkt_segment, supported_hw[0], supported_hw[1]); in imx_cpufreq_dt_probe()
60 unsigned int speed_grade; member84 max = clk_wzrd_max_freq[clk_wzrd->speed_grade - 1]; in clk_wzrd_clk_notifier()149 ret = of_property_read_u32(np, "speed-grade", &clk_wzrd->speed_grade); in clk_wzrd_probe()151 if (clk_wzrd->speed_grade < 1 || clk_wzrd->speed_grade > 3) { in clk_wzrd_probe()153 clk_wzrd->speed_grade); in clk_wzrd_probe()154 clk_wzrd->speed_grade = 0; in clk_wzrd_probe()264 if (clk_wzrd->speed_grade) { in clk_wzrd_probe()304 if (clk_wzrd->speed_grade) { in clk_wzrd_remove()
69 enum si544_speed_grade speed_grade; member204 switch (data->speed_grade) { in is_valid_frequency()470 data->speed_grade = id->driver_data; in si544_probe()
1017 static const int speed_grade[] = { 250, 200, 166, 175 }; in genwqe_base_clock_frequency() local1020 if (speed >= ARRAY_SIZE(speed_grade)) in genwqe_base_clock_frequency()1023 return speed_grade[speed]; in genwqe_base_clock_frequency()