Lines Matching refs:enum_obj
125 static int hp_populate_enumeration_elements_from_package(union acpi_object *enum_obj, in hp_populate_enumeration_elements_from_package() argument
145 switch (enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()
148 ret = hp_convert_hexstr_to_str(enum_obj[elem].string.pointer, in hp_populate_enumeration_elements_from_package()
149 enum_obj[elem].string.length, in hp_populate_enumeration_elements_from_package()
156 int_value = (u32)enum_obj[elem].integer.value; in hp_populate_enumeration_elements_from_package()
159 pr_warn("Unsupported object type [%d]\n", enum_obj[elem].type); in hp_populate_enumeration_elements_from_package()
164 if (expected_enum_types[eloc] != enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()
166 expected_enum_types[eloc], elem, enum_obj[elem].type); in hp_populate_enumeration_elements_from_package()
218 ret = hp_convert_hexstr_to_str(enum_obj[elem + reqs].string.pointer, in hp_populate_enumeration_elements_from_package()
219 enum_obj[elem + reqs].string.length, in hp_populate_enumeration_elements_from_package()
269 ret = hp_convert_hexstr_to_str(enum_obj[elem + pos_values].string.pointer, in hp_populate_enumeration_elements_from_package()
270 enum_obj[elem + pos_values].string.length, in hp_populate_enumeration_elements_from_package()
311 int hp_populate_enumeration_package_data(union acpi_object *enum_obj, in hp_populate_enumeration_package_data() argument
319 hp_populate_enumeration_elements_from_package(enum_obj, in hp_populate_enumeration_package_data()
320 enum_obj->package.count, in hp_populate_enumeration_package_data()