Searched defs:custom_data (Results 1 - 4 of 4) sorted by relevance

/drivers/input/
H A Dinput-compat.h49 compat_uptr_t custom_data; member in struct:ff_periodic_effect_compat
/drivers/video/adf/
H A Dadf_fops32.h26 compat_uptr_t custom_data; member in struct:adf_post_config32
41 compat_uptr_t custom_data; member in struct:adf_device_data32
62 compat_uptr_t custom_data; member in struct:adf_interface_data32
72 compat_uptr_t custom_data; member in struct:adf_overlay_engine_data32
H A Dadf_client.c351 * @custom_data: driver-private data
354 * adf_device_post() will copy @intfs, @bufs, and @custom_data, so they may
364 struct adf_buffer *bufs, size_t n_bufs, void *custom_data,
397 memcpy(custom_data_copy, custom_data, custom_data_size);
424 * except ADF does not copy @intfs, @bufs, or @custom_data, and it does
427 * @intfs, @bufs, and @custom_data must point to buffers allocated by
440 void *custom_data, size_t custom_data_size)
478 cfg->config.custom_data = custom_data;
785 void *custom_data local
362 adf_device_post(struct adf_device *dev, struct adf_interface **intfs, size_t n_intfs, struct adf_buffer *bufs, size_t n_bufs, void *custom_data, size_t custom_data_size) argument
437 adf_device_post_nocopy(struct adf_device *dev, struct adf_interface **intfs, size_t n_intfs, struct adf_buffer *bufs, size_t n_bufs, void *custom_data, size_t custom_data_size) argument
[all...]
H A Dadf_fops.c75 void *custom_data; local
79 if (!obj->ops || !obj->ops->custom_data) {
80 dev_dbg(&obj->dev, "%s: no custom_data op\n", __func__);
84 custom_data = kzalloc(ADF_MAX_CUSTOM_DATA_SIZE, GFP_KERNEL);
85 if (!custom_data)
88 ret = obj->ops->custom_data(obj, custom_data, &custom_data_size);
92 if (copy_to_user(dst, custom_data, min(*dst_size, custom_data_size))) {
99 kfree(custom_data);
135 ret = adf_obj_copy_custom_data_to_user(&eng->base, arg->custom_data,
224 void *custom_data = NULL; local
[all...]

Completed in 74 milliseconds