Home
last modified time | relevance | path

Searched refs:copy_pos (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp_ta.c149 uint32_t copy_pos = 0; in ta_if_load_debugfs_write() local
159 ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t)); in ta_if_load_debugfs_write()
163 copy_pos += sizeof(uint32_t); in ta_if_load_debugfs_write()
165 ret = copy_from_user((void *)&ta_bin_len, &buf[copy_pos], sizeof(uint32_t)); in ta_if_load_debugfs_write()
169 copy_pos += sizeof(uint32_t); in ta_if_load_debugfs_write()
174 if (copy_from_user((void *)ta_bin, &buf[copy_pos], ta_bin_len)) { in ta_if_load_debugfs_write()
248 uint32_t copy_pos = 0; in ta_if_unload_debugfs_write() local
258 ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t)); in ta_if_unload_debugfs_write()
262 copy_pos += sizeof(uint32_t); in ta_if_unload_debugfs_write()
264 ret = copy_from_user((void *)&ta_id, &buf[copy_pos], sizeo in ta_if_unload_debugfs_write()
297 uint32_t copy_pos = 0; ta_if_invoke_debugfs_write() local
[all...]

Completed in 1 milliseconds