Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 80) sorted by relevance

1234

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/
Dhalphyrf_ce.c171 void odm_get_tracking_table(void *dm_void, u8 thermal_value, u8 delta) in odm_get_tracking_table() argument
224 "pwrtrk_tab_up_b[%d] = %d\n", delta, in odm_get_tracking_table()
225 pwrtrk_tab_up_b[delta]); in odm_get_tracking_table()
228 pwrtrk_tab_up_b[delta]; in odm_get_tracking_table()
230 pwrtrk_tab_up_b[delta]; in odm_get_tracking_table()
238 "pwrtrk_tab_up_c[%d] = %d\n", delta, in odm_get_tracking_table()
239 pwrtrk_tab_up_c[delta]); in odm_get_tracking_table()
242 pwrtrk_tab_up_c[delta]; in odm_get_tracking_table()
244 pwrtrk_tab_up_c[delta]; in odm_get_tracking_table()
252 "pwrtrk_tab_up_d[%d] = %d\n", delta, in odm_get_tracking_table()
[all …]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dpelt.c142 static __always_inline u32 accumulate_sum(u64 delta, struct sched_avg *sa, unsigned long load, unsi… in accumulate_sum() argument
145 u32 contrib = (u32)delta; /* p == 0 -> delta < 1024 */ in accumulate_sum()
148 delta += sa->period_contrib; in accumulate_sum()
149 periods = delta / 0x400; /* A period is 1024us (~1ms) */ in accumulate_sum()
162 delta %= 0x400; in accumulate_sum()
174 contrib = __accumulate_pelt_segments(periods, 0x400 - sa->period_contrib, delta); in accumulate_sum()
177 sa->period_contrib = delta; in accumulate_sum()
223 u64 delta; in ___update_load_sum() local
225 delta = now - sa->last_update_time; in ___update_load_sum()
230 if ((s64)delta < 0) { in ___update_load_sum()
[all …]
Dfair.c552 s64 delta = (s64)(vruntime - max_vruntime); in max_vruntime() local
553 if (delta > 0) { in max_vruntime()
562 s64 delta = (s64)(vruntime - min_vruntime); in min_vruntime() local
563 if (delta < 0) { in min_vruntime()
708 static inline u64 calc_delta_fair(u64 delta, struct sched_entity *se) in calc_delta_fair() argument
711 delta = fair_calc_delta(delta, NICE_0_LOAD, &se->load); in calc_delta_fair()
714 return delta; in calc_delta_fair()
955 u64 delta; in update_stats_wait_end() local
961 delta = rq_clock(rq_of(cfs_rq)) - schedstat_val(se->statistics.wait_start); in update_stats_wait_end()
971 __schedstat_set(se->statistics.wait_start, delta); in update_stats_wait_end()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/ticker/
Dticker_api.c184 timestamp_t delta = ticker->queue->max_delta; in compute_tick_round_up() local
191 delta = delta_us; in compute_tick_round_up()
192 if (delta > ticker->queue->max_delta) { in compute_tick_round_up()
193 delta = ticker->queue->max_delta; in compute_tick_round_up()
198 delta = ((delta_us << ticker->queue->frequency_shifts) + 1000000 - 1) / 1000000; in compute_tick_round_up()
199 if (delta > ticker->queue->max_delta) { in compute_tick_round_up()
200 delta = ticker->queue->max_delta; in compute_tick_round_up()
205 delta = (delta_us * queue->frequency + 1000000 - 1) / 1000000; in compute_tick_round_up()
206 if (delta > ticker->queue->max_delta) { in compute_tick_round_up()
207 delta = ticker->queue->max_delta; in compute_tick_round_up()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_timer.c131 __STATIC_FORCEINLINE uint32_t get_timer_value(struct TIMER_T *timer, uint32_t delta) in get_timer_value() argument
141 } while ((v1 < v2) || (v1 > v2 + delta)); in get_timer_value()
161 __STATIC_FORCEINLINE void set_timer_load(struct TIMER_T *timer, uint32_t load, uint32_t delta) in set_timer_load() argument
171 } while ((load < val) || (load > val + delta)); in set_timer_load()
382 uint32_t delta; in SRAM_TEXT_DEF() local
386 delta = FAST_TIMER_VAL_DELTA; in SRAM_TEXT_DEF()
390 delta = SLOW_TIMER_VAL_DELTA; in SRAM_TEXT_DEF()
395 delta = SLOW_TIMER_VAL_DELTA; in SRAM_TEXT_DEF()
398 start = get_timer_value(&t->timer[0], delta); in SRAM_TEXT_DEF()
411 return start - get_timer_value(&t->timer[0], delta); in SRAM_TEXT_DEF()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_uart_drv.c40 uint16_t div, osc, delta; in uart_calculate_baudrate() local
63 delta = 0; in uart_calculate_baudrate()
70 delta = div * osc - tmp; in uart_calculate_baudrate()
72 delta = tmp - div * osc; in uart_calculate_baudrate()
74 if (delta && ((delta * 100 / tmp) > HPM_UART_BAUDRATE_TOLERANCE)) { in uart_calculate_baudrate()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
Doption.h32 uint16_t delta; member
317 uint16_t delta,
329 size_t coap_opt_encode_size(uint16_t delta, size_t length);
348 uint16_t delta,
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Src/
Dstm32mp1xx_hal_dac_ex.c317 uint32_t delta; in HAL_DACEx_SelfCalibrate() local
370 delta = 8; in HAL_DACEx_SelfCalibrate()
371 while (delta != 0U) in HAL_DACEx_SelfCalibrate()
383 trimmingvalue -= delta; in HAL_DACEx_SelfCalibrate()
388 trimmingvalue += delta; in HAL_DACEx_SelfCalibrate()
391 delta >>= 1; in HAL_DACEx_SelfCalibrate()
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/src/
Dcommon.cpp81 s32 delta = borderType == BORDER_MODE_REFLECT101; in borderInterpolate() local
87 p = -p - 1 + delta; in borderInterpolate()
89 p = (ptrdiff_t)len - 1 - (p - (ptrdiff_t)len) - delta; in borderInterpolate()
Dfast.cpp231 uint8x16_t delta = vdupq_n_u8(128); in FAST() local
267 int8x16_t v1 = vreinterpretq_s8_u8(veorq_u8(vqsubq_u8(v0, t), delta)); in FAST()
268 int8x16_t v2 = vreinterpretq_s8_u8(veorq_u8(vqaddq_u8(v0, t), delta)); in FAST()
270 int8x16_t x0 = vreinterpretq_s8_u8(vsubq_u8(vld1q_u8(ptr + pixel[0]), delta)); in FAST()
271 int8x16_t x1 = vreinterpretq_s8_u8(vsubq_u8(vld1q_u8(ptr + pixel[4]), delta)); in FAST()
272 int8x16_t x2 = vreinterpretq_s8_u8(vsubq_u8(vld1q_u8(ptr + pixel[8]), delta)); in FAST()
273 int8x16_t x3 = vreinterpretq_s8_u8(vsubq_u8(vld1q_u8(ptr + pixel[12]), delta)); in FAST()
304 int8x16_t x = vreinterpretq_s8_u8(veorq_u8(vld1q_u8(ptr + pixel[k]), delta)); in FAST()
/device/soc/rockchip/common/sdk_linux/include/linux/
Dfreezer.h252 static inline int freezable_schedule_hrtimeout_range(ktime_t *expires, u64 delta, const enum hrtime… in freezable_schedule_hrtimeout_range() argument
256 __retval = schedule_hrtimeout_range(expires, delta, mode); in freezable_schedule_hrtimeout_range()
350 …efine freezable_schedule_hrtimeout_range(expires, delta, mode) schedule_hrtimeout_range(expires, d… argument
/device/soc/esp/esp32/components/newlib/
Dtime.c121 int adjtime(const struct timeval *delta, struct timeval *outdelta) in adjtime() argument
136 if(delta != NULL){ in adjtime()
137 int64_t sec = delta->tv_sec; in adjtime()
138 int64_t usec = delta->tv_usec; in adjtime()
/device/soc/hisilicon/common/platform/adc/
Dadc_hi35xx.c40 uint32_t delta; member
99 uint32_t delta; in Hi35xxAdcConfig() local
105 delta = hi35xx->delta; in Hi35xxAdcConfig()
109 val = (delta & DELTA_MASK) << DELTA_OFFSET; in Hi35xxAdcConfig()
277 ret = drsOps->GetUint32(node, "delta", &hi35xx->delta, 0); in Hi35xxAdcReadDrs()
/device/board/isoftstone/yangfan/kernel/hdf/drivers/audio/dai/src/
Drk3399_dai_ops.c432 int delta, ret; in rockchip_i2s_clk_set_rate() local
442 delta = (ppm < 0) ? -1 : 1; in rockchip_i2s_clk_set_rate()
443 delta *= (int)div64_u64((uint64_t)rate * (uint64_t)abs(ppm) + HALF_MILLION, ONE_MILLION); in rockchip_i2s_clk_set_rate()
445 rate_target = rate + delta; in rockchip_i2s_clk_set_rate()
572 unsigned int root_rate, div, delta; in DaiStartup() local
596 delta = abs(root_rate % rate - rate); in DaiStartup()
597 …O_DRIVER_LOG_DEBUG("------------mclk_calibrate root_rate=%d----delta=%d------.", root_rate, delta); in DaiStartup()
598 ppm = div64_u64((uint64_t)delta * ONE_MILLION, (uint64_t)root_rate); in DaiStartup()
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/src/
Dap3p.cpp205 double delta = vect_norm(nl); in computePoses() local
206 vect_divide(nl, delta, nl); in computePoses()
207 f11 *= delta; in computePoses()
208 f13 *= delta; in computePoses()
216 f21 *= delta; in computePoses()
217 f22 *= delta; in computePoses()
218 f23 *= delta; in computePoses()
249 vect_scale((delta / k3b3), b3, b3p); in computePoses()
/device/soc/esp/esp32/components/esp_timer/src/
Desp_timer_impl_lac.c169 int64_t delta = (int64_t)alarm.val - (int64_t)now_time; in esp_timer_impl_set_alarm() local
170 if (delta <= 0 && REG_GET_FIELD(INT_ST_REG, TIMG_LACT_INT_ST) == 0) { in esp_timer_impl_set_alarm()
172 offset += abs((int)delta) + TICKS_PER_US * 2; in esp_timer_impl_set_alarm()
Desp_timer_impl_frc_legacy.c248 int64_t delta = (int64_t)alarm_reg_val - (int64_t)REG_READ(FRC_TIMER_COUNT_REG(1)); in esp_timer_impl_set_alarm() local
249 if (delta <= 0) { in esp_timer_impl_set_alarm()
256 offset += abs((int)delta) + s_timer_ticks_per_us * 2; in esp_timer_impl_set_alarm()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Drc80211_minstrel.c340 int delta; in minstrel_get_rate() local
365 delta = (mi->total_packets * sampling_ratio / 100) - in minstrel_get_rate()
371 if (delta < 0 || (!mrr_capable && prev_sample)) in minstrel_get_rate()
378 } else if (delta > mi->n_rates * 2) { in minstrel_get_rate()
388 mi->sample_packets += (delta - mi->n_rates * 2); in minstrel_get_rate()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/hdf_config/adc/
Dadc_config.hcs12 delta = 0;
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/thermal/
Dsunxi_thermal.c142 int delta, cdata, offset, reg; in sun50i_h616_ths_calibrate() local
172 delta = (ft_temp * 100 - sunxi_ths_reg2temp(tmdev, reg)) in sun50i_h616_ths_calibrate()
174 cdata = CALIBRATE_DEFAULT - delta; in sun50i_h616_ths_calibrate()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/services/sys_time/
Dsys_time.h39 void hal_sys_time_set_ntp_delta(int delta);
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_hs_hci.c124 void ble_hs_hci_add_avail_pkts(uint16_t delta) in ble_hs_hci_add_avail_pkts() argument
128 if (ble_hs_hci_avail_pkts + delta > UINT16_MAX) { in ble_hs_hci_add_avail_pkts()
131 ble_hs_hci_avail_pkts += delta; in ble_hs_hci_add_avail_pkts()
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
Dsched.h178 TP_PROTO(struct task_struct *curr, int cpu, s64 delta),
179 TP_ARGS(curr, cpu, delta), 1);
362 TP_PROTO(struct task_struct *tsk, u64 delta),
363 TP_ARGS(tsk, delta));
/device/board/isoftstone/yangfan/kernel/src/incl/treace/hooks/
Dsched.h178 TP_PROTO(struct task_struct *curr, int cpu, s64 delta),
179 TP_ARGS(curr, cpu, delta), 1);
362 TP_PROTO(struct task_struct *tsk, u64 delta),
363 TP_ARGS(tsk, delta));
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_mem_linux.c1444 u64 delta = new_pages - old_pages; local
1452 phy_pages + old_pages, delta, reg->flags);
1476 u64 delta = old_pages - new_pages; local
1480 reg->start_pfn + new_pages, delta);
1488 u64 delta; local
1537 delta = new_pages - old_pages;
1547 if (kbase_alloc_phy_pages_helper(reg->cpu_alloc, delta) != 0) {
1553 reg->gpu_alloc, delta) != 0) {
1556 delta);
1569 kbase_free_phy_pages_helper(reg->cpu_alloc, delta);
[all …]

1234