Home
last modified time | relevance | path

Searched refs:ticks (Results 1 - 25 of 29) sorted by relevance

12

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_js_backend.c119 u32 ticks = atom->ticks++; in timer_callback() local
148 ticks > soft_stop_ticks) in timer_callback()
149 ticks = atom->ticks = soft_stop_ticks; in timer_callback()
152 if (ticks == soft_stop_ticks) { in timer_callback()
154 * js_devdata->soft_stop_ticks ticks. in timer_callback()
189 } else if (ticks == hard_stop_ticks) { in timer_callback()
191 * js_devdata->hard_stop_ticks_ss ticks. in timer_callback()
199 dev_warn(kbdev->dev, "JS: Job Hard-Stopped (took more than %lu ticks a in timer_callback()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_js_backend.c113 u32 ticks = atom->ticks++; in timer_callback() local
133 if (backend->timeouts_updated && ticks > soft_stop_ticks) { in timer_callback()
134 ticks = atom->ticks = soft_stop_ticks; in timer_callback()
138 if (ticks == soft_stop_ticks) { in timer_callback()
142 * js_devdata->soft_stop_ticks ticks. in timer_callback()
170 } else if (ticks == hard_stop_ticks) { in timer_callback()
172 * js_devdata->hard_stop_ticks_ss ticks. in timer_callback()
178 dev_warn(kbdev->dev, "JS: Job Hard-Stopped (took more than %lu ticks a in timer_callback()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_js_backend.c114 u32 ticks = atom->ticks++; in timer_callback() local
134 if (backend->timeouts_updated && ticks > soft_stop_ticks) { in timer_callback()
135 ticks = atom->ticks = soft_stop_ticks; in timer_callback()
139 if (ticks == soft_stop_ticks) { in timer_callback()
141 * js_devdata->soft_stop_ticks ticks. in timer_callback()
172 } else if (ticks == hard_stop_ticks) { in timer_callback()
174 * js_devdata->hard_stop_ticks_ss ticks. in timer_callback()
180 dev_warn(kbdev->dev, "JS: Job Hard-Stopped (took more than %lu ticks a in timer_callback()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_js_backend.c120 u32 ticks = atom->ticks++; in timer_callback() local
148 ticks > soft_stop_ticks) in timer_callback()
149 ticks = atom->ticks = soft_stop_ticks; in timer_callback()
152 if (ticks == soft_stop_ticks) { in timer_callback()
157 * js_devdata->soft_stop_ticks ticks. in timer_callback()
187 } else if (ticks == hard_stop_ticks) { in timer_callback()
189 * js_devdata->hard_stop_ticks_ss ticks. in timer_callback()
197 dev_warn(kbdev->dev, "JS: Job Hard-Stopped (took more than %lu ticks a in timer_callback()
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/
H A Dcmsis_liteos2.c248 uint64_t ticks; in osKernelGetTickCount() local
253 ticks = g_ullTickCount; in osKernelGetTickCount()
255 ticks = g_tickCount; in osKernelGetTickCount()
260 ticks = g_ullTickCount; in osKernelGetTickCount()
262 ticks = g_tickCount; in osKernelGetTickCount()
267 return (uint32_t)ticks; in osKernelGetTickCount()
662 WEAK UINT32 LOS_HalDelay(UINT32 ticks) in LOS_HalDelay() argument
664 UNUSED(ticks); in LOS_HalDelay()
669 osStatus_t osDelay(uint32_t ticks) in osDelay() argument
672 if (ticks in osDelay()
688 osDelayUntil(uint32_t ticks) osDelayUntil() argument
739 osTimerStart(osTimerId_t timer_id, uint32_t ticks) osTimerStart() argument
[all...]
H A Dcmsis_os2.h627 * @brief Obtains the number of kernel ticks per second.
629 * @return Returns the number of kernel ticks.
814 * @param ticks Indicates the number of ticks to wait for.
819 osStatus_t osDelay (uint32_t ticks);
824 * This function handles the overflow of the system timer. Note that the maximum value of this parameter is (2^31 - 1) ticks.
825 * @param ticks Indicates the number of ticks converted from the absolute time.
830 osStatus_t osDelayUntil (uint32_t ticks);
864 * @param ticks Indicate
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_time.c32 u32 _mali_osk_time_tickstoms(unsigned long ticks) in _mali_osk_time_tickstoms() argument
34 return jiffies_to_msecs(ticks); in _mali_osk_time_tickstoms()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_time.c32 u32 _mali_osk_time_tickstoms(unsigned long ticks) in _mali_osk_time_tickstoms() argument
34 return jiffies_to_msecs(ticks); in _mali_osk_time_tickstoms()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_sys.h158 * @param ticks [IN] Number of Ticks. The value range is (0,OS_SYS_CLOCK).
166 extern UINT32 LOS_Tick2MS(UINT32 ticks);
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
H A Dcore_802.h926 \param [in] ticks Number of ticks between two interrupts.
934 __STATIC_INLINE uint32_t csi_coret_config(uint32_t ticks, int32_t IRQn) in csi_coret_config() argument
936 if ((ticks - 1UL) > CORET_LOAD_RELOAD_Msk) { in csi_coret_config()
940 CORET->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in csi_coret_config()
1548 #define SysTick_Config(ticks) csi_coret_config(ticks, CORET_IRQn)
1549 #define CORET_Config(ticks) csi_coret_config(ticks, CORET_IRQn)
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/jm/
H A Dmali_kbase_jm_defs.h410 * @ticks: Number of scheduling ticks for which atom has been
583 u32 ticks; member
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dsched.h307 TP_PROTO(struct task_struct *p, struct rq *rq, int user_tick, int ticks),
308 TP_ARGS(p, rq, user_tick, ticks));
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/jm/
H A Dmali_kbase_jm_defs.h423 * @ticks: Number of scheduling ticks for which atom has been
598 u32 ticks; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_osk.h945 * Timers use the OS's representation of time, which are 'ticks'. This is to
967 * The timer will expire in \a ticks_to_expire ticks, at which point, the
972 * @param ticks_to_expire the amount of time in ticks for the timer to run
990 * @param ticks_to_expire the \em absolute time in ticks at which this timer
1068 * 'ticks'. This is to prevent aliasing problems between the internal timer
1089 * Systems where ticks can wrap must handle that.
1097 /** @brief Convert milliseconds to OS 'ticks'
1100 * @return the corresponding time interval in OS ticks.
1104 /** @brief Convert OS 'ticks' to milliseconds
1106 * @param ticks tim
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_osk.h959 * Timers use the OS's representation of time, which are 'ticks'. This is to
981 * The timer will expire in \a ticks_to_expire ticks, at which point, the
986 * @param ticks_to_expire the amount of time in ticks for the timer to run
1004 * @param ticks_to_expire the \em absolute time in ticks at which this timer
1081 * 'ticks'. This is to prevent aliasing problems between the internal timer
1102 * Systems where ticks can wrap must handle that.
1110 /** @brief Convert milliseconds to OS 'ticks'
1113 * @return the corresponding time interval in OS ticks.
1117 /** @brief Convert OS 'ticks' to milliseconds
1119 * @param ticks tim
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dcpuset.c2111 * than FM_MAXTICKS ticks have elapsed since the last filter event,
2112 * just compute FM_MAXTICKS ticks worth, by which point the level
2132 #define FM_MAXTICKS ((u32)99) /* useless computing more ticks than this */
2149 u32 ticks; in fmeter_update() local
2152 ticks = now - fmp->time; in fmeter_update()
2154 if (ticks == 0) { in fmeter_update()
2158 ticks = min(FM_MAXTICKS, ticks); in fmeter_update()
2159 while (ticks-- > 0) { in fmeter_update()
2168 /* Process any previous ticks, the
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_core_linux.c2518 u64 ticks = timeout_ms * 1000000ULL; in timeout_ms_to_ticks() local
2519 do_div(ticks, kbdev->js_data.scheduling_period_ns); in timeout_ms_to_ticks()
2520 if (!ticks) { in timeout_ms_to_ticks()
2523 return ticks; in timeout_ms_to_ticks()
2582 dev_dbg(kbdev->dev, "Overriding " #ticks_name " with %lu ticks (%lu ms)\n", \ in set_js_timeouts()
2612 static unsigned long get_js_timeout_in_ms(u32 scheduling_period_ns, u32 ticks) in get_js_timeout_in_ms() argument
2614 u64 ms = (u64)ticks * scheduling_period_ns; in get_js_timeout_in_ms()
2695 u64 ticks = (u64)old_period * (u64)old_ticks; in get_new_js_timeout() local
2696 do_div(ticks, new_scheduling_period_ns); in get_new_js_timeout()
2697 return ticks in get_new_js_timeout()
[all...]
H A Dmali_kbase_defs.h514 u32 ticks; member
886 /* Number of ticks of GPU poweroff timer before shader is powered off */
889 /* Number of ticks of GPU poweroff timer before GPU is powered off */
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_core_linux.c2495 u64 ticks = timeout_ms * 1000000ULL; in timeout_ms_to_ticks() local
2496 do_div(ticks, kbdev->js_data.scheduling_period_ns); in timeout_ms_to_ticks()
2497 if (!ticks) { in timeout_ms_to_ticks()
2500 return ticks; in timeout_ms_to_ticks()
2563 "Overriding " #ticks_name " with %lu ticks (%lu ms)\n", \ in set_js_timeouts()
2601 static unsigned long get_js_timeout_in_ms(u32 scheduling_period_ns, u32 ticks) in get_js_timeout_in_ms() argument
2603 u64 ms = (u64)ticks * scheduling_period_ns; in get_js_timeout_in_ms()
2689 u64 ticks = (u64)old_period * (u64)old_ticks; in get_new_js_timeout() local
2690 do_div(ticks, new_scheduling_period_ns); in get_new_js_timeout()
2691 return ticks in get_new_js_timeout()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_core_linux.c2570 u64 ticks = timeout_ms * 1000000ULL; in timeout_ms_to_ticks() local
2571 do_div(ticks, kbdev->js_data.scheduling_period_ns); in timeout_ms_to_ticks()
2572 if (!ticks) in timeout_ms_to_ticks()
2574 return ticks; in timeout_ms_to_ticks()
2636 " with %lu ticks (%lu ms)\n", \ in set_js_timeouts()
2674 u32 ticks) in get_js_timeout_in_ms()
2676 u64 ms = (u64)ticks * scheduling_period_ns; in get_js_timeout_in_ms()
2765 u64 ticks = (u64)old_period * (u64)old_ticks; in get_new_js_timeout() local
2766 do_div(ticks, new_scheduling_period_ns); in get_new_js_timeout()
2767 return ticks in get_new_js_timeout()
2672 get_js_timeout_in_ms( u32 scheduling_period_ns, u32 ticks) get_js_timeout_in_ms() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_core_linux.c2672 u64 ticks = timeout_ms * 1000000ULL; in timeout_ms_to_ticks() local
2673 do_div(ticks, kbdev->js_data.scheduling_period_ns); in timeout_ms_to_ticks()
2674 if (!ticks) in timeout_ms_to_ticks()
2676 return ticks; in timeout_ms_to_ticks()
2738 " with %lu ticks (%lu ms)\n", \ in set_js_timeouts()
2780 u32 ticks) in get_js_timeout_in_ms()
2782 u64 ms = (u64)ticks * scheduling_period_ns; in get_js_timeout_in_ms()
2871 u64 ticks = (u64)old_period * (u64)old_ticks; in get_new_js_timeout() local
2872 do_div(ticks, new_scheduling_period_ns); in get_new_js_timeout()
2873 return ticks in get_new_js_timeout()
2778 get_js_timeout_in_ms( u32 scheduling_period_ns, u32 ticks) get_js_timeout_in_ms() argument
[all...]
H A Dmali_kbase_defs.h521 u32 ticks; member
896 /* Number of ticks of GPU poweroff timer before shader is powered off */
899 /* Number of ticks of GPU poweroff timer before GPU is powered off */
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dsiutils.c203 static uint32 wd_msticks; /**< watchdog timer ticks normalized to ms */
247 /* save ticks normalized to ms for si_watchdog_ms() */ in si_kattach()
2022 /** set chip watchdog reset timer to fire in 'ticks' */
2024 si_watchdog(si_t *sih, uint ticks) in si_watchdog() argument
2039 if (ticks == 1) in si_watchdog()
2040 ticks = 2; in si_watchdog()
2041 else if (ticks > maxt) in si_watchdog()
2042 ticks = maxt; in si_watchdog()
2051 pmu_corereg(sih, SI_CC_IDX, pmuwatchdog, ~0, ticks); in si_watchdog()
2054 if (ticks > max in si_watchdog()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmmsgbuf.h1357 tick_count_64_t ticks; /* 64 bit host tick counter */ member
H A Dsiutils.h307 extern void si_watchdog(si_t *sih, uint ticks);

Completed in 51 milliseconds

12