Home
last modified time | relevance | path

Searched refs:response_packet_size (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_ukk_profiling.c119 if (0 != get_user(kargs.response_packet_size, &uargs->response_packet_size)) return -EFAULT; in profiling_control_set_wrapper()
125 if (kargs.control_packet_size > PAGE_SIZE || kargs.response_packet_size > PAGE_SIZE) in profiling_control_set_wrapper()
130 if (0 == kargs.response_packet_size) in profiling_control_set_wrapper()
138 kernel_response_data = _mali_osk_calloc(1, kargs.response_packet_size); in profiling_control_set_wrapper()
160response_packet_size && 0 != copy_to_user(((void *)(uintptr_t)uargs->response_packet_data), ((void… in profiling_control_set_wrapper()
166 if (0 != put_user(kargs.response_packet_size, &uargs->response_packet_size)) { in profiling_control_set_wrapper()
H A Dmali_osk_profiling.c879 output_buffer_size = args->response_packet_size; in _mali_ukk_profiling_control_set()
896 args->response_packet_size = 0; in _mali_ukk_profiling_control_set()
923 args->response_packet_size = PACKET_HEADER_SIZE; in _mali_ukk_profiling_control_set()
928 if ((args->response_packet_size + name_size + 1) > output_buffer_size) { in _mali_ukk_profiling_control_set()
933 memcpy(response_packet_data + args->response_packet_size, in _mali_ukk_profiling_control_set()
936 args->response_packet_size += (name_size + 1); in _mali_ukk_profiling_control_set()
939 args->response_packet_size += _mali_profiling_pack_int(response_packet_data, in _mali_ukk_profiling_control_set()
940 output_buffer_size, args->response_packet_size, (s32)1); in _mali_ukk_profiling_control_set()
942 args->response_packet_size += _mali_profiling_pack_int(response_packet_data, in _mali_ukk_profiling_control_set()
943 output_buffer_size, args->response_packet_size, (s32)mali_pp_get_glob_num_pp_cores()); in _mali_ukk_profiling_control_set()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/
H A Dmali_utgard_uk_types.h1101 u32 response_packet_size; /** < [in,out] The response packet data */ member