Home
last modified time | relevance | path

Searched refs:wq (Results 1 - 25 of 53) sorted by relevance

123

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_wait.c37 wait_queue_head_t *wq = NULL; in osal_wait_init() local
42 wq = (wait_queue_head_t *)kmalloc(sizeof(wait_queue_head_t), GFP_ATOMIC); in osal_wait_init()
43 if (wq == NULL) { in osal_wait_init()
47 init_waitqueue_head(wq); in osal_wait_init()
48 wait->wait = wq; in osal_wait_init()
54 wait_queue_head_t *wq = NULL; in osal_wait_interruptible() local
61 wq = (wait_queue_head_t *)(wait->wait); in osal_wait_interruptible()
62 if (wq == NULL) { in osal_wait_interruptible()
68 return wait_event_interruptible((*wq), OSAL_WAIT_CONDITION_TRUE); in osal_wait_interruptible()
71 return wait_event_interruptible((*wq), fun in osal_wait_interruptible()
77 wait_queue_head_t *wq = NULL; osal_wait_uninterruptible() local
102 wait_queue_head_t *wq = NULL; osal_wait_timeout_interruptible() local
128 wait_queue_head_t *wq = NULL; osal_wait_timeout_uninterruptible() local
154 wait_queue_head_t *wq = NULL; osal_wait_wakeup() local
167 wait_queue_head_t *wq = NULL; osal_wait_destroy() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_wait.c36 wait_queue_head_t *wq = NULL; in osal_wait_init() local
41 wq = (wait_queue_head_t *)kmalloc(sizeof(wait_queue_head_t), GFP_ATOMIC); in osal_wait_init()
42 if (wq == NULL) { in osal_wait_init()
46 init_waitqueue_head(wq); in osal_wait_init()
47 wait->wait = wq; in osal_wait_init()
53 wait_queue_head_t *wq = NULL; in osal_wait_interruptible() local
63 wq = (wait_queue_head_t *)(wait->wait); in osal_wait_interruptible()
64 if (wq == NULL) { in osal_wait_interruptible()
68 prepare_to_wait(wq, &__wait, TASK_INTERRUPTIBLE); in osal_wait_interruptible()
83 finish_wait(wq, in osal_wait_interruptible()
90 wait_queue_head_t *wq = NULL; osal_wait_uninterruptible() local
123 wait_queue_head_t *wq = NULL; osal_wait_timeout_interruptible() local
164 wait_queue_head_t *wq = NULL; osal_wait_timeout_uninterruptible() local
198 wait_queue_head_t *wq = NULL; osal_wakeup() local
210 wait_queue_head_t *wq = NULL; osal_wait_destroy() local
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dwait.c331 int do_wait_intr(wait_queue_head_t *wq, wait_queue_entry_t *wait) in do_wait_intr() argument
334 __add_wait_queue_entry_tail(wq, wait); in do_wait_intr()
342 spin_unlock(&wq->lock); in do_wait_intr()
344 spin_lock(&wq->lock); in do_wait_intr()
350 int do_wait_intr_irq(wait_queue_head_t *wq, wait_queue_entry_t *wait) in do_wait_intr_irq() argument
353 __add_wait_queue_entry_tail(wq, wait); in do_wait_intr_irq()
361 spin_unlock_irq(&wq->lock); in do_wait_intr_irq()
363 spin_lock_irq(&wq->lock); in do_wait_intr_irq()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dfreezer.h268 #define wait_event_freezekillable_unsafe(wq, condition) \
272 __retval = wait_event_killable(wq, (condition)); \
352 #define wait_event_freezekillable_unsafe(wq, condition) wait_event_killable(wq, condition)
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_irq.c39 wait_queue_head_t wq; member
49 wake_up(&data->wq); in test_interrupt_upper_half()
78 init_waitqueue_head(&data.wq); in test_interrupt()
81 wait_event_timeout(data.wq, data.interrupt_received, 100); in test_interrupt()
H A Dmali_internal_sync.c93 wake_up_all(&sync_fence->wq); in mali_internal_fence_check_cb_func()
100 wake_up_all(&sync_fence->wq); in mali_internal_fence_check_cb_func()
548 spin_lock_irqsave(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
552 __add_wait_queue_tail(&sync_fence->wq, &waiter->work); in mali_internal_sync_fence_wait_async()
553 spin_unlock_irqrestore(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
585 spin_lock_irqsave(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
590 __add_wait_queue_entry_tail(&sync_fence->wq, &waiter->work); in mali_internal_sync_fence_wait_async()
592 __add_wait_queue_tail(&sync_fence->wq, &waiter->work); in mali_internal_sync_fence_wait_async()
595 spin_unlock_irqrestore(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
610 spin_lock_irqsave(&sync_fence->wq in mali_internal_sync_fence_cancel_async()
[all...]
H A Dmali_memory_os_alloc.c107 queue_delayed_work(mali_mem_os_allocator.wq, &mali_mem_os_allocator.timed_shrinker, MALI_OS_MEMORY_POOL_TRIM_JIFFIES); in mali_mem_os_free()
751 queue_delayed_work(mali_mem_os_allocator.wq, &mali_mem_os_allocator.timed_shrinker, MALI_OS_MEMORY_POOL_TRIM_JIFFIES); in mali_mem_os_trim_pool()
757 mali_mem_os_allocator.wq = alloc_workqueue("mali-mem", WQ_UNBOUND, 1); in mali_mem_os_init()
758 if (NULL == mali_mem_os_allocator.wq) { in mali_mem_os_init()
773 if (NULL != mali_mem_os_allocator.wq) { in mali_mem_os_term()
774 destroy_workqueue(mali_mem_os_allocator.wq); in mali_mem_os_term()
775 mali_mem_os_allocator.wq = NULL; in mali_mem_os_term()
H A Dmali_memory_types.h158 struct workqueue_struct *wq; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_irq.c40 wait_queue_head_t wq; member
50 wake_up(&data->wq); in test_interrupt_upper_half()
77 init_waitqueue_head(&data.wq); in test_interrupt()
80 wait_event_timeout(data.wq, data.interrupt_received, 0x64); in test_interrupt()
H A Dmali_internal_sync.c104 wake_up_all(&sync_fence->wq); in mali_internal_fence_check_cb_func()
114 wake_up_all(&sync_fence->wq); in mali_internal_fence_check_cb_func()
611 spin_lock_irqsave(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
614 __add_wait_queue_tail(&sync_fence->wq, &waiter->work); in mali_internal_sync_fence_wait_async()
616 spin_unlock_irqrestore(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
656 spin_lock_irqsave(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
660 __add_wait_queue_entry_tail(&sync_fence->wq, &waiter->work); in mali_internal_sync_fence_wait_async()
662 __add_wait_queue_tail(&sync_fence->wq, &waiter->work); in mali_internal_sync_fence_wait_async()
665 spin_unlock_irqrestore(&sync_fence->wq.lock, flags); in mali_internal_sync_fence_wait_async()
681 spin_lock_irqsave(&sync_fence->wq in mali_internal_sync_fence_cancel_async()
[all...]
H A Dmali_memory_os_alloc.c111 queue_delayed_work(mali_mem_os_allocator.wq, &mali_mem_os_allocator.timed_shrinker, in mali_mem_os_free()
751 queue_delayed_work(mali_mem_os_allocator.wq, &mali_mem_os_allocator.timed_shrinker, in mali_mem_os_trim_pool()
758 mali_mem_os_allocator.wq = alloc_workqueue("mali-mem", WQ_UNBOUND, 1); in mali_mem_os_init()
759 if (mali_mem_os_allocator.wq == NULL) { in mali_mem_os_init()
774 if (mali_mem_os_allocator.wq != NULL) { in mali_mem_os_term()
775 destroy_workqueue(mali_mem_os_allocator.wq); in mali_mem_os_term()
776 mali_mem_os_allocator.wq = NULL; in mali_mem_os_term()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dhnd_pktq.c733 struct pktq_prec wq; in _pktq_pfilter() local
744 wq = *q; in _pktq_pfilter()
751 q->dequeue_count += wq.n_pkts; in _pktq_pfilter()
754 pq->n_pkts_tot -= wq.n_pkts; in _pktq_pfilter()
761 while ((p = wq.head) != NULL) { in _pktq_pfilter()
763 wq.head = PKTLINK(p); in _pktq_pfilter()
765 wq.n_pkts--; in _pktq_pfilter()
768 wq.dequeue_count++; in _pktq_pfilter()
795 ASSERT(wq.n_pkts == 0); in _pktq_pfilter()
845 struct pktq_prec wq; in spktq_filter() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_dma_fence.c121 ret = queue_work(kctx->dma_fence.wq, &katom->work); in kbase_dma_fence_queue_work()
421 destroy_workqueue(kctx->dma_fence.wq); in kbase_dma_fence_term()
422 kctx->dma_fence.wq = NULL; in kbase_dma_fence_term()
429 kctx->dma_fence.wq = alloc_workqueue("mali-fence-%d", WQ_UNBOUND, 1, kctx->pid); in kbase_dma_fence_init()
430 if (!kctx->dma_fence.wq) { in kbase_dma_fence_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_dma_fence.c133 ret = queue_work(kctx->dma_fence.wq, &katom->work); in kbase_dma_fence_queue_work()
477 destroy_workqueue(kctx->dma_fence.wq); in kbase_dma_fence_term()
478 kctx->dma_fence.wq = NULL; in kbase_dma_fence_term()
485 kctx->dma_fence.wq = alloc_workqueue("mali-fence-%d", in kbase_dma_fence_init()
487 if (!kctx->dma_fence.wq) in kbase_dma_fence_init()
H A Dmali_kbase_hwcnt.c118 * @wq: Centralized workqueue for users of hardware counters to
130 struct workqueue_struct *wq; member
152 hctx->wq = in kbase_hwcnt_context_init()
154 if (!hctx->wq) in kbase_hwcnt_context_init()
178 destroy_workqueue(hctx->wq); in kbase_hwcnt_context_term()
744 return queue_work(hctx->wq, work); in kbase_hwcnt_context_queue_work()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_dma_fence.c129 ret = queue_work(kctx->dma_fence.wq, &katom->work); in kbase_dma_fence_queue_work()
440 destroy_workqueue(kctx->dma_fence.wq); in kbase_dma_fence_term()
441 kctx->dma_fence.wq = NULL; in kbase_dma_fence_term()
448 kctx->dma_fence.wq = alloc_workqueue("mali-fence-%d", WQ_UNBOUND, 1, kctx->pid); in kbase_dma_fence_init()
449 if (!kctx->dma_fence.wq) { in kbase_dma_fence_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_dma_fence.c126 ret = queue_work(kctx->dma_fence.wq, &katom->work); in kbase_dma_fence_queue_work()
435 destroy_workqueue(kctx->dma_fence.wq); in kbase_dma_fence_term()
436 kctx->dma_fence.wq = NULL; in kbase_dma_fence_term()
443 kctx->dma_fence.wq = alloc_workqueue("mali-fence-%d", in kbase_dma_fence_init()
445 if (!kctx->dma_fence.wq) in kbase_dma_fence_init()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_defs.h422 * @wq: Dedicated workqueue for processing kernel CPU command queues.
438 struct workqueue_struct *wq; member
557 * @wq: Dedicated workqueue to process work items corresponding
582 struct workqueue_struct *wq; member
678 * @wq: Dedicated workqueue to execute the @tick_work.
732 struct workqueue_struct *wq; member
/device/qemu/drivers/virtio/
H A Dvirtinput.c85 HdfWorkQueue wq; /* event work-queue */ member
155 (void)HdfAddWork(&in->wq, &w); /* HDF will alloc for 'realwork' */ in VirtinHandleEv()
374 if ((ret = HdfWorkQueueInit(&in->wq, VIRTMMIO_INPUT_NAME)) != HDF_SUCCESS) { in HdfVirtinInit()
394 if (in->wq.realWorkQueue) { in HdfVirtinRelease()
395 HdfWorkQueueDestroy(&in->wq); in HdfVirtinRelease()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_scheduler.h470 queue_work(scheduler->wq, &scheduler->tick_work); in kbase_csf_scheduler_advance_tick_nolock()
511 queue_work(scheduler->wq, &scheduler->tick_work); in kbase_csf_scheduler_invoke_tick()
H A Dmali_kbase_csf_defs.h503 * @wq: Dedicated workqueue for processing kernel CPU command queues.
519 struct workqueue_struct *wq; member
693 * @wq: Dedicated workqueue to process work items corresponding
717 struct workqueue_struct *wq; member
826 * @wq: Dedicated workqueue to execute the @tick_work.
901 struct workqueue_struct *wq; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_task.h43 oal_wait_queue_head_stru wq; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/
H A Dtde_osilist.c958 tdefreewq *wq = HI_NULL; local
960 wq = tde_malloc(sizeof(tdefreewq));
961 if (wq == HI_NULL) {
965 wq->count = data;
966 wq->wqcb = (TDE_WQ_CB)func;
967 OSAL_INIT_WORK(&wq->work, tde_osi_list_freevmem);
968 osal_schedule_work(&wq->work);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dlinuxver.h788 #define __wait_event_interruptible_timeout(wq, condition, ret) \
793 add_wait_queue(&wq, &__wait); \
808 remove_wait_queue(&wq, &__wait); \
811 #define wait_event_interruptible_timeout(wq, condition, timeout) \
815 __wait_event_interruptible_timeout(wq, condition, __ret); \
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Dbridge.h63 struct workqueue_struct *wq; member

Completed in 22 milliseconds

123