Home
last modified time | relevance | path

Searched refs:func_index (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/glx/
H A Dindirect_util.c241 unsigned func_index; in get_decode_index() local
249 func_index = -index; in get_decode_index()
250 func_index += opcode & ((1 << next_remain) - 1); in get_decode_index()
251 return func_index; in get_decode_index()
264 const int func_index = get_decode_index(dispatch_info, opcode); in __glXGetProtocolDecodeFunction() local
266 return (func_index < 0) in __glXGetProtocolDecodeFunction()
269 dispatch_functions[func_index][swapped_version]; in __glXGetProtocolDecodeFunction()
277 const int func_index = get_decode_index(dispatch_info, opcode); in __glXGetProtocolSizeData() local
279 if ((func_index >= 0) in __glXGetProtocolSizeData()
280 && (dispatch_info->size_table[func_index][0] != 0)) { in __glXGetProtocolSizeData()
[all …]
/OK3568_Linux_fs/kernel/drivers/counter/
H A Dcounter.c766 size_t func_index; in counter_function_show() local
769 err = counter->ops->function_get(counter, count, &func_index); in counter_function_show()
773 count->function = func_index; in counter_function_show()
775 function = count->functions_list[func_index]; in counter_function_show()
787 size_t func_index; in counter_function_store() local
793 for (func_index = 0; func_index < num_functions; func_index++) { in counter_function_store()
794 function = count->functions_list[func_index]; in counter_function_store()
799 if (func_index >= num_functions) in counter_function_store()
802 err = counter->ops->function_set(counter, count, func_index); in counter_function_store()
806 count->function = func_index; in counter_function_store()