Searched refs:maxc (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | cpu.c | 194 int cpu_tmp, minc, maxc, ret; in print_cpuinfo() local 217 switch (get_cpu_temp_grade(&minc, &maxc)) { in print_cpuinfo() 231 printf("(%dC to %dC)", minc, maxc); in print_cpuinfo() 384 u32 get_cpu_temp_grade(int *minc, int *maxc) in get_cpu_temp_grade() argument 396 if (minc && maxc) { in get_cpu_temp_grade() 399 *maxc = 125; in get_cpu_temp_grade() 402 *maxc = 105; in get_cpu_temp_grade() 405 *maxc = 105; in get_cpu_temp_grade() 408 *maxc = 95; in get_cpu_temp_grade()
|
/openbmc/qemu/hw/block/ |
H A D | fdc-isa.c | 130 static void isa_fdc_get_drive_max_chs(FloppyDriveType type, uint8_t *maxc, in isa_fdc_get_drive_max_chs() argument 135 *maxc = *maxh = *maxs = 0; in isa_fdc_get_drive_max_chs() 140 if (*maxc < fdf->max_track) { in isa_fdc_get_drive_max_chs() 141 *maxc = fdf->max_track; in isa_fdc_get_drive_max_chs() 151 assert(*maxc); in isa_fdc_get_drive_max_chs() 152 (*maxc)--; in isa_fdc_get_drive_max_chs() 158 uint8_t maxc, maxh, maxs; in build_fdinfo_aml() local 160 isa_fdc_get_drive_max_chs(type, &maxc, &maxh, &maxs); in build_fdinfo_aml() 174 aml_append(fdi, aml_int(maxc)); /* Maximum Cylinder Number */ in build_fdinfo_aml()
|
/openbmc/u-boot/drivers/thermal/ |
H A D | imx_thermal.c | 45 int maxc; member 219 cpu_tmp, priv->maxc); in imx_thermal_get_temp() 261 get_cpu_temp_grade(&priv->minc, &priv->maxc); in imx_thermal_probe() 262 priv->critical = priv->maxc - TEMPERATURE_HOT_DELTA; in imx_thermal_probe()
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | soc.c | 182 u32 get_cpu_temp_grade(int *minc, int *maxc) in get_cpu_temp_grade() argument 194 if (minc && maxc) { in get_cpu_temp_grade() 197 *maxc = 125; in get_cpu_temp_grade() 200 *maxc = 105; in get_cpu_temp_grade() 203 *maxc = 105; in get_cpu_temp_grade() 206 *maxc = 95; in get_cpu_temp_grade()
|
/openbmc/u-boot/board/toradex/colibri-imx6ull/ |
H A D | colibri-imx6ull.c | 320 int minc, maxc; in board_late_init() local 322 if (get_cpu_temp_grade(&minc, &maxc) != TEMP_COMMERCIAL) in board_late_init()
|
/openbmc/u-boot/board/toradex/colibri_imx6/ |
H A D | colibri_imx6.c | 706 int minc, maxc; in checkboard() local 708 switch (get_cpu_temp_grade(&minc, &maxc)) { in checkboard() 1059 int minc, maxc; in spl_dram_init() local 1061 switch (get_cpu_temp_grade(&minc, &maxc)) { in spl_dram_init()
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | sys_proto.h | 105 u32 get_cpu_temp_grade(int *minc, int *maxc);
|
/openbmc/u-boot/board/toradex/apalis_imx6/ |
H A D | apalis_imx6.c | 852 int minc, maxc; in checkboard() local 854 switch (get_cpu_temp_grade(&minc, &maxc)) { in checkboard() 1181 int minc, maxc; in spl_dram_init() local 1183 switch (get_cpu_temp_grade(&minc, &maxc)) { in spl_dram_init()
|