Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 76) sorted by relevance

1234

/device/soc/hisilicon/ws63v100/sdk/kernel/liteos/liteos_v208.5.0/Huawei_LiteOS/kernel/base/include/
Dlos_task_pri.h113 LosTaskCB *task; /* Current running task */ member
123 STATIC INLINE VOID OsCurrTaskSet(LosTaskCB *task) in OsCurrTaskSet()
194 STATIC INLINE VOID OsTaskExtStatusSet(LosTaskCB *task, UINT32 extStatus) in OsTaskExtStatusSet()
199 STATIC INLINE VOID OsTaskExtStatusClear(LosTaskCB *task, UINT32 extStatus) in OsTaskExtStatusClear()
204 STATIC INLINE VOID OsTaskWaitCanOperate(LosTaskCB *task) in OsTaskWaitCanOperate()
209 STATIC INLINE BOOL OsTaskIsInoperable(LosTaskCB *task) in OsTaskIsInoperable()
233 STATIC INLINE VOID OsTaskExtStatusSet(LosTaskCB *task, UINT32 extStatus) in OsTaskExtStatusSet()
239 STATIC INLINE VOID OsTaskExtStatusClear(LosTaskCB *task, UINT32 extStatus) in OsTaskExtStatusClear()
245 STATIC INLINE VOID OsTaskWaitCanOperate(LosTaskCB *task) in OsTaskWaitCanOperate()
250 STATIC INLINE BOOL OsTaskIsInoperable(LosTaskCB *task) in OsTaskIsInoperable()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
Dmpp_common.c95 struct mpp_task *task) in mpp_taskqueue_push_pending()
110 struct mpp_task *task) in mpp_taskqueue_pop_pending()
126 struct mpp_task *task = NULL; in mpp_taskqueue_get_pending_task() local
152 struct mpp_task *task) in mpp_taskqueue_pending_to_run()
170 struct mpp_task *task = NULL; in mpp_taskqueue_get_running_task() local
183 struct mpp_task *task) in mpp_taskqueue_pop_running()
235 struct mpp_task *task = NULL, *n; in mpp_session_clear() local
354 struct mpp_task *task) in mpp_session_push_pending()
366 struct mpp_task *task) in mpp_session_pop_pending()
379 struct mpp_task *task = NULL; in mpp_session_get_pending_task() local
[all …]
Dmpp_rkvdec2.c89 struct rkvdec2_task *task, in rkvdec2_extract_task_msg()
156 struct mpp_task *task) in mpp_set_rcbbuf()
194 struct rkvdec2_task *task, struct mpp_task_msgs *msgs) in rkvdec2_task_init()
253 struct rkvdec2_task *task; in rkvdec2_alloc_task() local
274 struct rkvdec2_task *task = NULL; in rkvdec2_rk3568_alloc_task() local
290 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_run() local
336 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_rk3568_run() local
369 struct rkvdec2_task *task = NULL; in rkvdec2_isr() local
431 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_finish() local
471 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_result() local
[all …]
Dmpp_rkvdec2_link.c312 struct rkvdec2_task *task; in rkvdec_link_write_task_to_slot() local
483 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_link_finish() local
518 struct rkvdec2_task *task = NULL; in rkvdec_link_isr_recv_task() local
968 struct mpp_task *task = container_of(ref, struct mpp_task, ref); in rkvdec2_link_free_task() local
1062 struct mpp_task *task = container_of(to_delayed_work(work_s), in rkvdec2_link_timeout_proc() local
1089 struct mpp_task *task, *n; in mpp_taskqueue_scan_pending_abort_task() local
1111 struct mpp_task *task; in rkvdec2_link_try_dequeue() local
1158 static int mpp_task_queue(struct mpp_dev *mpp, struct mpp_task *task) in mpp_task_queue()
1210 struct mpp_task *task = NULL; in mpp_session_get_pending_task() local
1220 static int task_is_done(struct mpp_task *task) in task_is_done()
[all …]
Dmpp_jpgdec.c72 #define to_jpgdec_task(task) \ argument
128 struct jpgdec_task *task, in jpgdec_process_reg_fd()
143 static int jpgdec_extract_task_msg(struct jpgdec_task *task, in jpgdec_extract_task_msg()
202 struct jpgdec_task *task = NULL; in jpgdec_alloc_task() local
253 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_run() local
286 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_finish() local
326 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_result() local
346 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_free_task() local
448 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_set_freq() local
477 struct jpgdec_task *task = NULL; in jpgdec_isr() local
Dmpp_vdpu1.c88 #define to_vdpu_task(task) \ argument
228 struct vdpu_task *task, in vdpu_process_reg_fd()
282 static int vdpu_extract_task_msg(struct vdpu_task *task, in vdpu_extract_task_msg()
341 struct vdpu_task *task = NULL; in vdpu_alloc_task() local
389 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_run() local
424 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_finish() local
455 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_result() local
475 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_free_task() local
577 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_3288_get_freq() local
590 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_3368_get_freq() local
[all …]
Dmpp_vdpu2.c80 #define to_vdpu_task(task) \ argument
201 struct vdpu_task *task, in vdpu_process_reg_fd()
240 static int vdpu_extract_task_msg(struct vdpu_task *task, in vdpu_extract_task_msg()
299 struct vdpu_task *task = NULL; in vdpu_alloc_task() local
342 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_run() local
377 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_finish() local
408 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_result() local
428 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_free_task() local
536 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_set_freq() local
568 struct vdpu_task *task = NULL; in vdpu_isr() local
Dmpp_vepu1.c66 #define to_vepu_task(task) \ argument
148 struct vepu_task *task, in vepu_process_reg_fd()
165 static int vepu_extract_task_msg(struct vepu_task *task, in vepu_extract_task_msg()
224 struct vepu_task *task = NULL; in vepu_alloc_task() local
266 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_run() local
311 struct vepu_task *task = NULL; in vepu_isr() local
345 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_finish() local
370 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_result() local
389 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_free_task() local
637 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_set_freq() local
Dmpp_rkvdec.c117 #define to_rkvdec_task(task) \ argument
555 static int fill_scaling_list_pps(struct rkvdec_task *task, in fill_scaling_list_pps()
620 struct rkvdec_task *task, in rkvdec_process_scl_fd()
695 struct rkvdec_task *task, in rkvdec_process_reg_fd()
747 static int rkvdec_extract_task_msg(struct rkvdec_task *task, in rkvdec_extract_task_msg()
806 struct rkvdec_task *task = NULL; in rkvdec_alloc_task() local
867 struct rkvdec_task *task = to_rkvdec_task(out_task); in rkvdec_prepare_with_reset() local
889 struct rkvdec_task *task = NULL; in rkvdec_run() local
940 struct rkvdec_task *task = NULL; in rkvdec_3328_run() local
967 struct rkvdec_task *task = to_rkvdec_task(mpp_task); in rkvdec_1126_run() local
[all …]
Dmpp_iep2.c84 #define to_iep_task(task) \ argument
240 struct iep_task *task, in iep2_process_reg_fd()
283 static int iep2_extract_task_msg(struct iep_task *task, in iep2_extract_task_msg()
323 struct iep_task *task = NULL; in iep2_alloc_task() local
354 static void iep2_config(struct mpp_dev *mpp, struct iep_task *task) in iep2_config()
496 static void iep2_osd_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_osd_cfg()
514 static void iep2_mtn_tab_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_mtn_tab_cfg()
531 static void iep2_tru_list_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_tru_list_cfg()
560 static void iep2_comb_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_comb_cfg()
580 struct iep_task *task = NULL; in iep2_run() local
[all …]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
Dmpp_common.c85 static int mpp_taskqueue_push_pending(struct mpp_taskqueue *queue, struct mpp_task *task) in mpp_taskqueue_push_pending()
99 static int mpp_taskqueue_pop_pending(struct mpp_taskqueue *queue, struct mpp_task *task) in mpp_taskqueue_pop_pending()
115 struct mpp_task *task = NULL; in mpp_taskqueue_get_pending_task() local
136 static int mpp_taskqueue_pending_to_run(struct mpp_taskqueue *queue, struct mpp_task *task) in mpp_taskqueue_pending_to_run()
153 struct mpp_task *task = NULL; in mpp_taskqueue_get_running_task() local
162 static int mpp_taskqueue_pop_running(struct mpp_taskqueue *queue, struct mpp_task *task) in mpp_taskqueue_pop_running()
214 struct mpp_task *task = NULL, *n; in mpp_session_clear() local
333 static int mpp_session_push_pending(struct mpp_session *session, struct mpp_task *task) in mpp_session_push_pending()
343 static int mpp_session_pop_pending(struct mpp_session *session, struct mpp_task *task) in mpp_session_pop_pending()
355 struct mpp_task *task = NULL; in mpp_session_get_pending_task() local
[all …]
Dmpp_rkvdec2.c87 static int rkvdec2_extract_task_msg(struct mpp_session *session, struct rkvdec2_task *task, struct … in rkvdec2_extract_task_msg()
156 int mpp_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, struct mpp_task *task) in mpp_set_rcbbuf()
192 int rkvdec2_task_init(struct mpp_dev *mpp, struct mpp_session *session, struct rkvdec2_task *task, in rkvdec2_task_init()
251 struct rkvdec2_task *task; in rkvdec2_alloc_task() local
272 struct rkvdec2_task *task = NULL; in rkvdec2_rk3568_alloc_task() local
289 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_run() local
335 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_rk3568_run() local
370 struct rkvdec2_task *task = NULL; in rkvdec2_isr() local
430 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_finish() local
469 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_result() local
[all …]
Dmpp_rkvdec2_link.c314 struct rkvdec2_task *task; in rkvdec_link_write_task_to_slot() local
481 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_link_finish() local
514 struct rkvdec2_task *task = NULL; in rkvdec_link_isr_recv_task() local
944 struct mpp_task *task = container_of(ref, struct mpp_task, ref); in rkvdec2_link_free_task() local
1039 struct mpp_task *task = container_of(to_delayed_work(work_s), struct mpp_task, timeout_work); in rkvdec2_link_timeout_proc() local
1063 struct mpp_task *task, *n; in mpp_taskqueue_scan_pending_abort_task() local
1086 struct mpp_task *task; in rkvdec2_link_try_dequeue() local
1132 static int mpp_task_queue(struct mpp_dev *mpp, struct mpp_task *task) in mpp_task_queue()
1174 struct mpp_task *task = NULL; in mpp_session_get_pending_task() local
1183 static int task_is_done(struct mpp_task *task) in task_is_done()
[all …]
Dmpp_jpgdec.c72 #define to_jpgdec_task(task) container_of(task, struct jpgdec_task, mpp_task) argument
126 static int jpgdec_process_reg_fd(struct mpp_session *session, struct jpgdec_task *task, struct mpp_… in jpgdec_process_reg_fd()
139 static int jpgdec_extract_task_msg(struct jpgdec_task *task, struct mpp_task_msgs *msgs) in jpgdec_extract_task_msg()
196 struct jpgdec_task *task = NULL; in jpgdec_alloc_task() local
249 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_run() local
280 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_finish() local
317 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_result() local
334 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_free_task() local
437 struct jpgdec_task *task = to_jpgdec_task(mpp_task); in jpgdec_set_freq() local
467 struct jpgdec_task *task = NULL; in jpgdec_isr() local
Dmpp_vdpu1.c88 #define to_vdpu_task(task) container_of(task, struct vdpu_task, mpp_task) argument
222 static int vdpu_process_reg_fd(struct mpp_session *session, struct vdpu_task *task, struct mpp_task… in vdpu_process_reg_fd()
274 static int vdpu_extract_task_msg(struct vdpu_task *task, struct mpp_task_msgs *msgs) in vdpu_extract_task_msg()
330 struct vdpu_task *task = NULL; in vdpu_alloc_task() local
380 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_run() local
413 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_finish() local
441 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_result() local
458 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_free_task() local
561 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_3288_get_freq() local
574 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_3368_get_freq() local
[all …]
Dmpp_vdpu2.c80 #define to_vdpu_task(task) container_of(task, struct vdpu_task, mpp_task) argument
197 static int vdpu_process_reg_fd(struct mpp_session *session, struct vdpu_task *task, struct mpp_task… in vdpu_process_reg_fd()
234 static int vdpu_extract_task_msg(struct vdpu_task *task, struct mpp_task_msgs *msgs) in vdpu_extract_task_msg()
287 struct vdpu_task *task = NULL; in vdpu_alloc_task() local
332 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_run() local
365 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_finish() local
393 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_result() local
410 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_free_task() local
519 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_set_freq() local
552 struct vdpu_task *task = NULL; in vdpu_isr() local
Dmpp_vepu1.c66 #define to_vepu_task(task) container_of(task, struct vepu_task, mpp_task) argument
145 static int vepu_process_reg_fd(struct mpp_session *session, struct vepu_task *task, struct mpp_task… in vepu_process_reg_fd()
157 static int vepu_extract_task_msg(struct vepu_task *task, struct mpp_task_msgs *msgs) in vepu_extract_task_msg()
210 struct vepu_task *task = NULL; in vepu_alloc_task() local
254 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_run() local
298 struct vepu_task *task = NULL; in vepu_isr() local
324 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_finish() local
347 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_result() local
363 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_free_task() local
612 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_set_freq() local
Dmpp_rkvdec.c117 #define to_rkvdec_task(task) container_of(task, struct rkvdec_task, mpp_task) argument
522 static int fill_scaling_list_pps(struct rkvdec_task *task, int fd, int offset, int count, int pps_i… in fill_scaling_list_pps()
584 static int rkvdec_process_scl_fd(struct mpp_session *session, struct rkvdec_task *task, struct mpp_… in rkvdec_process_scl_fd()
648 static int rkvdec_process_reg_fd(struct mpp_session *session, struct rkvdec_task *task, struct mpp_… in rkvdec_process_reg_fd()
699 static int rkvdec_extract_task_msg(struct rkvdec_task *task, struct mpp_task_msgs *msgs) in rkvdec_extract_task_msg()
756 struct rkvdec_task *task = NULL; in rkvdec_alloc_task() local
820 struct rkvdec_task *task = to_rkvdec_task(out_task); in rkvdec_prepare_with_reset() local
841 struct rkvdec_task *task = NULL; in rkvdec_run() local
891 struct rkvdec_task *task = NULL; in rkvdec_3328_run() local
917 struct rkvdec_task *task = to_rkvdec_task(mpp_task); in rkvdec_1126_run() local
[all …]
Dmpp_iep2.c76 #define to_iep_task(task) container_of(task, struct iep_task, mpp_task) argument
229 static int iep2_process_reg_fd(struct mpp_session *session, struct iep_task *task, struct mpp_task_… in iep2_process_reg_fd()
269 static int iep2_extract_task_msg(struct iep_task *task, struct mpp_task_msgs *msgs) in iep2_extract_task_msg()
308 struct iep_task *task = NULL; in iep2_alloc_task() local
342 static void iep2_config(struct mpp_dev *mpp, struct iep_task *task) in iep2_config()
455 static void iep2_osd_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_osd_cfg()
472 static void iep2_mtn_tab_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_mtn_tab_cfg()
487 static void iep2_tru_list_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_tru_list_cfg()
516 static void iep2_comb_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_comb_cfg()
535 struct iep_task *task = NULL; in iep2_run() local
[all …]
Dmpp_vepu2.c78 #define to_vepu_task(task) container_of(task, struct vepu_task, mpp_task) argument
176 static int vepu_process_reg_fd(struct mpp_session *session, struct vepu_task *task, struct mpp_task… in vepu_process_reg_fd()
191 static int vepu_extract_task_msg(struct vepu_task *task, struct mpp_task_msgs *msgs) in vepu_extract_task_msg()
244 struct vepu_task *task = NULL; in vepu_alloc_task() local
340 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_run() local
384 struct vepu_task *task = NULL; in vepu_isr() local
410 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_finish() local
433 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_result() local
450 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_free_task() local
735 struct vepu_task *task = to_vepu_task(mpp_task); in vepu_get_freq() local
[all …]
/device/soc/hisilicon/ws63v100/sdk/kernel/osal/src/liteos/
Dosal_task.c37 osal_task *task = (osal_task *)LOS_MemAlloc((void*)m_aucSysMem0, sizeof(osal_task)); in osal_kthread_create() local
67 int osal_kthread_set_priority(osal_task *task, unsigned int priority) in osal_kthread_set_priority()
91 void osal_kthread_set_affinity(osal_task *task, int cpu_mask) in osal_kthread_set_affinity()
102 void osal_kthread_destroy(osal_task *task, unsigned int stop_flag) in osal_kthread_destroy()
122 void osal_kthread_suspend(osal_task *task) in osal_kthread_suspend()
138 void osal_kthread_resume(osal_task *task) in osal_kthread_resume()
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
Dlegacy_freezer.c55 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
65 bool cgroup_freezing(struct task_struct *task) in cgroup_freezing()
163 struct task_struct *task; in freezer_attach() local
207 static void freezer_fork(struct task_struct *task) in freezer_fork()
255 struct task_struct *task; in update_if_frozen() local
330 struct task_struct *task; in freeze_cgroup() local
342 struct task_struct *task; in unfreeze_cgroup() local
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_task.c65 void osal_kthread_set_priority(osal_task *task, osal_task_priority priority) in osal_kthread_set_priority()
89 void osal_kthread_set_affinity(osal_task *task, int cpu_mask) in osal_kthread_set_affinity()
123 void osal_kthread_destroy(osal_task *task, unsigned int stop_flag) in osal_kthread_destroy()
/device/soc/rockchip/common/sdk_linux/include/linux/sched/
Dsignal.h277 struct task_struct *task = current; in kernel_dequeue_signal() local
451 static inline void clear_tsk_restore_sigmask(struct task_struct *task) in clear_tsk_restore_sigmask()
460 static inline bool test_tsk_restore_sigmask(struct task_struct *task) in test_tsk_restore_sigmask()
480 static inline void clear_tsk_restore_sigmask(struct task_struct *task) in clear_tsk_restore_sigmask()
492 static inline bool test_tsk_restore_sigmask(struct task_struct *task) in test_tsk_restore_sigmask()
630 static inline struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
641 static inline struct pid *task_tgid(struct task_struct *task) in task_tgid()
651 static inline struct pid *task_pgrp(struct task_struct *task) in task_pgrp()
656 static inline struct pid *task_session(struct task_struct *task) in task_session()
661 static inline int get_nr_threads(struct task_struct *task) in get_nr_threads()
[all …]
/device/soc/hisilicon/ws63v100/sdk/protocol/wifi/source/host/inc/oal/linux/
Doal_schedule.h110 #define oal_smp_call_function_single(core, task, info, wait) smp_call_function_single(core, task, i… argument
179 OAL_STATIC OAL_INLINE osal_void oal_task_init(oal_tasklet_stru *task, oal_defer_func p_func, osal_… in oal_task_init()
188 OAL_STATIC OAL_INLINE osal_void oal_task_kill(oal_tasklet_stru *task) in oal_task_kill()
198 OAL_STATIC OAL_INLINE osal_void oal_task_sched(oal_tasklet_stru *task) in oal_task_sched()
207 OAL_STATIC OAL_INLINE osal_ulong oal_task_is_scheduled(oal_tasklet_stru *task) in oal_task_is_scheduled()

1234