Lines Matching defs:string
29 #include <linux/string.h>
422 * of_property_read_string - Find and read a string from a property
425 * @out_string: pointer to null terminated return string, modified only if
429 * terminated string value (pointer to data, not a copy).
432 * property does not have a value, and -EILSEQ if the string is not
435 * Note that the empty string "" has length of 1, thus -ENODATA cannot
436 * be interpreted as an empty string.
438 * The out_string pointer is modified only if a valid string can be decoded.
457 * of_property_match_string() - Find string in a list and return index
458 * @np: pointer to node containing string list property
459 * @propname: string list property name
460 * @string: pointer to string to search for in string list
462 * This function searches a string list property and returns the index
463 * of a specific string value.
466 const char *string)
485 pr_debug("comparing %s with %s\n", string, p);
486 if (strcmp(string, p) == 0)
494 * of_property_read_string_helper() - Utility helper for parsing string properties
497 * @out_strs: output array of string pointers.