Lines Matching full:property

3  * property.c - Unified device property interface.
17 #include <linux/property.h>
28 * device_property_present - check if a property of a device is present
29 * @dev: Device whose property is being checked
30 * @propname: Name of the property
32 * Check if property @propname is present in the device firmware description.
41 * fwnode_property_present - check if a property of a firmware node is present
42 * @fwnode: Firmware node whose property to check
43 * @propname: Name of the property
62 * device_property_read_u8_array - return a u8 array property of a device
63 * @dev: Device to get the property of
64 * @propname: Name of the property
75 * %0 if the property was found (success),
77 * %-ENODATA if the property does not have a value,
78 * %-EPROTO if the property is not an array of numbers,
79 * %-EOVERFLOW if the size of the property is not as expected.
90 * device_property_read_u16_array - return a u16 array property of a device
91 * @dev: Device to get the property of
92 * @propname: Name of the property
103 * %0 if the property was found (success),
105 * %-ENODATA if the property does not have a value,
106 * %-EPROTO if the property is not an array of numbers,
107 * %-EOVERFLOW if the size of the property is not as expected.
118 * device_property_read_u32_array - return a u32 array property of a device
119 * @dev: Device to get the property of
120 * @propname: Name of the property
131 * %0 if the property was found (success),
133 * %-ENODATA if the property does not have a value,
134 * %-EPROTO if the property is not an array of numbers,
135 * %-EOVERFLOW if the size of the property is not as expected.
146 * device_property_read_u64_array - return a u64 array property of a device
147 * @dev: Device to get the property of
148 * @propname: Name of the property
159 * %0 if the property was found (success),
161 * %-ENODATA if the property does not have a value,
162 * %-EPROTO if the property is not an array of numbers,
163 * %-EOVERFLOW if the size of the property is not as expected.
174 * device_property_read_string_array - return a string array property of device
175 * @dev: Device to get the property of
176 * @propname: Name of the property
189 * %-ENODATA if the property does not have a value,
190 * %-EPROTO or %-EILSEQ if the property is not an array of strings,
191 * %-EOVERFLOW if the size of the property is not as expected.
202 * device_property_read_string - return a string property of a device
203 * @dev: Device to get the property of
204 * @propname: Name of the property
207 * Function reads property @propname from the device firmware description and
210 * Return: %0 if the property was found (success),
212 * %-ENODATA if the property does not have a value,
213 * %-EPROTO or %-EILSEQ if the property type is not a string.
225 * @dev: Device to get the property of
226 * @propname: Name of the property holding the array
232 * Return: index, starting from %0, if the property was found (success),
234 * %-ENODATA if the property does not have a value,
235 * %-EPROTO if the property is not an array of strings,
265 * fwnode_property_read_u8_array - return a u8 array property of firmware node
266 * @fwnode: Firmware node to get the property of
267 * @propname: Name of the property
278 * %0 if the property was found (success),
280 * %-ENODATA if the property does not have a value,
281 * %-EPROTO if the property is not an array of numbers,
282 * %-EOVERFLOW if the size of the property is not as expected,
294 * fwnode_property_read_u16_array - return a u16 array property of firmware node
295 * @fwnode: Firmware node to get the property of
296 * @propname: Name of the property
307 * %0 if the property was found (success),
309 * %-ENODATA if the property does not have a value,
310 * %-EPROTO if the property is not an array of numbers,
311 * %-EOVERFLOW if the size of the property is not as expected,
323 * fwnode_property_read_u32_array - return a u32 array property of firmware node
324 * @fwnode: Firmware node to get the property of
325 * @propname: Name of the property
336 * %0 if the property was found (success),
338 * %-ENODATA if the property does not have a value,
339 * %-EPROTO if the property is not an array of numbers,
340 * %-EOVERFLOW if the size of the property is not as expected,
352 * fwnode_property_read_u64_array - return a u64 array property firmware node
353 * @fwnode: Firmware node to get the property of
354 * @propname: Name of the property
365 * %0 if the property was found (success),
367 * %-ENODATA if the property does not have a value,
368 * %-EPROTO if the property is not an array of numbers,
369 * %-EOVERFLOW if the size of the property is not as expected,
381 * fwnode_property_read_string_array - return string array property of a node
382 * @fwnode: Firmware node to get the property of
383 * @propname: Name of the property
387 * Read an string list property @propname from the given firmware node and store
396 * %-ENODATA if the property does not have a value,
397 * %-EPROTO or %-EILSEQ if the property is not an array of strings,
398 * %-EOVERFLOW if the size of the property is not as expected,
421 * fwnode_property_read_string - return a string property of a firmware node
422 * @fwnode: Firmware node to get the property of
423 * @propname: Name of the property
426 * Read property @propname from the given firmware node and store the value into
429 * Return: %0 if the property was found (success),
431 * %-ENODATA if the property does not have a value,
432 * %-EPROTO or %-EILSEQ if the property is not a string,
446 * @fwnode: Firmware node to get the property of
447 * @propname: Name of the property holding the array
453 * Return: index, starting from %0, if the property was found (success),
455 * %-ENODATA if the property does not have a value,
456 * %-EPROTO if the property is not an array of strings,
492 * @prop: The name of the property
493 * @nargs_prop: The name of the property telling the number of
500 * Obtain a reference based on a named property in an fwnode, with
508 * reference or the property was not found
886 * The function gets phy interface string from property 'phy-mode' or
914 * The function gets phy interface string from property 'phy-mode' or