Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_workqueue.c28 struct work_struct *work; member
32 static osal_workqueue *osal_find_work(struct work_struct *work) in osal_find_work() argument
36 if (work == NULL) { in osal_find_work()
47 if (ws->work == work) { in osal_find_work()
55 static int osal_del_work(struct work_struct *work) in osal_del_work() argument
60 if (work == NULL) { in osal_del_work()
71 if (ws->work == work) { in osal_del_work()
81 static void osal_work_handler(struct work_struct *work) in osal_work_handler() argument
83 osal_workqueue *ow = osal_find_work(work); in osal_work_handler()
89 int osal_workqueue_init(osal_workqueue *work, osal_workqueue_handler handler) in osal_workqueue_init() argument
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_wq.c36 struct delayed_work work; member
44 static void _mali_osk_wq_work_func(struct work_struct *work);
106 mali_osk_wq_work_object_t *work = kmalloc(sizeof(mali_osk_wq_work_object_t), GFP_KERNEL); in _mali_osk_wq_create_work() local
108 if (NULL == work) return NULL; in _mali_osk_wq_create_work()
110 work->handler = handler; in _mali_osk_wq_create_work()
111 work->data = data; in _mali_osk_wq_create_work()
112 work->high_pri = MALI_FALSE; in _mali_osk_wq_create_work()
114 INIT_WORK(&work->work_handle, _mali_osk_wq_work_func); in _mali_osk_wq_create_work()
116 return work; in _mali_osk_wq_create_work()
121 mali_osk_wq_work_object_t *work = kmalloc(sizeof(mali_osk_wq_work_object_t), GFP_KERNEL); in _mali_osk_wq_create_work_high_pri() local
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_wq.c37 struct delayed_work work; member
45 static void _mali_osk_wq_work_func(struct work_struct *work);
111 mali_osk_wq_work_object_t *work = kmalloc(sizeof(mali_osk_wq_work_object_t), GFP_KERNEL); in mali_osk_wq_create_work() local
113 if (work == NULL) { in mali_osk_wq_create_work()
117 work->handler = handler; in mali_osk_wq_create_work()
118 work->data = data; in mali_osk_wq_create_work()
119 work->high_pri = MALI_FALSE; in mali_osk_wq_create_work()
121 INIT_WORK(&work->work_handle, _mali_osk_wq_work_func); in mali_osk_wq_create_work()
123 return work; in mali_osk_wq_create_work()
128 mali_osk_wq_work_object_t *work = kmalloc(sizeof(mali_osk_wq_work_object_t), GFP_KERNEL); in _mali_osk_wq_create_work_high_pri() local
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_workqueue.c27 struct work_struct *work; member
31 static struct osal_work_struct *osal_find_work(struct work_struct *work) in osal_find_work() argument
40 if (ws->work == work) { in osal_find_work()
48 static int osal_del_work(struct work_struct *work) in osal_del_work() argument
58 if (ws->work == work) { in osal_del_work()
69 static void osal_work_func(struct work_struct *work) in osal_work_func() argument
71 struct osal_work_struct *ow = osal_find_work(work); in osal_work_func()
77 int osal_init_work(struct osal_work_struct *work, osal_work_func_t func) in osal_init_work() argument
95 work->work = w; in osal_init_work()
96 work->func = func; in osal_init_work()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_linux_wq.c110 struct dhd_deferred_wq *work = NULL; in dhd_deferred_work_init() local
120 work = (struct dhd_deferred_wq *)kzalloc(sizeof(struct dhd_deferred_wq), in dhd_deferred_work_init()
122 if (!work) { in dhd_deferred_work_init()
127 INIT_WORK((struct work_struct *)work, dhd_deferred_work_handler); in dhd_deferred_work_init()
130 spin_lock_init(&work->work_lock); in dhd_deferred_work_init()
144 work->prio_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
145 if (!work->prio_fifo) { in dhd_deferred_work_init()
161 work->work_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
162 if (!work->work_fifo) { in dhd_deferred_work_init()
167 work->dhd_info = dhd_info; in dhd_deferred_work_init()
[all …]
Ddhd_debug_linux.c51 struct delayed_work work; member
99 dbg_ring_poll_worker(struct work_struct *work) in dbg_ring_poll_worker() argument
101 struct delayed_work *d_work = to_delayed_work(work); in dbg_ring_poll_worker()
114 ring_info = container_of(d_work, linux_dbgring_info_t, work); in dbg_ring_poll_worker()
225 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
228 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
229 schedule_delayed_work(&ring_info->work, ring_info->interval); in dhd_os_start_logging()
252 cancel_delayed_work_sync(&ring_info->work); in dhd_os_reset_logging()
312 cancel_delayed_work_sync(&ring_info->work); in dhd_os_trigger_get_ring_data()
314 schedule_delayed_work(&ring_info->work, 0); in dhd_os_trigger_get_ring_data()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_linux_wq.c109 struct dhd_deferred_wq *work = NULL; in dhd_deferred_work_init() local
119 work = (struct dhd_deferred_wq *)kzalloc(sizeof(struct dhd_deferred_wq), in dhd_deferred_work_init()
121 if (!work) { in dhd_deferred_work_init()
126 INIT_WORK((struct work_struct *)work, dhd_deferred_work_handler); in dhd_deferred_work_init()
129 spin_lock_init(&work->work_lock); in dhd_deferred_work_init()
143 work->prio_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
144 if (!work->prio_fifo) { in dhd_deferred_work_init()
160 work->work_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
161 if (!work->work_fifo) { in dhd_deferred_work_init()
166 work->dhd_info = dhd_info; in dhd_deferred_work_init()
[all …]
Ddhd_debug_linux.c55 struct delayed_work work; member
103 dbg_ring_poll_worker(struct work_struct *work) in dbg_ring_poll_worker() argument
105 struct delayed_work *d_work = to_delayed_work(work); in dbg_ring_poll_worker()
113 container_of(d_work, linux_dbgring_info_t, work); in dbg_ring_poll_worker()
232 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
235 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
236 schedule_delayed_work(&ring_info->work, ring_info->interval); in dhd_os_start_logging()
259 cancel_delayed_work_sync(&ring_info->work); in dhd_os_reset_logging()
319 cancel_delayed_work_sync(&ring_info->work); in dhd_os_trigger_get_ring_data()
321 schedule_delayed_work(&ring_info->work, 0); in dhd_os_trigger_get_ring_data()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_linux_wq.c113 struct dhd_deferred_wq *work = NULL; in dhd_deferred_work_init() local
123 work = (struct dhd_deferred_wq *)kzalloc(sizeof(struct dhd_deferred_wq), in dhd_deferred_work_init()
125 if (!work) { in dhd_deferred_work_init()
130 INIT_WORK((struct work_struct *)work, dhd_deferred_work_handler); in dhd_deferred_work_init()
133 spin_lock_init(&work->work_lock); in dhd_deferred_work_init()
146 work->prio_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
147 if (!work->prio_fifo) { in dhd_deferred_work_init()
163 work->work_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
164 if (!work->work_fifo) { in dhd_deferred_work_init()
169 work->dhd_info = dhd_info; in dhd_deferred_work_init()
[all …]
Ddhd_debug_linux.c55 struct delayed_work work; member
105 static void dbg_ring_poll_worker(struct work_struct *work) in dbg_ring_poll_worker() argument
107 struct delayed_work *d_work = to_delayed_work(work); in dbg_ring_poll_worker()
115 container_of(d_work, linux_dbgring_info_t, work); in dbg_ring_poll_worker()
235 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
238 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
239 schedule_delayed_work(&ring_info->work, ring_info->interval); in dhd_os_start_logging()
263 cancel_delayed_work_sync(&ring_info->work); in dhd_os_reset_logging()
324 cancel_delayed_work_sync(&ring_info->work); in dhd_os_trigger_get_ring_data()
326 schedule_delayed_work(&ring_info->work, 0); in dhd_os_trigger_get_ring_data()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_linux_wq.c115 struct dhd_deferred_wq *work = NULL; in dhd_deferred_work_init() local
125 work = (struct dhd_deferred_wq *)kzalloc(sizeof(struct dhd_deferred_wq), in dhd_deferred_work_init()
127 if (!work) { in dhd_deferred_work_init()
132 INIT_WORK((struct work_struct *)work, dhd_deferred_work_handler); in dhd_deferred_work_init()
135 spin_lock_init(&work->work_lock); in dhd_deferred_work_init()
149 work->prio_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
150 if (!work->prio_fifo) { in dhd_deferred_work_init()
166 work->work_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init()
167 if (!work->work_fifo) { in dhd_deferred_work_init()
172 work->dhd_info = dhd_info; in dhd_deferred_work_init()
[all …]
Ddhd_debug_linux.c53 struct delayed_work work; member
99 dbg_ring_poll_worker(struct work_struct *work) in dbg_ring_poll_worker() argument
101 struct delayed_work *d_work = to_delayed_work(work); in dbg_ring_poll_worker()
109 container_of(d_work, linux_dbgring_info_t, work); in dbg_ring_poll_worker()
233 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
236 cancel_delayed_work_sync(&ring_info->work); in dhd_os_start_logging()
237 schedule_delayed_work(&ring_info->work, ring_info->interval); in dhd_os_start_logging()
260 cancel_delayed_work_sync(&ring_info->work); in dhd_os_reset_logging()
320 cancel_delayed_work_sync(&ring_info->work); in dhd_os_trigger_get_ring_data()
322 schedule_delayed_work(&ring_info->work, 0); in dhd_os_trigger_get_ring_data()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dsta.h93 void xradio_event_handler(struct work_struct *work);
94 void xradio_bss_loss_work(struct work_struct *work);
95 void xradio_connection_loss_work(struct work_struct *work);
96 void xradio_keep_alive_work(struct work_struct *work);
97 void xradio_tx_failure_work(struct work_struct *work);
103 void xradio_join_work(struct work_struct *work);
104 void xradio_join_timeout(struct work_struct *work);
105 void xradio_unjoin_work(struct work_struct *work);
106 void xradio_offchannel_work(struct work_struct *work);
107 void xradio_wep_key_work(struct work_struct *work);
[all …]
Dap.h41 void xradio_set_tim_work(struct work_struct *work);
42 void xradio_set_cts_work(struct work_struct *work);
43 void xradio_multicast_start_work(struct work_struct *work);
44 void xradio_multicast_stop_work(struct work_struct *work);
48 void xradio_link_id_work(struct work_struct *work);
49 void xradio_link_id_gc_work(struct work_struct *work);
55 void xradio_ht_info_update_work(struct work_struct *work);
Dscan.h32 struct work_struct work; member
66 void xradio_sched_scan_work(struct work_struct *work);
68 void xradio_scan_work(struct work_struct *work);
69 void xradio_scan_timeout(struct work_struct *work);
75 void xradio_probe_work(struct work_struct *work);
78 void xradio_advance_scan_timeout(struct work_struct *work);
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_workqueue.h45 inline hi_void hi_workqueue_init_work(hi_work *work, work_func func) in hi_workqueue_init_work() argument
47 INIT_WORK(work, func); in hi_workqueue_init_work()
51 inline hi_s32 hi_workqueue_add_work(hi_workqueue *workqueue, hi_work *work) in hi_workqueue_add_work() argument
53 return queue_work(workqueue, work); in hi_workqueue_add_work()
57 inline hi_bool hi_workqueue_cancle_work_sync(hi_work *work) in hi_workqueue_cancle_work_sync() argument
59 return cancel_work_sync(work); in hi_workqueue_cancle_work_sync()
63 inline hi_bool hi_workqueue_is_busy(hi_work *work) in hi_workqueue_is_busy() argument
65 return work_busy(work); in hi_workqueue_is_busy()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_model_linux.c37 struct work_struct work; member
40 static void serve_job_irq(struct work_struct *work) in serve_job_irq() argument
42 struct model_irq_data *data = container_of(work, struct model_irq_data, in serve_job_irq()
43 work); in serve_job_irq()
68 static void serve_gpu_irq(struct work_struct *work) in serve_gpu_irq() argument
70 struct model_irq_data *data = container_of(work, struct model_irq_data, in serve_gpu_irq()
71 work); in serve_gpu_irq()
88 static void serve_mmu_irq(struct work_struct *work) in serve_mmu_irq() argument
90 struct model_irq_data *data = container_of(work, struct model_irq_data, in serve_mmu_irq()
91 work); in serve_mmu_irq()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
Dcif-luma.c212 …atic void rkcif_stats_send_luma(struct rkcif_luma_vdev *vdev, struct rkcif_luma_readout_work *work) in rkcif_stats_send_luma() argument
238 cur_stat_buf->frame_id = work->frame_id; in rkcif_stats_send_luma()
239 cur_stat_buf->meas_type = work->meas_type; in rkcif_stats_send_luma()
242 cur_stat_buf->luma[i].exp_mean[j] = work->luma[i].exp_mean[j]; in rkcif_stats_send_luma()
249 cur_buf->vb.vb2_buf.timestamp = work->timestamp; in rkcif_stats_send_luma()
256 struct rkcif_luma_readout_work work; in rkcif_luma_readout_task() local
260 out = kfifo_out(&vdev->rd_kfifo, &work, sizeof(work)); in rkcif_luma_readout_task()
265 if (work.readout == RKCIF_READOUT_LUMA) { in rkcif_luma_readout_task()
266 rkcif_stats_send_luma(vdev, &work); in rkcif_luma_readout_task()
303 …luma_vdev->work.luma[0].exp_mean[i] = rkcif_read_register(luma_vdev->cifdev, CIF_REG_Y_STAT_VALUE); in rkcif_luma_isr()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/cif/
Dcif-luma.c225 struct rkcif_luma_readout_work *work) in rkcif_stats_send_luma() argument
255 cur_stat_buf->frame_id = work->frame_id; in rkcif_stats_send_luma()
256 cur_stat_buf->meas_type = work->meas_type; in rkcif_stats_send_luma()
260 work->luma[i].exp_mean[j]; in rkcif_stats_send_luma()
268 cur_buf->vb.vb2_buf.timestamp = work->timestamp; in rkcif_stats_send_luma()
275 struct rkcif_luma_readout_work work; in rkcif_luma_readout_task() local
281 &work, sizeof(work)); in rkcif_luma_readout_task()
285 if (work.readout == RKCIF_READOUT_LUMA) in rkcif_luma_readout_task()
286 rkcif_stats_send_luma(vdev, &work); in rkcif_luma_readout_task()
321 luma_vdev->work.luma[0].exp_mean[i] = in rkcif_luma_isr()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
Dcif-luma.c225 struct rkcif_luma_readout_work *work) in rkcif_stats_send_luma() argument
255 cur_stat_buf->frame_id = work->frame_id; in rkcif_stats_send_luma()
256 cur_stat_buf->meas_type = work->meas_type; in rkcif_stats_send_luma()
260 work->luma[i].exp_mean[j]; in rkcif_stats_send_luma()
268 cur_buf->vb.vb2_buf.timestamp = work->timestamp; in rkcif_stats_send_luma()
275 struct rkcif_luma_readout_work work; in rkcif_luma_readout_task() local
281 &work, sizeof(work)); in rkcif_luma_readout_task()
285 if (work.readout == RKCIF_READOUT_LUMA) in rkcif_luma_readout_task()
286 rkcif_stats_send_luma(vdev, &work); in rkcif_luma_readout_task()
321 luma_vdev->work.luma[0].exp_mean[i] = in rkcif_luma_isr()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Disp_mipi_luma.c220 struct rkisp_luma_readout_work *work) in rkisp_stats_send_luma() argument
250 cur_stat_buf->frame_id = work->frame_id; in rkisp_stats_send_luma()
251 cur_stat_buf->meas_type = work->meas_type; in rkisp_stats_send_luma()
255 work->luma[i].exp_mean[j]; in rkisp_stats_send_luma()
263 cur_buf->vb.vb2_buf.timestamp = work->timestamp; in rkisp_stats_send_luma()
270 struct rkisp_luma_readout_work work; in rkisp_luma_readout_task() local
276 &work, sizeof(work)); in rkisp_luma_readout_task()
280 if (work.readout == RKISP_ISP_READOUT_LUMA) in rkisp_luma_readout_task()
281 rkisp_stats_send_luma(vdev, &work); in rkisp_luma_readout_task()
353 luma_vdev->work.luma[0].exp_mean[i] = in rkisp_luma_isr()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Disp_mipi_luma.c208 …atic void rkisp_stats_send_luma(struct rkisp_luma_vdev *vdev, struct rkisp_luma_readout_work *work) in rkisp_stats_send_luma() argument
234 cur_stat_buf->frame_id = work->frame_id; in rkisp_stats_send_luma()
235 cur_stat_buf->meas_type = work->meas_type; in rkisp_stats_send_luma()
238 cur_stat_buf->luma[i].exp_mean[j] = work->luma[i].exp_mean[j]; in rkisp_stats_send_luma()
245 cur_buf->vb.vb2_buf.timestamp = work->timestamp; in rkisp_stats_send_luma()
252 struct rkisp_luma_readout_work work; in rkisp_luma_readout_task() local
256 out = kfifo_out(&vdev->rd_kfifo, &work, sizeof(work)); in rkisp_luma_readout_task()
261 if (work.readout == RKISP_ISP_READOUT_LUMA) { in rkisp_luma_readout_task()
262 rkisp_stats_send_luma(vdev, &work); in rkisp_luma_readout_task()
335 luma_vdev->work.luma[0].exp_mean[i] = readl(base + CSI2RX_Y_STAT_RO); in rkisp_luma_isr()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/boards/openocd/soc/
Dhpm6750-dual-core.cfg13 $_TARGET0 configure -work-area-phys 0x00000000 -work-area-size 0x20000 -work-area-backup 0
55 $_TARGET1 configure -work-area-phys 0x00000000 -work-area-size 0x20000 -work-area-backup 0
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
Dmali_osk.h135 void _mali_osk_wq_delete_work(_mali_osk_wq_work_t *work);
142 void _mali_osk_wq_delete_work_nonflush(_mali_osk_wq_work_t *work);
194 void _mali_osk_wq_schedule_work(_mali_osk_wq_work_t *work);
206 void _mali_osk_wq_schedule_work_high_pri(_mali_osk_wq_work_t *work);
239 void _mali_osk_wq_delayed_delete_work_nonflush(_mali_osk_wq_delayed_work_t *work);
248 void _mali_osk_wq_delayed_cancel_work_async(_mali_osk_wq_delayed_work_t *work);
256 void _mali_osk_wq_delayed_cancel_work_sync(_mali_osk_wq_delayed_work_t *work);
268 void _mali_osk_wq_delayed_schedule_work(_mali_osk_wq_delayed_work_t *work, u32 delay);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/usb/
DCOPYING.LESSER74 combined work, a derivative of the original library. The ordinary
110 "work based on the library" and a "work that uses the library". The
127 The "Library", below, refers to any such software library or work
128 which has been distributed under these terms. A "work based on the
129 Library" means either the Library or any derivative work under
130 copyright law: that is to say, a work containing the Library or a
135 "Source code" for a work means the preferred form of the work for
144 such a program is covered only if its contents constitute a work based
162 of it, thus forming a work based on the Library, and copy and
163 distribute such modifications or work under the terms of Section 1
[all …]

12345678910>>...24