/linux/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 15 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, in linear_inter() argument 20 v = (tmax - tmin) * percent; in linear_inter() 31 s32 tmax, tmin, clk_z; in dsi_dphy_timing_calc_clk_zero() local 38 tmax = 511; in dsi_dphy_timing_calc_clk_zero() 41 tmax = 255; in dsi_dphy_timing_calc_clk_zero() 42 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero() 56 s32 tmax, tmin; in msm_dsi_dphy_timing_calc() local 70 tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc() 72 timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, true); in msm_dsi_dphy_timing_calc() 84 tmax = S_DIV_ROUND_UP(temp, ui) - 2; in msm_dsi_dphy_timing_calc() [all …]
|
/linux/arch/powerpc/kexec/ |
H A D | file_load_64.c | 118 u64 start, end, tmin, tmax; in locate_mem_hole_top_down_ppc64() local 120 tmax = buf_max; in locate_mem_hole_top_down_ppc64() 125 if (start > tmax) in locate_mem_hole_top_down_ppc64() 128 if (end < tmax) { in locate_mem_hole_top_down_ppc64() 130 ret = __locate_mem_hole_top_down(kbuf, tmin, tmax); in locate_mem_hole_top_down_ppc64() 135 tmax = start - 1; in locate_mem_hole_top_down_ppc64() 137 if (tmax < buf_min) { in locate_mem_hole_top_down_ppc64() 146 ret = __locate_mem_hole_top_down(kbuf, tmin, tmax); in locate_mem_hole_top_down_ppc64() 216 u64 start, end, tmin, tmax; in locate_mem_hole_bottom_up_ppc64() local 227 tmax = (start > buf_max ? buf_max : start - 1); in locate_mem_hole_bottom_up_ppc64() [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pm91.c | 149 s32 tmax, tdelta, maxpow, powadj; in wf_smu_create_cpu_fans() local 166 tmax = ((s32)fvt->maxtemp) << 16; in wf_smu_create_cpu_fans() 168 tmax = 0x5e0000; /* 94 degree default */ in wf_smu_create_cpu_fans() 193 pid_param.tmax = tmax; in wf_smu_create_cpu_fans() 194 pid_param.ttarget = tmax - tdelta; in wf_smu_create_cpu_fans() 204 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in wf_smu_create_cpu_fans() 254 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick()
|
H A D | windfarm_pm81.c | 400 s32 tmax, tdelta, maxpow, powadj; in wf_smu_create_cpu_fans() local 417 tmax = ((s32)fvt->maxtemp) << 16; in wf_smu_create_cpu_fans() 419 tmax = 0x5e0000; /* 94 degree default */ in wf_smu_create_cpu_fans() 447 pid_param.tmax = tmax; in wf_smu_create_cpu_fans() 448 pid_param.ttarget = tmax - tdelta; in wf_smu_create_cpu_fans() 458 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in wf_smu_create_cpu_fans() 508 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick()
|
H A D | windfarm_pm112.c | 134 s32 tmax; in create_cpu_loop() local 141 tmax = fvt->maxtemp << 16; in create_cpu_loop() 143 tmax = 95 << 16; /* default to 95 degrees C */ in create_cpu_loop() 146 if (tmax < cpu_all_tmax) in create_cpu_loop() 147 cpu_all_tmax = tmax; in create_cpu_loop() 173 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop() 174 pid.tmax = tmax; in create_cpu_loop()
|
H A D | windfarm_rm31.c | 297 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 D | windfarm_pm121.c | 648 s32 tmax, tdelta, maxpow, powadj; in pm121_create_cpu_fans() local 666 tmax = ((s32)fvt->maxtemp) << 16; in pm121_create_cpu_fans() 668 tmax = 0x5e0000; /* 94 degree default */ in pm121_create_cpu_fans() 693 pid_param.tmax = tmax; in pm121_create_cpu_fans() 694 pid_param.ttarget = tmax - tdelta; in pm121_create_cpu_fans() 704 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), in pm121_create_cpu_fans() 753 if (temp > st->pid.param.tmax) in pm121_cpu_fans_tick()
|
H A D | windfarm_pm72.c | 396 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 D | windfarm_pid.h | 68 s32 tmax; /* PID input max */ member
|
H A D | windfarm_mpu.h | 48 u8 tmax; /* 0x29 - Max temperature */ member
|
H A D | windfarm_pid.c | 119 sval = st->param.tmax - (s32)(integ >> 20); in wf_cpu_pid_run()
|
/linux/drivers/leds/ |
H A D | leds-tca6507.c | 207 int tmax = msec * 9 / 8; in choose_times() local 218 if (t > tmax) in choose_times() 225 if (tt > tmax) in choose_times()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | coex.c | 9142 le16_to_cpu(pcysta->cycle_time.tmax[CXT_WL]), in _show_fbtc_cysta_v3() 9143 le16_to_cpu(pcysta->cycle_time.tmax[CXT_BT]), in _show_fbtc_cysta_v3() 9144 le16_to_cpu(pcysta->leak_slot.tmax) / 1000, in _show_fbtc_cysta_v3() 9145 le16_to_cpu(pcysta->leak_slot.tmax) % 1000); in _show_fbtc_cysta_v3() 9213 le16_to_cpu(pcysta->a2dp_ept.tmax)); in _show_fbtc_cysta_v3() 9274 le16_to_cpu(pcysta->cycle_time.tmax[CXT_WL]), in _show_fbtc_cysta_v4() 9275 le16_to_cpu(pcysta->cycle_time.tmax[CXT_BT]), in _show_fbtc_cysta_v4() 9276 le16_to_cpu(pcysta->leak_slot.tmax) / 1000, in _show_fbtc_cysta_v4() 9277 le16_to_cpu(pcysta->leak_slot.tmax) % 1000); in _show_fbtc_cysta_v4() 9345 le16_to_cpu(pcysta->a2dp_ept.tmax)); in _show_fbtc_cysta_v4() [all …]
|
H A D | core.h | 2556 __le16 tmax[CXT_FLCTRL_MAX]; /* max try BT-Slot-TDD/BT-slot-FDD time */ member 2561 __le16 tmax[CXT_MAX]; /* max wl/bt cycle time */ member 2567 __le16 tmax[CXT_MAX]; /* max wl/bt cycle time */ member 2596 __le16 tmax; /* max a2dp empty time */ member 2602 __le16 tmax; /* max leak-slot time */ member 2779 __le32 tmax[2]; member
|
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 4097 const u32 tmax = sky2_clk2us(hw, 0x0ffffff); in sky2_set_coalesce() local 4099 if (ecmd->tx_coalesce_usecs > tmax || in sky2_set_coalesce() 4100 ecmd->rx_coalesce_usecs > tmax || in sky2_set_coalesce() 4101 ecmd->rx_coalesce_usecs_irq > tmax) in sky2_set_coalesce()
|
/linux/net/core/ |
H A D | neighbour.c | 256 u64 tmax = ktime_get_ns() + NSEC_PER_MSEC; in neigh_forced_gc() local 284 if (ktime_get_ns() > tmax) in neigh_forced_gc()
|