Lines Matching +full:string +full:- +full:array +full:- +full:property
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
57 const char *propname, const char *string);
79 const char *propname, const char *string);
85 if (fwnode_property_present(fwnode, "big-endian")) in fwnode_device_is_big_endian()
88 fwnode_property_present(fwnode, "native-endian")) in fwnode_device_is_big_endian()
100 * device_is_big_endian - check if a device has BE registers
103 * Returns: true if the device has a "big-endian" property, or if the kernel
104 * was compiled for BE *and* the device has a "native-endian" property.
116 * device_is_compatible - match 'compatible' property of the device with a given string
118 * @compat: The string to match 'compatible' property with
129 const char * const *array, size_t n);
134 const char * const *array, size_t n) in device_property_match_property_string() argument
136 return fwnode_property_match_property_string(dev_fwnode(dev), propname, array, n); in device_property_match_property_string()
317 * struct software_node_ref_args - Reference property with additional arguments
319 * @nargs: Number of elements in @args array
336 * struct property_entry - "Built-in" device property representation.
337 * @name: Name of the property.
339 * @is_inline: True when the property value is stored inline.
341 * @pointer: Pointer to the property when it is not stored inline.
342 * @value: Value of the property when it is stored inline.
363 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
383 __PROPERTY_ENTRY_ARRAY_LEN(_name_, str, STRING, _val_, _len_)
424 __PROPERTY_ENTRY_ELEMENT(_name_, str, STRING, _val_)
467 return fwnode_property_present(fwnode, "remote-endpoint"); in fwnode_graph_is_endpoint()
516 /* -------------------------------------------------------------------------- */
517 /* Software fwnode support - when HW description is incomplete or missing */
520 * struct software_node - Software node description
523 * @properties: Array of device properties