Lines Matching full:property
29 * from different GUID appear in a property list of another, it will be
272 const union acpi_object *property; in acpi_properties_format_valid() local
274 property = &properties->package.elements[i]; in acpi_properties_format_valid()
279 if (property->package.count != 2 in acpi_properties_format_valid()
280 || property->package.elements[0].type != ACPI_TYPE_STRING in acpi_properties_format_valid()
281 || !acpi_property_value_ok(&property->package.elements[1])) in acpi_properties_format_valid()
427 ACPI_DT_NAMESPACE_HID " requires 'compatible' property\n"); in acpi_init_properties()
464 * acpi_data_get_property - return an ACPI property with given name
465 * @data: ACPI device deta object to get the property from
466 * @name: Name of the property
467 * @type: Expected property type
468 * @obj: Location to store the property value (if not %NULL)
470 * Look up a property with @name and store a pointer to the resulting ACPI
476 * Return: %0 if property with @name has been found (success),
478 * %-EINVAL if the property doesn't exist,
479 * %-EPROTO if the property value type doesn't match @type.
500 const union acpi_object *property; in acpi_data_get_property() local
502 property = &properties->package.elements[i]; in acpi_data_get_property()
504 propname = &property->package.elements[0]; in acpi_data_get_property()
505 propvalue = &property->package.elements[1]; in acpi_data_get_property()
522 * acpi_dev_get_property - return an ACPI property with given name.
523 * @adev: ACPI device to get the property from.
524 * @name: Name of the property.
525 * @type: Expected property type.
526 * @obj: Location to store the property value (if not %NULL).
549 * acpi_node_prop_get - return an ACPI property with given name.
550 * @fwnode: Firmware node to get the property from.
551 * @propname: Name of the property.
552 * @valptr: Location to store a pointer to the property value (if not %NULL).
563 * acpi_data_get_property_array - return an ACPI array property with given name
564 * @adev: ACPI data object to get the property from
565 * @name: Name of the property
567 * @obj: Location to store a pointer to the property value (if not NULL)
569 * Look up an array property with @name and store a pointer to the resulting
575 * Return: %0 if array property (package) with @name has been found (success),
577 * %-EINVAL if the property doesn't exist,
578 * %-EPROTO if the property is not a package or the type of its elements
638 * @fwnode: Firmware node to get the property from
639 * @propname: Name of the property
644 * Find property with @name, verifify that it is a package containing at least
649 * If there's more than one reference in the property value package, @index is
652 * It is possible to leave holes in the property value set like in the
666 * property does not contain any more values %-ENOENT is returned. The NULL
990 * acpi_node_prop_read - retrieve the value of an ACPI property with given name.
991 * @fwnode: Firmware node to get the property from.
992 * @propname: Name of the property.
993 * @proptype: Expected property type.
994 * @val: Location to store the property value (if not %NULL).
998 * of the property. Otherwise, read at most @nval values to the array at the
1153 * have a "reg" property that also has the number of the in acpi_graph_get_next_endpoint()
1155 * recognised as a port node from the "port" property. in acpi_graph_get_next_endpoint()
1178 * the number of the endpoint node and they also have a "reg" property in acpi_graph_get_next_endpoint()
1181 * "endpoint" property. in acpi_graph_get_next_endpoint()
1190 * acpi_graph_get_child_prop_value - Return a child with a given property value
1192 * @prop_name: The name of the property to look for
1193 * @val: the desired property value