Home
last modified time | relevance | path

Searched refs:n_bufs (Results 1 – 6 of 6) sorted by relevance

/drivers/video/adf/
Dadf_client.c364 struct adf_buffer *bufs, size_t n_bufs, void *custom_data, in adf_device_post() argument
377 bufs_copy = kzalloc(sizeof(bufs_copy[0]) * n_bufs, GFP_KERNEL); in adf_device_post()
389 for (i = 0; i < n_bufs; i++) { in adf_device_post()
396 memcpy(bufs_copy, bufs, sizeof(bufs_copy[0]) * n_bufs); in adf_device_post()
400 n_bufs, custom_data_copy, custom_data_size); in adf_device_post()
407 for (i = 0; i < n_bufs; i++) { in adf_device_post()
439 struct adf_buffer *bufs, size_t n_bufs, in adf_device_post_nocopy() argument
452 mappings = kzalloc(sizeof(mappings[0]) * n_bufs, GFP_KERNEL); in adf_device_post_nocopy()
460 for (i = 0; i < n_bufs; i++) { in adf_device_post_nocopy()
475 cfg->config.n_bufs = n_bufs; in adf_device_post_nocopy()
[all …]
Dadf_fops.c240 if (data.n_bufs > ADF_MAX_BUFFERS) { in adf_device_post_config()
273 if (data.n_bufs) { in adf_device_post_config()
274 bufs = kzalloc(sizeof(bufs[0]) * data.n_bufs, GFP_KERNEL); in adf_device_post_config()
281 for (i = 0; i < data.n_bufs; i++) { in adf_device_post_config()
309 bufs, data.n_bufs, custom_data, data.custom_data_size); in adf_device_post_config()
319 for (i = 0; i < data.n_bufs; i++) in adf_device_post_config()
Dadf_fops32.c38 put_user(cfg32.n_bufs, &cfg->n_bufs) || in adf_compat_post_config()
Dadf_fops32.h22 compat_size_t n_bufs; member
Dadf.c95 for (i = 0; i < post->config.n_bufs; i++) { in adf_post_cleanup()
131 for (i = 0; i < post->config.n_bufs; i++) { in adf_post_work_func()
/drivers/gpu/drm/radeon/
Dr300_cmdbuf.c913 (sizeof(u64) + header.scratch.n_bufs * sizeof(*buf_idx))) { in r300_scratch()
927 for (i=0; i < header.scratch.n_bufs; i++) { in r300_scratch()