Searched refs:type_enum (Results 1 – 3 of 3) sorted by relevance
20 if (val >= cptr->info->def.type_enum.count) return -ERANGE; in pvr2_ctrl_range_check()145 ret = cptr->info->def.type_enum.count; in pvr2_ctrl_get_cnt()193 names = cptr->info->def.type_enum.value_names; in pvr2_ctrl_get_valname()494 cptr->info->def.type_enum.value_names, in pvr2_ctrl_sym_to_value()495 cptr->info->def.type_enum.count); in pvr2_ctrl_sym_to_value()528 names = cptr->info->def.type_enum.value_names; in pvr2_ctrl_value_to_sym_internal()530 (val < cptr->info->def.type_enum.count)) { in pvr2_ctrl_value_to_sym_internal()
106 } type_enum; member
942 .def.type_enum.count = ARRAY_SIZE(tab), \943 .def.type_enum.value_names = tab2488 ciptr->def.type_enum.value_names = in pvr2_hdw_create()2492 ciptr->def.type_enum.value_names[cnt1] != NULL; in pvr2_hdw_create()2494 ciptr->def.type_enum.count = cnt1; in pvr2_hdw_create()