/linux-master/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 15 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, argument 20 v = (tmax - tmin) * percent; 31 s32 tmax, tmin, clk_z; local 38 tmax = 511; 41 tmax = 255; 42 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); 56 s32 tmax, tmin; local 70 tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; 72 timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, true); 84 tmax 151 s32 tmax, tmin; local 267 s32 tmax, tmin; local 377 s32 tmax, tmin; local 475 s32 tmax, tmin; local [all...] |
/linux-master/drivers/macintosh/ |
H A D | windfarm_pm91.c | 149 s32 tmax, tdelta, maxpow, powadj; local 161 * for now) in order to get tmax 166 tmax = ((s32)fvt->maxtemp) << 16; 168 tmax = 0x5e0000; /* 94 degree default */ 193 pid_param.tmax = tmax; 194 pid_param.ttarget = tmax - tdelta; 203 DBG(" ttarget=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM\n", 204 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), 254 if (temp > st->pid.param.tmax) [all...] |
H A D | windfarm_pid.h | 68 s32 tmax; /* PID input max */ member in struct:wf_cpu_pid_param
|
H A D | windfarm_pm121.c | 648 s32 tmax, tdelta, maxpow, powadj; local 661 * for now) in order to get tmax 666 tmax = ((s32)fvt->maxtemp) << 16; 668 tmax = 0x5e0000; /* 94 degree default */ 693 pid_param.tmax = tmax; 694 pid_param.ttarget = tmax - tdelta; 703 pr_debug(" ttarget=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM,\n", 704 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), 753 if (temp > st->pid.param.tmax) [all...] |
H A D | windfarm_pm81.c | 84 * WARNING ! The CPU control loop requires the CPU tmax for the current 400 s32 tmax, tdelta, maxpow, powadj; local 412 * for now) in order to get tmax 417 tmax = ((s32)fvt->maxtemp) << 16; 419 tmax = 0x5e0000; /* 94 degree default */ 447 pid_param.tmax = tmax; 448 pid_param.ttarget = tmax - tdelta; 457 DBG(" ttarget=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM\n", 458 FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), [all...] |
H A D | windfarm_pm112.c | 134 s32 tmax; local 141 tmax = fvt->maxtemp << 16; 143 tmax = 95 << 16; /* default to 95 degrees C */ 145 /* We keep a global tmax for overtemp calculations */ 146 if (tmax < cpu_all_tmax) 147 cpu_all_tmax = tmax; 173 pid.ttarget = tmax - (piddata->target_temp_delta << 16); 174 pid.tmax = tmax;
|
H A D | windfarm_pm72.c | 396 s32 tmax, ttarget, ptarget; local 400 tmax = mpu->tmax << 16; 404 DBG("wf_72: CPU%d ttarget = %d.%03d, tmax = %d.%03d\n", 405 cpu, FIX32TOPRINT(ttarget), FIX32TOPRINT(tmax)); 407 /* We keep a global tmax for overtemp calculations */ 408 if (tmax < cpu_all_tmax) 409 cpu_all_tmax = tmax; 426 pid.tmax = tmax; [all...] |
H A D | windfarm_rm31.c | 297 s32 tmax, ttarget, ptarget; local 301 tmax = mpu->tmax << 16; 305 DBG("wf_72: CPU%d ttarget = %d.%03d, tmax = %d.%03d\n", 306 cpu, FIX32TOPRINT(ttarget), FIX32TOPRINT(tmax)); 308 /* We keep a global tmax for overtemp calculations */ 309 if (tmax < cpu_all_tmax) 310 cpu_all_tmax = tmax; 327 pid.tmax = tmax; [all...] |
H A D | windfarm_mpu.h | 48 u8 tmax; /* 0x29 - Max temperature */ member in struct:mpu_data
|
H A D | windfarm_pid.c | 119 sval = st->param.tmax - (s32)(integ >> 20);
|
/linux-master/arch/powerpc/kexec/ |
H A D | file_load_64.c | 193 u64 start, end, tmin, tmax; local 195 tmax = buf_max; 200 if (start > tmax) 203 if (end < tmax) { 205 ret = __locate_mem_hole_top_down(kbuf, tmin, tmax); 210 tmax = start - 1; 212 if (tmax < buf_min) { 221 ret = __locate_mem_hole_top_down(kbuf, tmin, tmax); 291 u64 start, end, tmin, tmax; local 302 tmax [all...] |
/linux-master/drivers/leds/ |
H A D | leds-tca6507.c | 207 int tmax = msec * 9 / 8; local 218 if (t > tmax) 225 if (tt > tmax)
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | coex.c | 7636 le16_to_cpu(pcysta->cycle_time.tmax[CXT_WL]), 7637 le16_to_cpu(pcysta->cycle_time.tmax[CXT_BT]), 7638 le16_to_cpu(pcysta->leak_slot.tmax) / 1000, 7639 le16_to_cpu(pcysta->leak_slot.tmax) % 1000); 7707 le16_to_cpu(pcysta->a2dp_ept.tmax)); 7768 le16_to_cpu(pcysta->cycle_time.tmax[CXT_WL]), 7769 le16_to_cpu(pcysta->cycle_time.tmax[CXT_BT]), 7770 le16_to_cpu(pcysta->leak_slot.tmax) / 1000, 7771 le16_to_cpu(pcysta->leak_slot.tmax) % 1000); 7839 le16_to_cpu(pcysta->a2dp_ept.tmax)); [all...] |
H A D | core.h | 2293 __le16 tmax[CXT_FLCTRL_MAX]; /* max try BT-Slot-TDD/BT-slot-FDD time */ member in struct:rtw89_btc_fbtc_fdd_try_info 2298 __le16 tmax[CXT_MAX]; /* max wl/bt cycle time */ member in struct:rtw89_btc_fbtc_cycle_time_info 2304 __le16 tmax[CXT_MAX]; /* max wl/bt cycle time */ member in struct:rtw89_btc_fbtc_cycle_time_info_v5 2333 __le16 tmax; /* max a2dp empty time */ member in struct:rtw89_btc_fbtc_cycle_a2dp_empty_info 2339 __le16 tmax; /* max leak-slot time */ member in struct:rtw89_btc_fbtc_cycle_leak_info
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 4096 const u32 tmax = sky2_clk2us(hw, 0x0ffffff); local 4098 if (ecmd->tx_coalesce_usecs > tmax || 4099 ecmd->rx_coalesce_usecs > tmax || 4100 ecmd->rx_coalesce_usecs_irq > tmax)
|
/linux-master/net/core/ |
H A D | neighbour.c | 256 u64 tmax = ktime_get_ns() + NSEC_PER_MSEC; local 284 if (ktime_get_ns() > tmax)
|