Lines Matching refs:enum_obj

123 static int hp_populate_enumeration_elements_from_package(union acpi_object *enum_obj,  in hp_populate_enumeration_elements_from_package()  argument
143 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()
263 ret = hp_convert_hexstr_to_str(enum_obj[elem + pos_values].string.pointer, in hp_populate_enumeration_elements_from_package()
264 enum_obj[elem + pos_values].string.length, in hp_populate_enumeration_elements_from_package()
303 int hp_populate_enumeration_package_data(union acpi_object *enum_obj, in hp_populate_enumeration_package_data() argument
311 hp_populate_enumeration_elements_from_package(enum_obj, in hp_populate_enumeration_package_data()
312 enum_obj->package.count, in hp_populate_enumeration_package_data()