Lines Matching refs:function_id
118 boolean vlGetFuncFTAB(VdpFuncId function_id, void **func) in vlGetFuncFTAB() argument
123 if (function_id < VDP_FUNC_ID_BASE_WINSYS) { in vlGetFuncFTAB()
124 if (function_id < ARRAY_SIZE(ftab)) in vlGetFuncFTAB()
125 *func = ftab[function_id]; in vlGetFuncFTAB()
127 } else if (function_id < VDP_FUNC_ID_BASE_DRIVER) { in vlGetFuncFTAB()
128 function_id -= VDP_FUNC_ID_BASE_WINSYS; in vlGetFuncFTAB()
129 if (function_id < ARRAY_SIZE(ftab_winsys)) in vlGetFuncFTAB()
130 *func = ftab_winsys[function_id]; in vlGetFuncFTAB()
133 function_id -= VDP_FUNC_ID_BASE_DRIVER; in vlGetFuncFTAB()
134 if (function_id < ARRAY_SIZE(ftab_driver)) in vlGetFuncFTAB()
135 *func = ftab_driver[function_id]; in vlGetFuncFTAB()