Home
last modified time | relevance | path

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

12345

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/
Dthread_rw.c95 struct threadrw_write_task *task, in threadrw_schedule_delayed_work()
117 struct threadrw_write_task *task, in threadrw_write_onece()
148 struct threadrw_write_task *task, in threadrw_write_in()
206 static int do_write_work_in(struct threadrw_write_task *task) in do_write_work_in()
269 struct threadrw_write_task *task = container_of(work, in do_write_work() local
284 static int alloc_task_buffers_inlock(struct threadrw_write_task *task, in alloc_task_buffers_inlock()
373 static int free_task_buffers(struct threadrw_write_task *task) in free_task_buffers()
401 struct threadrw_write_task *task; in threadrw_alloc_in() local
454 struct threadrw_write_task *task = stbuf->write_thread; in threadrw_update_buffer_level() local
469 struct threadrw_write_task *task = stbuf->write_thread; in threadrw_buffer_level() local
[all …]
/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
/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
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/
Dmpp_common.c103 struct mpp_task *task) in mpp_taskqueue_pop_pending()
119 struct mpp_task *task = NULL; in mpp_taskqueue_get_pending_task() local
145 struct mpp_task *task) in mpp_taskqueue_pending_to_run()
163 struct mpp_task *task = NULL; in mpp_taskqueue_get_running_task() local
176 struct mpp_task *task) in mpp_taskqueue_pop_running()
325 struct mpp_task *task = NULL, *n; in mpp_session_clear() local
450 struct mpp_task *task) in mpp_session_push_pending()
462 struct mpp_task *task) in mpp_session_pop_pending()
475 struct mpp_task *task = NULL; in mpp_session_get_pending_task() local
490 struct mpp_task *task = container_of(ref, struct mpp_task, ref); in mpp_free_task() local
[all …]
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_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_vdpu2.c79 #define to_vdpu_task(task) \ argument
200 struct vdpu_task *task, in vdpu_process_reg_fd()
239 static int vdpu_extract_task_msg(struct vdpu_task *task, in vdpu_extract_task_msg()
298 struct vdpu_task *task = NULL; in vdpu_alloc_task() local
341 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_run() local
376 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_finish() local
407 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_result() local
427 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_free_task() local
529 struct vdpu_task *task = to_vdpu_task(mpp_task); in vdpu_set_freq() local
561 struct vdpu_task *task = NULL; in vdpu_isr() local
Dmpp_rkvenc2.c369 struct rkvenc_task *task, int class) in req_over_class()
384 static int rkvenc_free_class_msg(struct rkvenc_task *task) in rkvenc_free_class_msg()
397 static int rkvenc_alloc_class_msg(struct rkvenc_task *task, int class) in rkvenc_alloc_class_msg()
417 static int rkvenc_update_req(struct rkvenc_task *task, int class, in rkvenc_update_req()
437 static int rkvenc_get_class_msg(struct rkvenc_task *task, in rkvenc_get_class_msg()
464 static u32 *rkvenc_get_class_reg(struct rkvenc_task *task, u32 addr) in rkvenc_get_class_reg()
503 struct rkvenc_task *task, in rkvenc_extract_task_msg()
591 struct rkvenc_task *task) in rkvenc_task_get_format()
614 struct rkvenc_task *task) in rkvenc2_set_rcbbuf()
658 static void rkvenc2_setup_task_id(u32 session_id, struct rkvenc_task *task) in rkvenc2_setup_task_id()
[all …]
Dmpp_rkvdec2_link.c310 struct rkvdec2_task *task; in rkvdec_link_write_task_to_slot() local
479 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
964 struct mpp_task *task = container_of(ref, struct mpp_task, ref); in rkvdec2_link_free_task() local
1058 struct mpp_task *task = container_of(to_delayed_work(work_s), in rkvdec2_link_timeout_proc() local
1085 struct mpp_task *task, *n; in mpp_taskqueue_scan_pending_abort_task() local
1107 struct mpp_task *task; in rkvdec2_link_try_dequeue() local
1154 static int mpp_task_queue(struct mpp_dev *mpp, struct mpp_task *task) in mpp_task_queue()
1206 struct mpp_task *task = NULL; in mpp_session_get_pending_task() local
1216 static int task_is_done(struct mpp_task *task) in task_is_done()
[all …]
Dmpp_rkvdec2.c98 struct rkvdec2_task *task, in rkvdec2_extract_task_msg()
165 struct mpp_task *task) in mpp_set_rcbbuf()
203 struct rkvdec2_task *task, struct mpp_task_msgs *msgs) in rkvdec2_task_init()
262 struct rkvdec2_task *task; in rkvdec2_alloc_task() local
280 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_run() local
338 struct rkvdec2_task *task = NULL; in rkvdec2_isr() local
399 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_finish() local
439 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_result() local
468 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_free_task() local
705 struct rkvdec2_task *task = to_rkvdec2_task(mpp_task); in rkvdec2_get_freq() local
[all …]
Dmpp_rkvdec.c115 #define to_rkvdec_task(task) \ argument
553 static int fill_scaling_list_pps(struct rkvdec_task *task, in fill_scaling_list_pps()
618 struct rkvdec_task *task, in rkvdec_process_scl_fd()
693 struct rkvdec_task *task, in rkvdec_process_reg_fd()
745 static int rkvdec_extract_task_msg(struct rkvdec_task *task, in rkvdec_extract_task_msg()
804 struct rkvdec_task *task = NULL; in rkvdec_alloc_task() local
865 struct rkvdec_task *task = to_rkvdec_task(out_task); in rkvdec_prepare_with_reset() local
887 struct rkvdec_task *task = NULL; in rkvdec_run() local
938 struct rkvdec_task *task = NULL; in rkvdec_3328_run() local
965 struct rkvdec_task *task = to_rkvdec_task(mpp_task); in rkvdec_1126_run() local
[all …]
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
/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 …]

12345