Lines Matching full:property
32 * from different GUID appear in a property list of another, it will be
327 const union acpi_object *property; in acpi_properties_format_valid() local
329 property = &properties->package.elements[i]; in acpi_properties_format_valid()
334 if (property->package.count != 2 in acpi_properties_format_valid()
335 || property->package.elements[0].type != ACPI_TYPE_STRING in acpi_properties_format_valid()
336 || !acpi_property_value_ok(&property->package.elements[1])) in acpi_properties_format_valid()
481 union acpi_object *property = &properties->package.elements[i]; in acpi_data_add_buffer_props() local
485 if (property->type != ACPI_TYPE_PACKAGE || in acpi_data_add_buffer_props()
486 property->package.count != 2) { in acpi_data_add_buffer_props()
488 "buffer property %u has %u entries\n", in acpi_data_add_buffer_props()
489 i, property->package.count); in acpi_data_add_buffer_props()
493 prop = &property->package.elements[0]; in acpi_data_add_buffer_props()
494 obj = &property->package.elements[1]; in acpi_data_add_buffer_props()
634 ACPI_DT_NAMESPACE_HID " requires 'compatible' property\n"); in acpi_init_properties()
684 * acpi_data_get_property - return an ACPI property with given name
685 * @data: ACPI device deta object to get the property from
686 * @name: Name of the property
687 * @type: Expected property type
688 * @obj: Location to store the property value (if not %NULL)
690 * Look up a property with @name and store a pointer to the resulting ACPI
696 * Return: %0 if property with @name has been found (success),
698 * %-EINVAL if the property doesn't exist,
699 * %-EPROTO if the property value type doesn't match @type.
720 const union acpi_object *property; in acpi_data_get_property() local
722 property = &properties->package.elements[i]; in acpi_data_get_property()
724 propname = &property->package.elements[0]; in acpi_data_get_property()
725 propvalue = &property->package.elements[1]; in acpi_data_get_property()
742 * acpi_dev_get_property - return an ACPI property with given name.
743 * @adev: ACPI device to get the property from.
744 * @name: Name of the property.
745 * @type: Expected property type.
746 * @obj: Location to store the property value (if not %NULL).
770 * acpi_node_prop_get - return an ACPI property with given name.
771 * @fwnode: Firmware node to get the property from.
772 * @propname: Name of the property.
773 * @valptr: Location to store a pointer to the property value (if not %NULL).
784 * acpi_data_get_property_array - return an ACPI array property with given name
785 * @data: ACPI data object to get the property from
786 * @name: Name of the property
788 * @obj: Location to store a pointer to the property value (if not NULL)
790 * Look up an array property with @name and store a pointer to the resulting
796 * Return: %0 if array property (package) with @name has been found (success),
798 * %-EINVAL if the property doesn't exist,
799 * %-EPROTO if the property is not a package or the type of its elements
1071 * @fwnode: Firmware node to get the property from
1072 * @propname: Name of the property
1078 * Find property with @name, verifify that it is a package containing at least
1083 * If there's more than one reference in the property value package, @index is
1086 * It is possible to leave holes in the property value set like in the
1100 * property does not contain any more values %-ENOENT is returned. The NULL
1220 * The overflow error means that the property is there and it is in acpi_data_prop_read()
1227 * Reading this property as a single-value one failed, but its in acpi_data_prop_read()
1297 * acpi_node_prop_read - retrieve the value of an ACPI property with given name.
1298 * @fwnode: Firmware node to get the property from.
1299 * @propname: Name of the property.
1300 * @proptype: Expected property type.
1301 * @val: Location to store the property value (if not %NULL).
1305 * of the property. Otherwise, read at most @nval values to the array at the
1480 * have a "reg" property that also has the number of the in acpi_graph_get_next_endpoint()
1482 * recognised as a port node from the "port" property. in acpi_graph_get_next_endpoint()
1508 * the number of the endpoint node and they also have a "reg" property in acpi_graph_get_next_endpoint()
1511 * "endpoint" property. in acpi_graph_get_next_endpoint()
1520 * acpi_graph_get_child_prop_value - Return a child with a given property value
1522 * @prop_name: The name of the property to look for
1523 * @val: the desired property value