Home
last modified time | relevance | path

Searched refs:tmax (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy.c13 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, in linear_inter() argument
18 v = (tmax - tmin) * percent; in linear_inter()
29 s32 tmax, tmin, clk_z; in dsi_dphy_timing_calc_clk_zero() local
36 tmax = 511; in dsi_dphy_timing_calc_clk_zero()
39 tmax = 255; in dsi_dphy_timing_calc_clk_zero()
40 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
54 s32 tmax, tmin; in msm_dsi_dphy_timing_calc() local
68 tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc()
70 timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, true); in msm_dsi_dphy_timing_calc()
82 tmax = S_DIV_ROUND_UP(temp, ui) - 2; in msm_dsi_dphy_timing_calc()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kexec/
H A Dfile_load_64.c301 u64 start, end, tmin, tmax; in locate_mem_hole_top_down_ppc64() local
303 tmax = buf_max; in locate_mem_hole_top_down_ppc64()
308 if (start > tmax) in locate_mem_hole_top_down_ppc64()
311 if (end < tmax) { in locate_mem_hole_top_down_ppc64()
313 ret = __locate_mem_hole_top_down(kbuf, tmin, tmax); in locate_mem_hole_top_down_ppc64()
318 tmax = start - 1; in locate_mem_hole_top_down_ppc64()
320 if (tmax < buf_min) { in locate_mem_hole_top_down_ppc64()
329 ret = __locate_mem_hole_top_down(kbuf, tmin, tmax); in locate_mem_hole_top_down_ppc64()
399 u64 start, end, tmin, tmax; in locate_mem_hole_bottom_up_ppc64() local
410 tmax = (start > buf_max ? buf_max : start - 1); in locate_mem_hole_bottom_up_ppc64()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/libtirpc/libtirpc/
H A DCVE-2021-46828.patch113 + struct timeval tv, tdiff, tmax;
117 + tmax.tv_sec = tmax.tv_usec = 0;
133 + if (timercmp(&tdiff, &tmax, >)) {
134 + tmax = tdiff;
/OK3568_Linux_fs/kernel/drivers/macintosh/
H A Dwindfarm_pm91.c148 s32 tmax, tdelta, maxpow, powadj; in wf_smu_create_cpu_fans() local
165 tmax = ((s32)fvt->maxtemp) << 16; in wf_smu_create_cpu_fans()
167 tmax = 0x5e0000; /* 94 degree default */ in wf_smu_create_cpu_fans()
192 pid_param.tmax = tmax; in wf_smu_create_cpu_fans()
193 pid_param.ttarget = tmax - tdelta; in wf_smu_create_cpu_fans()
203 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in wf_smu_create_cpu_fans()
253 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick()
H A Dwindfarm_pm81.c399 s32 tmax, tdelta, maxpow, powadj; in wf_smu_create_cpu_fans() local
416 tmax = ((s32)fvt->maxtemp) << 16; in wf_smu_create_cpu_fans()
418 tmax = 0x5e0000; /* 94 degree default */ in wf_smu_create_cpu_fans()
446 pid_param.tmax = tmax; in wf_smu_create_cpu_fans()
447 pid_param.ttarget = tmax - tdelta; in wf_smu_create_cpu_fans()
457 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in wf_smu_create_cpu_fans()
507 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick()
H A Dwindfarm_pm112.c132 s32 tmax; in create_cpu_loop() local
139 tmax = fvt->maxtemp << 16; in create_cpu_loop()
141 tmax = 95 << 16; /* default to 95 degrees C */ in create_cpu_loop()
144 if (tmax < cpu_all_tmax) in create_cpu_loop()
145 cpu_all_tmax = tmax; in create_cpu_loop()
171 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop()
172 pid.tmax = tmax; in create_cpu_loop()
H A Dwindfarm_rm31.c297 s32 tmax, ttarget, ptarget; in cpu_setup_pid() local
301 tmax = mpu->tmax << 16; in cpu_setup_pid()
306 cpu, FIX32TOPRINT(ttarget), FIX32TOPRINT(tmax)); in cpu_setup_pid()
309 if (tmax < cpu_all_tmax) in cpu_setup_pid()
310 cpu_all_tmax = tmax; in cpu_setup_pid()
327 pid.tmax = tmax; in cpu_setup_pid()
H A Dwindfarm_pm121.c647 s32 tmax, tdelta, maxpow, powadj; in pm121_create_cpu_fans() local
665 tmax = ((s32)fvt->maxtemp) << 16; in pm121_create_cpu_fans()
667 tmax = 0x5e0000; /* 94 degree default */ in pm121_create_cpu_fans()
692 pid_param.tmax = tmax; in pm121_create_cpu_fans()
693 pid_param.ttarget = tmax - tdelta; in pm121_create_cpu_fans()
703 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in pm121_create_cpu_fans()
752 if (temp > st->pid.param.tmax) in pm121_cpu_fans_tick()
H A Dwindfarm_pm72.c396 s32 tmax, ttarget, ptarget; in cpu_setup_pid() local
400 tmax = mpu->tmax << 16; in cpu_setup_pid()
405 cpu, FIX32TOPRINT(ttarget), FIX32TOPRINT(tmax)); in cpu_setup_pid()
408 if (tmax < cpu_all_tmax) in cpu_setup_pid()
409 cpu_all_tmax = tmax; in cpu_setup_pid()
426 pid.tmax = tmax; in cpu_setup_pid()
H A Dwindfarm_pid.h65 s32 tmax; /* PID input max */ member
H A Dwindfarm_mpu.h46 u8 tmax; /* 0x29 - Max temperature */ member
H A Dwindfarm_pid.c119 sval = st->param.tmax - (s32)(integ >> 20); in wf_cpu_pid_run()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/btc/
H A Dhalbtc_fwdef.h317 u16 tmax[CXT_FLCTRL_MAX]; /* max try BT-Slot-TDD/BT-slot-FDD time */ member
322 u16 tmax[CXT_MAX]; /* max wl/bt cycle time */ member
341 u16 tmax; /* max a2dp empty time */ member
373 u32 tmax[CXNULL_STATE_MAX]; /* max_t for 0:null0/1:null1 */ member
H A Dhalbtc_dbg_cmd.c912 pcysta->cycle_time.tmax[CXT_WL], in _show_fbtc_cysta()
913 pcysta->cycle_time.tmax[CXT_BT], in _show_fbtc_cysta()
928 pcysta->a2dp_ept.tavg, pcysta->a2dp_ept.tmax); in _show_fbtc_cysta()
1032 ns->tmax[i]/1000, ns->tmax[i]%1000); in _show_fbtc_nullsta()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/btc/
H A Dhalbtc_fwdef.h317 u16 tmax[CXT_FLCTRL_MAX]; /* max try BT-Slot-TDD/BT-slot-FDD time */ member
322 u16 tmax[CXT_MAX]; /* max wl/bt cycle time */ member
341 u16 tmax; /* max a2dp empty time */ member
373 u32 tmax[CXNULL_STATE_MAX]; /* max_t for 0:null0/1:null1 */ member
H A Dhalbtc_dbg_cmd.c912 pcysta->cycle_time.tmax[CXT_WL], in _show_fbtc_cysta()
913 pcysta->cycle_time.tmax[CXT_BT], in _show_fbtc_cysta()
928 pcysta->a2dp_ept.tavg, pcysta->a2dp_ept.tmax); in _show_fbtc_cysta()
1032 ns->tmax[i]/1000, ns->tmax[i]%1000); in _show_fbtc_nullsta()
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-tca6507.c210 int tmax = msec * 9 / 8; in choose_times() local
221 if (t > tmax) in choose_times()
228 if (tt > tmax) in choose_times()
/OK3568_Linux_fs/external/xserver/dix/
H A Dgetevents.c303 double tmin = defmin, tmax = defmax; in rescaleValuatorAxis() local
311 tmax = to->max_value + 1; in rescaleValuatorAxis()
314 if (fmin == tmin && fmax == tmax) in rescaleValuatorAxis()
320 return (coord - fmin) * (tmax - tmin) / (fmax - fmin) + tmin; in rescaleValuatorAxis()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/
H A Dsky2.c4092 const u32 tmax = sky2_clk2us(hw, 0x0ffffff); in sky2_set_coalesce() local
4094 if (ecmd->tx_coalesce_usecs > tmax || in sky2_set_coalesce()
4095 ecmd->rx_coalesce_usecs > tmax || in sky2_set_coalesce()
4096 ecmd->rx_coalesce_usecs_irq > tmax) in sky2_set_coalesce()