tmax 13 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, tmax 18 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c v = (tmax - tmin) * percent; tmax 29 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 tmax, tmin, clk_z; tmax 36 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 511; tmax 39 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 40 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c clk_z = linear_inter(tmax, tmin, pcnt, 0, true); tmax 54 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 tmax, tmin; tmax 68 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; tmax 70 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, true); tmax 82 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(temp, ui) - 2; tmax 84 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_trail = linear_inter(tmax, tmin, pcnt3, 0, true); tmax 87 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(temp, ui) - 2; tmax 90 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_prepare = linear_inter(tmax, tmin, pcnt1, 0, true); tmax 92 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 96 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_zero = linear_inter(tmax, tmin, pcnt2, 24, true); tmax 99 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(temp, ui) - 2; tmax 102 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_trail = linear_inter(tmax, tmin, pcnt3, 0, true); tmax 104 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 106 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_exit = linear_inter(tmax, tmin, pcnt2, 0, true); tmax 108 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 63; tmax 112 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->shared_timings.clk_post = linear_inter(tmax, tmin, pcnt2, 0, tmax 114 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 63; tmax 119 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if (tmin > tmax) { tmax 120 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = linear_inter(2 * tmax, tmin, pcnt2, 0, false); tmax 125 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c linear_inter(tmax, tmin, pcnt2, 0, false); tmax 149 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 tmax, tmin; tmax 183 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); tmax 184 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, false); tmax 188 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (tmin > 255) ? 511 : 255; tmax 189 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_zero = linear_inter(tmax, tmin, pcnt5, 0, false); tmax 193 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp + 3 * ui) / ui_x8; tmax 194 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_trail = linear_inter(tmax, tmin, pcnt3, 0, false); tmax 199 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); tmax 200 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_prepare = linear_inter(tmax, tmin, pcnt1, 0, false); tmax 204 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 205 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_zero = linear_inter(tmax, tmin, pcnt4, 0, false); tmax 209 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp + 3 * ui) / ui_x8; tmax 210 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_trail = linear_inter(tmax, tmin, pcnt3, 0, false); tmax 216 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 217 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_exit = linear_inter(tmax, tmin, pcnt2, 0, false); tmax 224 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 63; tmax 226 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c linear_inter(tmax, tmin, pcnt2, 0, false); tmax 233 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 63; tmax 234 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if (tmin > tmax) { tmax 235 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = linear_inter(tmax << 1, tmin, pcnt2, 0, false); tmax 240 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c linear_inter(tmax, tmin, pcnt2, 0, false); tmax 266 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 tmax, tmin; tmax 292 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); tmax 293 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, false); tmax 297 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (tmin > 255) ? 511 : 255; tmax 298 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_zero = linear_inter(tmax, tmin, pcnt5, 0, false); tmax 302 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp + 3 * ui) / ui_x8; tmax 303 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_trail = linear_inter(tmax, tmin, pcnt3, 0, false); tmax 308 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); tmax 309 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_prepare = linear_inter(tmax, tmin, pcnt1, 0, false); tmax 313 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 314 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_zero = linear_inter(tmax, tmin, pcnt4, 0, false); tmax 318 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp / ui_x8) - 1; tmax 319 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_trail = linear_inter(tmax, tmin, pcnt3, 0, false); tmax 325 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 255; tmax 326 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_exit = linear_inter(tmax, tmin, pcnt2, 0, false); tmax 333 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 63; tmax 335 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c linear_inter(tmax, tmin, pcnt2, 0, false); tmax 342 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = 63; tmax 343 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if (tmin > tmax) { tmax 344 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = linear_inter(tmax << 1, tmin, pcnt2, 0, false); tmax 349 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c linear_inter(tmax, tmin, pcnt2, 0, false); tmax 220 drivers/leds/leds-tca6507.c int tmax = msec * 9 / 8; tmax 231 drivers/leds/leds-tca6507.c if (t > tmax) tmax 238 drivers/leds/leds-tca6507.c if (tt > tmax) tmax 46 drivers/macintosh/windfarm_mpu.h u8 tmax; /* 0x29 - Max temperature */ tmax 119 drivers/macintosh/windfarm_pid.c sval = st->param.tmax - (s32)(integ >> 20); tmax 65 drivers/macintosh/windfarm_pid.h s32 tmax; /* PID input max */ tmax 132 drivers/macintosh/windfarm_pm112.c s32 tmax; tmax 147 drivers/macintosh/windfarm_pm112.c tmax = fvt->maxtemp << 16; tmax 149 drivers/macintosh/windfarm_pm112.c tmax = 95 << 16; /* default to 95 degrees C */ tmax 152 drivers/macintosh/windfarm_pm112.c if (tmax < cpu_all_tmax) tmax 153 drivers/macintosh/windfarm_pm112.c cpu_all_tmax = tmax; tmax 169 drivers/macintosh/windfarm_pm112.c pid.ttarget = tmax - (piddata->target_temp_delta << 16); tmax 170 drivers/macintosh/windfarm_pm112.c pid.tmax = tmax; tmax 647 drivers/macintosh/windfarm_pm121.c s32 tmax, tdelta, maxpow, powadj; tmax 665 drivers/macintosh/windfarm_pm121.c tmax = ((s32)fvt->maxtemp) << 16; tmax 667 drivers/macintosh/windfarm_pm121.c tmax = 0x5e0000; /* 94 degree default */ tmax 692 drivers/macintosh/windfarm_pm121.c pid_param.tmax = tmax; tmax 693 drivers/macintosh/windfarm_pm121.c pid_param.ttarget = tmax - tdelta; tmax 703 drivers/macintosh/windfarm_pm121.c FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), tmax 752 drivers/macintosh/windfarm_pm121.c if (temp > st->pid.param.tmax) tmax 396 drivers/macintosh/windfarm_pm72.c s32 tmax, ttarget, ptarget; tmax 400 drivers/macintosh/windfarm_pm72.c tmax = mpu->tmax << 16; tmax 405 drivers/macintosh/windfarm_pm72.c cpu, FIX32TOPRINT(ttarget), FIX32TOPRINT(tmax)); tmax 408 drivers/macintosh/windfarm_pm72.c if (tmax < cpu_all_tmax) tmax 409 drivers/macintosh/windfarm_pm72.c cpu_all_tmax = tmax; tmax 426 drivers/macintosh/windfarm_pm72.c pid.tmax = tmax; tmax 399 drivers/macintosh/windfarm_pm81.c s32 tmax, tdelta, maxpow, powadj; tmax 416 drivers/macintosh/windfarm_pm81.c tmax = ((s32)fvt->maxtemp) << 16; tmax 418 drivers/macintosh/windfarm_pm81.c tmax = 0x5e0000; /* 94 degree default */ tmax 446 drivers/macintosh/windfarm_pm81.c pid_param.tmax = tmax; tmax 447 drivers/macintosh/windfarm_pm81.c pid_param.ttarget = tmax - tdelta; tmax 457 drivers/macintosh/windfarm_pm81.c FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), tmax 507 drivers/macintosh/windfarm_pm81.c if (temp > st->pid.param.tmax) tmax 148 drivers/macintosh/windfarm_pm91.c s32 tmax, tdelta, maxpow, powadj; tmax 165 drivers/macintosh/windfarm_pm91.c tmax = ((s32)fvt->maxtemp) << 16; tmax 167 drivers/macintosh/windfarm_pm91.c tmax = 0x5e0000; /* 94 degree default */ tmax 192 drivers/macintosh/windfarm_pm91.c pid_param.tmax = tmax; tmax 193 drivers/macintosh/windfarm_pm91.c pid_param.ttarget = tmax - tdelta; tmax 203 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), tmax 253 drivers/macintosh/windfarm_pm91.c if (temp > st->pid.param.tmax) tmax 297 drivers/macintosh/windfarm_rm31.c s32 tmax, ttarget, ptarget; tmax 301 drivers/macintosh/windfarm_rm31.c tmax = mpu->tmax << 16; tmax 306 drivers/macintosh/windfarm_rm31.c cpu, FIX32TOPRINT(ttarget), FIX32TOPRINT(tmax)); tmax 309 drivers/macintosh/windfarm_rm31.c if (tmax < cpu_all_tmax) tmax 310 drivers/macintosh/windfarm_rm31.c cpu_all_tmax = tmax; tmax 327 drivers/macintosh/windfarm_rm31.c pid.tmax = tmax; tmax 4092 drivers/net/ethernet/marvell/sky2.c const u32 tmax = sky2_clk2us(hw, 0x0ffffff); tmax 4094 drivers/net/ethernet/marvell/sky2.c if (ecmd->tx_coalesce_usecs > tmax || tmax 4095 drivers/net/ethernet/marvell/sky2.c ecmd->rx_coalesce_usecs > tmax || tmax 4096 drivers/net/ethernet/marvell/sky2.c ecmd->rx_coalesce_usecs_irq > tmax)