Home
last modified time | relevance | path

Searched refs:load (Results 1 – 25 of 55) sorted by relevance

123

/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_wdt.c191 uint64_t load; in hal_wdt_set_timeout() local
200 load = WDT_RATE * timeout - 1; in hal_wdt_set_timeout()
202 load = (load > WDTLOAD_LOAD_MAX) ? WDTLOAD_LOAD_MAX: load; in hal_wdt_set_timeout()
203 load = (load < WDTLOAD_LOAD_MIN) ? WDTLOAD_LOAD_MIN: load; in hal_wdt_set_timeout()
205 wdt->load_val = load; in hal_wdt_set_timeout()
211 uint64_t load; in hal_wdt_get_timeleft() local
217 load = wdtip_read32(reg_base, WDTVALUE_REG_OFFSET); in hal_wdt_get_timeleft()
221 load += wdt->load_val + 1; in hal_wdt_get_timeleft()
223 return load/WDT_RATE; in hal_wdt_get_timeleft()
Dhal_timer.c161 __STATIC_FORCEINLINE void set_timer_load(struct TIMER_T *timer, uint32_t load, uint32_t delta) in set_timer_load() argument
169 timer->Load = load; in set_timer_load()
171 } while ((load < val) || (load > val + delta)); in set_timer_load()
174 timer->Load = load; in set_timer_load()
676 uint32_t load; in hal_fast_timer_wakeup() local
687 load = fast_timer_begin - (uint32_t)sleep_tick; in hal_fast_timer_wakeup()
689 load -= _real_fast_sys_timer_get() - fast;//float compute time in hal_fast_timer_wakeup()
690 set_timer_load(&dual_timer[1]->timer[0], load, FAST_TIMER_VAL_DELTA); in hal_fast_timer_wakeup()
793 static void hal_timer_common_reload(uint32_t id, uint32_t sub_id, uint32_t load) in hal_timer_common_reload() argument
798 if (load > HAL_TIMER_LOAD_DELTA) { in hal_timer_common_reload()
[all …]
Dhal_pwm.c59 uint32_t load; in hal_pwm_enable() local
90 load = PWM_MAX_VALUE; in hal_pwm_enable()
93 load = 0; in hal_pwm_enable()
96 load = mod_freq / cfg->freq; in hal_pwm_enable()
97 toggle = load * ratio / 100; in hal_pwm_enable()
103 … if (!cfg->sleep_on && ABS((int)(toggle * 100 - load * ratio)) > load * PWM_MAX_FREQ_ERR_PCT) { in hal_pwm_enable()
105 load = mod_freq / cfg->freq; in hal_pwm_enable()
106 toggle = load * ratio / 100; in hal_pwm_enable()
109 load = PWM_MAX_VALUE + 1 - load; in hal_pwm_enable()
146 pwm[index]->LOAD01 = SET_BITFIELD(pwm[index]->LOAD01, PWM_LOAD01_0, load); in hal_pwm_enable()
[all …]
Dhal_timer_user_irq.h26 void hal_user_timer0_start(uint32_t load);
34 void hal_user_timer0_reload(uint32_t load);
46 void hal_user_timer1_start(uint32_t load);
54 void hal_user_timer1_reload(uint32_t load);
Dhal_timer_fast_irq.h26 void hal_fast_timer_start(uint32_t load);
36 void hal_fast_timer_reload(uint32_t load);
50 void hal_fast_timer_bgload(uint32_t load);
Dhal_timer_raw.h33 void hal_timer_start_nickname(uint32_t load);
38 void hal_timer_start(uint32_t load);
45 void hal_timer_reload(uint32_t load);
/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
163 if (load) { in accumulate_sum()
179 if (load) { in accumulate_sum()
180 sa->load_sum += load * contrib; in accumulate_sum()
220 static __always_inline int ___update_load_sum(u64 now, struct sched_avg *sa, unsigned long load, un… in ___update_load_sum() argument
257 if (!load) { in ___update_load_sum()
268 if (!accumulate_sum(delta, sa, load, runnable, running)) { in ___update_load_sum()
299 static __always_inline void ___update_load_avg(struct sched_avg *sa, unsigned long load) in ___update_load_avg() argument
306 sa->load_avg = div_u64(load * sa->load_sum, divider); in ___update_load_avg()
362 …if (___update_load_sum(now, &cfs_rq->avg, scale_load_down(cfs_rq->load.weight), cfs_rq->h_nr_runni… in __update_load_avg_cfs_rq()
Dfair.c710 if (unlikely(se->load.weight != NICE_0_LOAD)) { in calc_delta_fair()
711 delta = fair_calc_delta(delta, NICE_0_LOAD, &se->load); in calc_delta_fair()
752 struct load_weight *load; in sched_slice() local
756 load = &cfs_rq->load; in sched_slice()
759 lw = cfs_rq->load; in sched_slice()
761 update_load_add(&lw, se->load.weight); in sched_slice()
762 load = &lw; in sched_slice()
764 slice = fair_calc_delta(slice, se->load.weight, load); in sched_slice()
804 sa->load_avg = scale_load_down(se->load.weight); in init_entity_runnable_average()
848 sa->util_avg = cfs_rq->avg.util_avg * se->load.weight; in post_init_entity_util_avg()
[all …]
/device/soc/winnermicro/wm800/board/platform/arch/xt804/bsp/
Dsystem.c36 uint32_t load = csi_coret_get_load(); in _mdelay() local
51 if (load - cur + start > cnt) { in _mdelay()
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/
Ddw_timer.c253 uint32_t load; in csi_timer_start() local
260 load = (uint32_t)(timer_priv->timeout * min_us); in csi_timer_start()
262 load = (uint32_t)(((timer_priv->timeout) * drv_get_sys_freq()) / 1000000); in csi_timer_start()
273 addr->TxLoadCount = load; /* load time(us) */ in csi_timer_start()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/
DKconfig20 bool "Wifi load driver when kernel bootup"
23 Wifi driver will be load (use late_initcall) when kernel bootup
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/
DKconfig20 bool "Wifi load driver when kernel bootup"
23 Wifi driver will be load (use late_initcall) when kernel bootup
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/include/
Dhi_hwtimer.h135 hi_u32 hi_hwtimer_get_load(hi_timer_id timer_id, hi_u32 *load);
142 hi_u32 hi_hwrtc_get_load(hi_rtc_id rtc_id, hi_u32 *load);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Damvdec.c280 const char *name, char *def, s32(*load)(const u32 *)) in am_vdec_loadmc_ex()
297 err = (*load)(vdec->mc); in am_vdec_loadmc_ex()
307 char *buf, int size, s32(*load)(const u32 *)) in am_vdec_loadmc_buf_ex()
316 err = (*load)(vdec->mc); in am_vdec_loadmc_buf_ex()
326 const char *name, char *def, s32(*load)(const u32 *)) in am_loadmc_ex()
344 err = (*load)((u32 *) pmc_addr); in am_loadmc_ex()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/rtos/liteos/liteos_m/
Dboard.c291 uint32_t load; in OS_Tick_Setup() local
298 load = OS_SYS_CLOCK/freq - 1U; in OS_Tick_Setup()
299 if (load > SysTick_LOAD_RELOAD_Msk) { in OS_Tick_Setup()
331 SysTick->LOAD = load; in OS_Tick_Setup()
/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_pagemanager.hpp34 esp_err_t load(Partition *partition, uint32_t baseSector, uint32_t sectorCount);
Dnvs_pagemanager.cpp18 esp_err_t PageManager::load(Partition *partition, uint32_t baseSector, uint32_t sectorCount) in load() function in nvs::PageManager
33 auto err = mPages[i].load(partition, baseSector + i); in load()
/device/board/hisilicon/hispark_phoenix/linux/updater/
Dohos_updater.its31 load = <0x86000000>;
/device/board/hisilicon/hispark_taurus/linux/updater/
Dohos_updater.its30 load = <0x86000000>;
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_debugger.c144 int load; in rga_load_show() local
162 load = (busy_time_total * 100000 / RGA_LOAD_INTERVAL); in rga_load_show()
163 seq_printf(m, "load = %d", load); in rga_load_show()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/
DMakefile.linux78 @mkdir -p $(REL_KO) && cp -rf $(TARGET).ko $(REL_KO) && chmod 777 $(REL_KO)/load*
/device/soc/bestechnic/bes2600/liteos_m/components/hdf_config/
Ddevice_info.hcs153 priority = 50; // load before fs
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
Dscons_app.py76 self.settings = json.load(app_cfg)
/device/soc/rockchip/common/sdk_linux/include/drm/
Ddrm_drv.h180 int (*load)(struct drm_device *, unsigned long flags); member
/device/soc/asrmicro/asr582x/liteos_m/sdk/
Dgcc.ld217 /* Initialized data sections goes into RAM, load LMA copy after code */
261 /* Initialized func sections goes into ROM, load LMA copy after code */

123