Lines Matching full:value

44 	 * length, or the phandle value was either 0 or -1, which are
85 * or similar property with a bad format or value */
89 * value. For example: a property expected to contain a string list
90 * is not NUL-terminated within the length of its value. */
95 * unexpected or missing value, property or node. */
144 static inline void fdt32_st(void *property, uint32_t value) in fdt32_st() argument
148 bp[0] = value >> 24; in fdt32_st()
149 bp[1] = (value >> 16) & 0xff; in fdt32_st()
150 bp[2] = (value >> 8) & 0xff; in fdt32_st()
151 bp[3] = value & 0xff; in fdt32_st()
168 static inline void fdt64_st(void *property, uint64_t value) in fdt64_st() argument
172 bp[0] = value >> 56; in fdt64_st()
173 bp[1] = (value >> 48) & 0xff; in fdt64_st()
174 bp[2] = (value >> 40) & 0xff; in fdt64_st()
175 bp[3] = (value >> 32) & 0xff; in fdt64_st()
176 bp[4] = (value >> 24) & 0xff; in fdt64_st()
177 bp[5] = (value >> 16) & 0xff; in fdt64_st()
178 bp[6] = (value >> 8) & 0xff; in fdt64_st()
179 bp[7] = value & 0xff; in fdt64_st()
365 * @phandle: return location for the highest phandle value found in the tree
367 * fdt_find_max_phandle() finds the highest phandle value in the given device
368 * tree. The value returned in @phandle is only valid if the function returns
382 * with a value of 0 or -1.
408 * Walks the device tree blob and looks for the highest phandle value. On
409 * success, the new, unused phandle value (one higher than the previously
410 * highest phandle value in the device tree blob) will be returned in the
502 * Return: offset of the node or negative libfdt error value otherwise
634 * offset. If lenp is non-NULL, the length of the property value is
643 * value (>=0)
688 * non-NULL, the length of the property value is also returned, in the
694 * value (>=0)
717 * fdt_getprop_by_offset - retrieve the value of a property at a given offset
723 * fdt_getprop_by_offset() retrieves a pointer to the value of the
725 * to within the device blob itself, not a copy of the value). If
726 * lenp is non-NULL, the length of the property value is also
733 * pointer to the property's value
735 * value (>=0)
753 * fdt_getprop_namelen - get property value based on substring
763 * Return: pointer to the property's value or NULL on error
778 * fdt_getprop - retrieve the value of a given property
784 * fdt_getprop() retrieves a pointer to the value of the property
786 * pointer to within the device blob itself, not a copy of the value).
787 * If @lenp is non-NULL, the length of the property value is also
791 * pointer to the property's value
793 * value (>=0)
849 * fdt_get_alias() retrieves the value of a given alias. That is, the
850 * value of the property named @name in the node /aliases.
963 * fdt_node_offset_by_prop_value - find nodes with a given property value
967 * @propval: property value to search for
968 * @proplen: length of the value in propval
972 * value is of length proplen and has value equal to propval; or if
1007 * @phandle: phandle value
1010 * which has the given phandle value. If there is more than one node
1017 * -FDT_ERR_BADPHANDLE, given phandle value was invalid (0 or -1)
1050 * fdt_node_offset_by_compatible - find nodes with a given 'compatible' value
1108 * -FDT_ERR_BADVALUE if the property value is not NUL-terminated
1128 * -FDT_ERR_BADVALUE if the property value is not NUL-terminated
1156 * -FDT_ERR_BADVALUE if the property value is not NUL-terminated
1168 * FDT_MAX_NCELLS - maximum value for #address-cells and #size-cells
1170 * This is the maximum value for #address-cells, #size-cells and
1183 * When the node has a valid #address-cells property, returns its value.
1204 * When the node has a valid #size-cells property, returns its value.
1225 * fdt_setprop_inplace_namelen_partial - change a property's value,
1232 * @val: pointer to data to replace the property value with
1233 * @len: length of the property value
1237 * of the name. It is useful when you want to manipulate only one value of
1240 * Return: 0 on success, negative libfdt error value otherwise
1250 * fdt_setprop_inplace - change a property's value, but not its size
1254 * @val: pointer to data to replace the property value with
1255 * @len: length of the property value
1257 * fdt_setprop_inplace() replaces the value of a given property with
1263 * the given property value, and will not alter or move any other part
1283 * fdt_setprop_inplace_u32 - change the value of a 32-bit integer property
1287 * @val: 32-bit integer value to replace the property with
1289 * fdt_setprop_inplace_u32() replaces the value of a given property
1290 * with the 32-bit integer value in val, converting val to big-endian
1296 * the given property value, and will not alter or move any other part
1318 * fdt_setprop_inplace_u64 - change the value of a 64-bit integer property
1322 * @val: 64-bit integer value to replace the property with
1324 * fdt_setprop_inplace_u64() replaces the value of a given property
1325 * with the 64-bit integer value in val, converting val to big-endian
1331 * the given property value, and will not alter or move any other part
1353 * fdt_setprop_inplace_cell - change the value of a single-cell property
1356 * @name: name of the property to change the value of
1357 * @val: new value of the 32-bit cell
1485 * fdt_property_placeholder - add a new property and return a ptr to its value
1489 * @len: length of property value in bytes
1490 * @valp: returns a pointer to where where the value should be placed
1592 * @val: pointer to data to set the property value to
1593 * @len: length of the property value
1595 * fdt_setprop() sets the value of the named property in the given
1596 * node to the given value and length, creating the property if it
1605 * contain the new property value
1623 * @len: length of the property value
1636 * contain the new property value
1654 * @val: 32-bit integer value for the property (native endian)
1656 * fdt_setprop_u32() sets the value of the named property in the given
1657 * node to the given 32-bit integer value (converting to big-endian if
1658 * necessary), or creates a new property with that value if it does
1667 * contain the new property value
1689 * @val: 64-bit integer value for the property (native endian)
1691 * fdt_setprop_u64() sets the value of the named property in the given
1692 * node to the given 64-bit integer value (converting to big-endian if
1693 * necessary), or creates a new property with that value if it does
1702 * contain the new property value
1720 * fdt_setprop_cell - set a property to a single cell value
1724 * @val: 32-bit integer value for the property (native endian)
1728 * Return: 0 on success, negative libfdt error value otherwise.
1737 * fdt_setprop_string - set a property to a string value
1741 * @str: string value for the property
1743 * fdt_setprop_string() sets the value of the named property in the
1744 * given node to the given string value (using the length of the
1746 * new property with that value if it does not already exist.
1754 * contain the new property value
1769 * fdt_setprop_empty - set a property to an empty value
1774 * fdt_setprop_empty() sets the value of the named property in the
1775 * given node to an empty (zero length) value, or creates a new empty
1784 * contain the new property value
1802 * @val: pointer to data to append to the property value
1803 * @len: length of the data to append to the property value
1805 * fdt_appendprop() appends the value to the named property in the
1814 * contain the new property value
1828 * fdt_appendprop_u32 - append a 32-bit integer value to a property
1832 * @val: 32-bit integer value to append to the property (native endian)
1834 * fdt_appendprop_u32() appends the given 32-bit integer value
1835 * (converting to big-endian if necessary) to the value of the named
1837 * value if it does not already exist.
1845 * contain the new property value
1863 * fdt_appendprop_u64 - append a 64-bit integer value to a property
1867 * @val: 64-bit integer value to append to the property (native endian)
1869 * fdt_appendprop_u64() appends the given 64-bit integer value
1870 * (converting to big-endian if necessary) to the value of the named
1872 * value if it does not already exist.
1880 * contain the new property value
1898 * fdt_appendprop_cell - append a single cell value to a property
1902 * @val: 32-bit integer value to append to the property (native endian)
1906 * Return: 0 on success, negative libfdt error value otherwise.
1919 * @str: string value to append to the property
1921 * fdt_appendprop_string() appends the given string to the value of
1923 * with that value if it does not already exist.
1931 * contain the new property value
1953 * fdt_appendprop_addrrange() appends an address range value (start
1954 * address and size) to the value of the named property in the given
1955 * node, or creates a new property with that value if it does not
2018 * negative libfdt error value otherwise