Lines Matching defs:object

137  * PARAMETERS:  type                - An ACPI object type
139 * RETURN: Decoded ACPI object type name
156 /* Printable names of the ACPI object types */
216 "Invalid object descriptor type: 0x%2.2X [%s] (%p)\n",
221 return_STR("Invalid object");
231 * PARAMETERS: object - A namespace node
239 const char *acpi_ut_get_node_name(void *object)
241 struct acpi_namespace_node *node = (struct acpi_namespace_node *)object;
245 if (!object) {
251 if ((object == ACPI_ROOT_OBJECT) || (object == acpi_gbl_root_node)) {
276 * PARAMETERS: object - An ACPI object
280 * DESCRIPTION: Validate object and return the descriptor type
284 /* Printable names of object descriptor types */
305 const char *acpi_ut_get_descriptor_name(void *object)
308 if (!object) {
312 if (ACPI_GET_DESCRIPTOR_TYPE(object) > ACPI_DESC_TYPE_MAX) {
316 return (acpi_gbl_desc_type_names[ACPI_GET_DESCRIPTOR_TYPE(object)]);
323 * PARAMETERS: object - An ACPI reference object
327 * DESCRIPTION: Decode a reference object sub-type to a string.
331 /* Printable names of reference object sub-types */
343 const char *acpi_ut_get_reference_name(union acpi_operand_object *object)
346 if (!object) {
350 if (ACPI_GET_DESCRIPTOR_TYPE(object) != ACPI_DESC_TYPE_OPERAND) {
351 return ("Not an Operand object");
354 if (object->common.type != ACPI_TYPE_LOCAL_REFERENCE) {
355 return ("Not a Reference object");
358 if (object->reference.class > ACPI_REFCLASS_MAX) {
362 return (acpi_gbl_ref_class_names[object->reference.class]);
467 /* 00 - 0F are "common to all object types" (from ACPI Spec) */
479 /* 80 - 84 are per-object-type */
494 return ("Target object type does not support notifies");
564 * RETURN: TRUE if valid object type, FALSE otherwise
566 * DESCRIPTION: Validate an object type