Searched refs:enum_obj (Results 1 – 2 of 2) sorted by relevance
126 static int hp_populate_enumeration_elements_from_package(union acpi_object *enum_obj, in hp_populate_enumeration_elements_from_package() argument146 switch (enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()149 ret = hp_convert_hexstr_to_str(enum_obj[elem].string.pointer, in hp_populate_enumeration_elements_from_package()150 enum_obj[elem].string.length, in hp_populate_enumeration_elements_from_package()157 int_value = (u32)enum_obj[elem].integer.value; in hp_populate_enumeration_elements_from_package()160 pr_warn("Unsupported object type [%d]\n", enum_obj[elem].type); in hp_populate_enumeration_elements_from_package()165 if (expected_enum_types[eloc] != enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()167 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()[all …]
423 int hp_populate_enumeration_package_data(union acpi_object *enum_obj,