Searched refs:enum_obj (Results 1 – 2 of 2) sorted by relevance
123 static int hp_populate_enumeration_elements_from_package(union acpi_object *enum_obj, in hp_populate_enumeration_elements_from_package() argument143 switch (enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()146 ret = hp_convert_hexstr_to_str(enum_obj[elem].string.pointer, in hp_populate_enumeration_elements_from_package()147 enum_obj[elem].string.length, in hp_populate_enumeration_elements_from_package()154 int_value = (u32)enum_obj[elem].integer.value; in hp_populate_enumeration_elements_from_package()157 pr_warn("Unsupported object type [%d]\n", enum_obj[elem].type); in hp_populate_enumeration_elements_from_package()162 if (expected_enum_types[eloc] != enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()164 expected_enum_types[eloc], elem, enum_obj[elem].type); in hp_populate_enumeration_elements_from_package()215 ret = hp_convert_hexstr_to_str(enum_obj[elem + reqs].string.pointer, in hp_populate_enumeration_elements_from_package()216 enum_obj[elem + reqs].string.length, in hp_populate_enumeration_elements_from_package()[all …]
421 int hp_populate_enumeration_package_data(union acpi_object *enum_obj,