Home
last modified time | relevance | path

Searched refs:user_data (Results 1 – 25 of 205) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/include/trace/events/
H A Dio_uring.h177 TP_PROTO(void *ctx, void *req, unsigned long long user_data),
179 TP_ARGS(ctx, req, user_data),
190 __entry->data = user_data;
298 TP_PROTO(void *ctx, u64 user_data, int res, unsigned cflags),
300 TP_ARGS(ctx, user_data, res, cflags),
304 __field( u64, user_data )
311 __entry->user_data = user_data;
317 __entry->ctx, (unsigned long long)__entry->user_data,
337 TP_PROTO(void *ctx, void *req, u8 opcode, u64 user_data, u32 flags,
340 TP_ARGS(ctx, req, opcode, user_data, flags, force_nonblock, sq_thread),
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/zlmediakit/include/
H A Dmk_media.h163 typedef void(API_CALL *on_mk_media_close)(void *user_data);
173 API_EXPORT void API_CALL mk_media_set_on_close(mk_media ctx, on_mk_media_close cb, void *user_data);
181 typedef int(API_CALL *on_mk_media_seek)(void *user_data,uint32_t stamp_ms);
188 typedef int(API_CALL* on_mk_media_pause)(void* user_data, int pause);
195 typedef int(API_CALL* on_mk_media_speed)(void* user_data, float speed);
203 API_EXPORT void API_CALL mk_media_set_on_seek(mk_media ctx, on_mk_media_seek cb, void *user_data);
211 API_EXPORT void API_CALL mk_media_set_on_pause(mk_media ctx, on_mk_media_pause cb, void* user_data);
219 API_EXPORT void API_CALL mk_media_set_on_speed(mk_media ctx, on_mk_media_speed cb, void* user_data);
234 typedef void(API_CALL *on_mk_media_source_regist)(void *user_data, mk_media_source sender, int regi…
242 … void API_CALL mk_media_set_on_regist(mk_media ctx, on_mk_media_source_regist cb, void *user_data);
[all …]
H A Dmk_thread.h81 typedef void (API_CALL *on_mk_async)(void *user_data);
89 API_EXPORT void API_CALL mk_async_do(mk_thread ctx, on_mk_async cb, void *user_data);
98 …_EXPORT void API_CALL mk_async_do_delay(mk_thread ctx, size_t ms, on_mk_async cb, void *user_data);
106 API_EXPORT void API_CALL mk_sync_do(mk_thread ctx, on_mk_async cb, void *user_data);
115 typedef uint64_t (API_CALL *on_mk_timer)(void *user_data);
125 …_timer API_CALL mk_timer_create(mk_thread ctx, uint64_t delay_ms, on_mk_timer cb, void *user_data);
H A Dmk_rtp_server.h31 typedef void(API_CALL *on_mk_rtp_server_connected)(void *user_data, int err, const char *what, int …
42 …erver ctx, const char *dst_url, uint16_t dst_port, on_mk_rtp_server_connected cb, void *user_data);
61 typedef void(API_CALL *on_mk_rtp_server_detach)(void *user_data);
69 …I_CALL mk_rtp_server_set_on_detach(mk_rtp_server ctx, on_mk_rtp_server_detach cb, void *user_data);
H A Dmk_httpclient.h31 typedef void(API_CALL *on_mk_download_complete)(void *user_data, int code, const char *err_msg, con…
53 …tp_downloader ctx, const char *url, const char *file, on_mk_download_complete cb, void *user_data);
70 typedef void(API_CALL *on_mk_http_requester_complete)(void *user_data, int code, const char *err_ms…
145 … mk_http_requester_set_cb(mk_http_requester ctx,on_mk_http_requester_complete cb, void *user_data);
H A Dmk_pusher.h29 typedef void(API_CALL *on_mk_push_event)(void *user_data,int err_code,const char *err_msg);
81 …_EXPORT void API_CALL mk_pusher_set_on_result(mk_pusher ctx, on_mk_push_event cb, void *user_data);
89 …XPORT void API_CALL mk_pusher_set_on_shutdown(mk_pusher ctx, on_mk_push_event cb, void *user_data);
H A Dmk_player.h32 typedef void(API_CALL *on_mk_play_event)(void *user_data, int err_code, const char *err_msg, mk_tra…
96 …_EXPORT void API_CALL mk_player_set_on_result(mk_player ctx, on_mk_play_event cb, void *user_data);
104 …XPORT void API_CALL mk_player_set_on_shutdown(mk_player ctx, on_mk_play_event cb, void *user_data);
H A Dmk_events_objects.h84 typedef void(API_CALL *on_mk_media_source_find_cb)(void *user_data, const mk_media_source ctx);
119 typedef void(API_CALL *on_mk_media_source_send_rtp_result)(void *user_data, uint16_t local_port, in…
122 …_t dst_port, const char *ssrc, int is_udp, on_mk_media_source_send_rtp_result cb, void *user_data);
132 void *user_data,
135 API_EXPORT void API_CALL mk_media_source_for_each(void *user_data, on_mk_media_source_find_cb cb, c…
/OK3568_Linux_fs/kernel/drivers/android/
H A Dbinder_alloc.c65 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size()
66 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size()
116 if (new_buffer->user_data < buffer->user_data) in binder_insert_allocated_buffer_locked()
118 else if (new_buffer->user_data > buffer->user_data) in binder_insert_allocated_buffer_locked()
141 if (uptr < buffer->user_data) in binder_alloc_prepare_to_free_locked()
143 else if (uptr > buffer->user_data) in binder_alloc_prepare_to_free_locked()
498 (((uintptr_t)buffer->user_data + buffer_size) & PAGE_MASK); in binder_alloc_new_buf_locked()
501 (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in binder_alloc_new_buf_locked()
505 PAGE_ALIGN((uintptr_t)buffer->user_data), end_page_addr); in binder_alloc_new_buf_locked()
518 new_buffer->user_data = (u8 __user *)buffer->user_data + size; in binder_alloc_new_buf_locked()
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dgconf.c263 const gchar * new_text, gpointer user_data);
415 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data);
417 gpointer user_data) in on_window1_delete_event() argument
461 void on_window1_destroy(GtkObject * object, gpointer user_data) in on_window1_destroy() argument
469 GtkRequisition * requisition, gpointer user_data) in on_window1_size_request() argument
491 load_filename(GtkFileSelection * file_selector, gpointer user_data) in load_filename() argument
496 (user_data)); in load_filename()
504 void on_load1_activate(GtkMenuItem * menuitem, gpointer user_data) in on_load1_activate() argument
524 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data) in on_save_activate() argument
532 store_filename(GtkFileSelection * file_selector, gpointer user_data) in store_filename() argument
[all …]
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dgconf.c262 const gchar * new_text, gpointer user_data);
414 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data);
416 gpointer user_data) in on_window1_delete_event() argument
460 void on_window1_destroy(GtkObject * object, gpointer user_data) in on_window1_destroy() argument
468 GtkRequisition * requisition, gpointer user_data) in on_window1_size_request() argument
490 load_filename(GtkFileSelection * file_selector, gpointer user_data) in load_filename() argument
495 (user_data)); in load_filename()
503 void on_load1_activate(GtkMenuItem * menuitem, gpointer user_data) in on_load1_activate() argument
523 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data) in on_save_activate() argument
532 store_filename(GtkFileSelection * file_selector, gpointer user_data) in store_filename() argument
[all …]
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dgconf.c263 const gchar * new_text, gpointer user_data);
415 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data);
417 gpointer user_data) in on_window1_delete_event() argument
461 void on_window1_destroy(GtkObject * object, gpointer user_data) in on_window1_destroy() argument
469 GtkRequisition * requisition, gpointer user_data) in on_window1_size_request() argument
491 load_filename(GtkFileSelection * file_selector, gpointer user_data) in load_filename() argument
496 (user_data)); in load_filename()
504 void on_load1_activate(GtkMenuItem * menuitem, gpointer user_data) in on_load1_activate() argument
524 void on_save_activate(GtkMenuItem * menuitem, gpointer user_data) in on_save_activate() argument
532 store_filename(GtkFileSelection * file_selector, gpointer user_data) in store_filename() argument
[all …]
/OK3568_Linux_fs/kernel/sound/soc/atmel/
H A Dmchp-spdifrx.c225 struct mchp_spdifrx_user_data user_data[SPDIFRX_CHANNELS]; member
265 u8 *user_data = &ctrl->user_data[channel].data[0]; in mchp_spdifrx_channel_user_data_read() local
269 for (i = 0; i < ARRAY_SIZE(ctrl->user_data[channel].data) / 4; i++) { in mchp_spdifrx_channel_user_data_read()
271 *user_data++ = val & 0xFF; in mchp_spdifrx_channel_user_data_read()
272 *user_data++ = (val >> 8) & 0xFF; in mchp_spdifrx_channel_user_data_read()
273 *user_data++ = (val >> 16) & 0xFF; in mchp_spdifrx_channel_user_data_read()
274 *user_data++ = (val >> 24) & 0xFF; in mchp_spdifrx_channel_user_data_read()
323 spin_lock(&ctrl->user_data[ch].lock); in mchp_spdif_interrupt()
325 spin_unlock(&ctrl->user_data[ch].lock); in mchp_spdif_interrupt()
327 complete(&ctrl->user_data[ch].done); in mchp_spdif_interrupt()
[all …]
H A Dmchp-spdiftx.c187 unsigned char user_data[SPDIFTX_UD_BITS / 8]; member
232 for (i = 0; i < ARRAY_SIZE(ctrl->user_data) / 4; i++) { in mchp_spdiftx_user_data_write()
233 val = (ctrl->user_data[(i * 4) + 0] << 0) | in mchp_spdiftx_user_data_write()
234 (ctrl->user_data[(i * 4) + 1] << 8) | in mchp_spdiftx_user_data_write()
235 (ctrl->user_data[(i * 4) + 2] << 16) | in mchp_spdiftx_user_data_write()
236 (ctrl->user_data[(i * 4) + 3] << 24); in mchp_spdiftx_user_data_write()
639 memcpy(uvalue->value.iec958.subcode, ctrl->user_data, in mchp_spdiftx_subcode_get()
640 sizeof(ctrl->user_data)); in mchp_spdiftx_subcode_get()
657 for (i = 0; i < ARRAY_SIZE(ctrl->user_data); i++) { in mchp_spdiftx_subcode_put()
658 if (ctrl->user_data[i] != uvalue->value.iec958.subcode[i]) in mchp_spdiftx_subcode_put()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/connman/connman/
H A DCVE-2022-32293_p2.patch100 @@ -753,6 +753,7 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
108 @@ -770,6 +771,7 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
116 @@ -781,11 +783,14 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
132 @@ -798,6 +803,7 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
140 @@ -808,6 +814,7 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
148 @@ -820,6 +827,7 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
156 @@ -832,6 +840,7 @@ static bool wispr_portal_web_result(GWebResult *result, gpointer user_data)
164 @@ -890,6 +899,7 @@ static void proxy_callback(const char *proxy, void *user_data)
171 static gboolean no_proxy_callback(gpointer user_data)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-gnome/recipes-gnome/rest/files/
H A D0002-Port-to-libsoup3.patch109 gpointer user_data;
142 closure->user_data = user_data;
158 gpointer user_data)
161 (YoutubeProxyUploadClosure *) user_data;
197 error, closure->weak_object, closure->user_data);
314 user_data);
351 + gpointer user_data);
363 gpointer user_data);
376 + gpointer user_data);
824 gpointer user_data)
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_gem.c285 shmem_pread(struct page *page, int offset, int len, char __user *user_data, in shmem_pread() argument
296 ret = __copy_to_user(user_data, vaddr + offset, len); in shmem_pread()
310 char __user *user_data; in i915_gem_shmem_pread() local
332 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_shmem_pread()
338 ret = shmem_pread(page, offset, length, user_data, in i915_gem_shmem_pread()
344 user_data += length; in i915_gem_shmem_pread()
355 char __user *user_data, int length) in gtt_user_read() argument
362 unwritten = __copy_to_user_inatomic(user_data, in gtt_user_read()
368 unwritten = copy_to_user(user_data, in gtt_user_read()
385 void __user *user_data; in i915_gem_gtt_pread() local
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-gnome/recipes-gnome/gnome-online-accounts/files/
H A D0001-Update-to-rest-1.0.patch35 @@ -483,18 +483,18 @@ add_account_cb (GoaManager *manager, GAsyncResult *res, gpointer user_data)
42 gpointer user_data)
44 AddAccountData *data = user_data;
67 - gpointer user_data)
73 + gpointer user_data)
75 AddAccountData *data = user_data;
112 …_proxy_call_cb (RestProxyCall *call, const GError *error, GObject *weak_object, gpointer user_data)
113 +rest_proxy_call_cb (GObject *source, GAsyncResult *result, gpointer user_data)
116 IdentifyData *data = user_data;
/OK3568_Linux_fs/u-boot/lib/avb/libavb/
H A Davb_descriptor.c44 void* user_data) { in avb_descriptor_foreach() argument
110 if (foreach_func(dh, user_data) == 0) { in avb_descriptor_foreach()
127 void* user_data) { in count_descriptors() argument
128 size_t* num_descriptors = user_data; in count_descriptors()
138 static bool set_descriptors(const AvbDescriptor* descriptor, void* user_data) { in set_descriptors() argument
139 SetDescriptorData* data = user_data; in set_descriptors()
/OK3568_Linux_fs/kernel/arch/xtensa/kernel/
H A Dptrace.c420 u32 user_data[2] = {0}; in ptrace_gethbpregs() local
434 user_data[0] = bp->attr.bp_addr; in ptrace_gethbpregs()
435 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs()
438 user_data[1] |= DBREAKC_LOAD_MASK; in ptrace_gethbpregs()
440 user_data[1] |= DBREAKC_STOR_MASK; in ptrace_gethbpregs()
444 if (copy_to_user(datap, user_data, sizeof(user_data))) in ptrace_gethbpregs()
455 u32 user_data[2]; in ptrace_sethbpregs() local
464 if (copy_from_user(user_data, datap, sizeof(user_data))) in ptrace_sethbpregs()
469 if (user_data[1] & DBREAKC_LOAD_MASK) in ptrace_sethbpregs()
471 if (user_data[1] & DBREAKC_STOR_MASK) in ptrace_sethbpregs()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/
H A Dmali_kbase_hwcnt_watchdog_if_timer.c45 void *user_data; member
61 info->callback(info->user_data); in kbasep_hwcnt_watchdog_callback()
66 kbase_hwcnt_watchdog_callback_fn *const callback, void *const user_data) in kbasep_hwcnt_watchdog_if_timer_enable() argument
74 timer_info->user_data = user_data; in kbasep_hwcnt_watchdog_if_timer_enable()
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/jpeg/
H A Djpege_api_v2.c551 const RK_U8 *user_data = data; in jpege_add_Prefix() local
556 if ((size > 8) && user_data[0] == 0xFF && user_data[1] == 0xE1 && in jpege_add_Prefix()
557 user_data[4] == 0x45 && user_data[5] == 0x78 && in jpege_add_Prefix()
558 user_data[6] == 0x69 && user_data[7] == 0x66) { in jpege_add_Prefix()
560 } else if ((size > 8) && user_data[0] == 0xFF && user_data[1] == 0xE2 && in jpege_add_Prefix()
561 user_data[4] == 0x4D && user_data[5] == 0x50 && in jpege_add_Prefix()
562 user_data[6] == 0x46 && user_data[7] == 0x00) { in jpege_add_Prefix()
573 mpp_writer_put_raw_bits(bits, user_data[i], 8); in jpege_add_Prefix()
/OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/
H A Dcrypto_hash_cache.c44 ret = direct_calc(hash_cache->user_data, in hash_cache_calc()
63 ret = direct_calc(hash_cache->user_data, hash_cache->cache, in hash_cache_calc()
93 void *user_data, u32 total, in crypto_hash_cache_alloc() argument
108 hash_cache->user_data = user_data; in crypto_hash_cache_alloc()
170 ret = direct_calc(hash_cache->user_data, in crypto_hash_update_with_cache()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dsndfile.c54 … SNDFILE*, sf_open_virtual, (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data))
212 static sf_count_t vio_get_filelen(void *user_data) in vio_get_filelen() argument
214 sox_format_t *ft = (sox_format_t *)user_data; in vio_get_filelen()
219 return (sf_count_t)lsx_filelength((sox_format_t *)user_data); in vio_get_filelen()
222 static sf_count_t vio_seek(sf_count_t offset, int whence, void *user_data) in vio_seek() argument
224 return lsx_seeki((sox_format_t *)user_data, (off_t)offset, whence); in vio_seek()
227 static sf_count_t vio_read(void *ptr, sf_count_t count, void *user_data) in vio_read() argument
229 return lsx_readbuf((sox_format_t *)user_data, ptr, (size_t)count); in vio_read()
232 static sf_count_t vio_write(const void *ptr, sf_count_t count, void *user_data) in vio_write() argument
234 return lsx_writebuf((sox_format_t *)user_data, ptr, (size_t)count); in vio_write()
[all …]
/OK3568_Linux_fs/kernel/fs/coda/
H A Dpioctl.c29 unsigned long user_data);
49 unsigned long user_data) in coda_pioctl() argument
59 if (copy_from_user(&data, (void __user *)user_data, sizeof(data))) in coda_pioctl()

123456789