Lines Matching defs:node
42 * fwnode_property_present - check if a property of a firmware node is present
43 * @fwnode: Firmware node whose property to check
248 * fwnode_property_read_u8_array - return a u8 array property of firmware node
249 * @fwnode: Firmware node to get the property of
274 * fwnode_property_read_u16_array - return a u16 array property of firmware node
275 * @fwnode: Firmware node to get the property of
300 * fwnode_property_read_u32_array - return a u32 array property of firmware node
301 * @fwnode: Firmware node to get the property of
326 * fwnode_property_read_u64_array - return a u64 array property firmware node
327 * @fwnode: Firmware node to get the property of
352 * fwnode_property_read_string_array - return string array property of a node
353 * @fwnode: Firmware node to get the property of
358 * Read an string list property @propname from the given firmware node and store
387 * fwnode_property_read_string - return a string property of a firmware node
388 * @fwnode: Firmware node to get the property of
392 * Read property @propname from the given firmware node and store the value into
412 * @fwnode: Firmware node to get the property of
457 * @fwnode: Firmware node where to look for the reference
460 * arguments in the referred node. NULL if @nargs is known,
489 * @fwnode: Firmware node where to look for the reference
516 * firmware node with device_add_properties(). Memory allocated to the
542 * is no real firmware node associated with @dev! In that case the callers
543 * should create a software node and assign it to @dev directly.
560 * fwnode_get_name - Return the name of a node
561 * @fwnode: The firmware node
563 * Returns a pointer to the node name.
572 * fwnode_get_name_prefix - Return the prefix of node for printing purposes
573 * @fwnode: The firmware node
575 * Returns the prefix of a node, intended to be printed right before the node.
584 * fwnode_get_parent - Return parent firwmare node
587 * Return parent firmware node of the given node if possible or %NULL if no
597 * fwnode_get_next_parent - Iterate to the node's parent
601 * on the passed node, making it suitable for iterating through a
602 * node's parents.
604 * Returns a node pointer with refcount incremented, use
618 * fwnode_count_parents - Return the number of parents a node has
619 * @fwnode: The node the parents of which are to be counted
621 * Returns the number of parents a node has.
638 * fwnode_get_nth_parent - Return an nth parent of a node
639 * @fwnode: The node the parent of which is requested
640 * @depth: Distance of the parent from the node
642 * Returns the nth parent of a node. If there is no parent at the requested
647 * node.
664 * fwnode_get_next_child_node - Return the next child node handle for a node
665 * @fwnode: Firmware node to find the next child node for.
666 * @child: Handle to one of the node's child nodes or a %NULL handle.
678 * available child node handle for a node
679 * @fwnode: Firmware node to find the next child node for.
680 * @child: Handle to one of the node's child nodes or a %NULL handle.
703 * device_get_next_child_node - Return the next child node handle for a device
704 * @dev: Device to find the next child node for.
732 * fwnode_get_named_child_node - Return first matching named child node handle
733 * @fwnode: Firmware node to find the named child node for.
734 * @childname: String to match child node name against.
745 * device_get_named_child_node - Return first matching named child node handle
746 * @dev: Device to find the named child node for.
747 * @childname: String to match child node name against.
757 * fwnode_handle_get - Obtain a reference to a device node
758 * @fwnode: Pointer to the device node to obtain the reference to.
772 * fwnode_handle_put - Drop reference to a device node
773 * @fwnode: Pointer to the device node to drop the reference to.
776 * with break or return to prevent stale device node references from being left
841 * fwnode_get_phy_mode - Get phy mode for given firmware node
842 * @fwnode: Pointer to the given node
894 * fwnode_get_mac_address - Get the MAC from the firmware node
895 * @fwnode: Pointer to the firmware node
899 * Search the firmware node for the best MAC address to use. 'mac-address' is
946 * @fwnode: Pointer to the firmware node
970 * fwnode_graph_get_next_endpoint - Get next endpoint firmware node
971 * @fwnode: Pointer to the parent firmware node
972 * @prev: Previous endpoint node or %NULL to get the first
974 * Returns an endpoint firmware node pointer or %NULL if no more endpoints
987 * @endpoint: Endpoint firmware node of the port
989 * Return: the firmware node of the device the @endpoint belongs to.
1007 * @fwnode: Endpoint firmware node pointing to the remote endpoint
1009 * Extracts firmware node of a remote device the @fwnode points to.
1027 * @fwnode: Endpoint firmware node pointing to the remote endpoint
1029 * Extracts firmware node of a remote port the @fwnode points to.
1040 * @fwnode: Endpoint firmware node pointing to the remote endpoint
1042 * Extracts firmware node of a remote endpoint the @fwnode points to.
1052 * fwnode_graph_get_remote_node - get remote parent node for given port/endpoint
1054 * @port_id: identifier of the parent port node
1055 * @endpoint_id: identifier of the endpoint node
1057 * Return: Remote fwnode handle associated with remote endpoint node linked
1058 * to @node. Use fwnode_node_put() on it when done.
1092 * @port: identifier of the port node
1093 * @endpoint: identifier of the endpoint node under the port node
1165 * fwnode_graph_parse_endpoint - parse common endpoint node properties
1169 * Parse @fwnode representing a graph endpoint node and store the
1192 struct fwnode_handle *node;
1197 node = fwnode_graph_get_remote_port_parent(ep);
1198 if (!fwnode_device_is_available(node)) {
1199 fwnode_handle_put(node);
1203 ret = match(node, con_id, data);
1204 fwnode_handle_put(node);
1217 struct fwnode_handle *node;
1222 node = fwnode_find_reference(fwnode, con_id, i);
1223 if (IS_ERR(node))
1226 ret = match(node, NULL, data);
1227 fwnode_handle_put(node);
1236 * fwnode_connection_find_match - Find connection from a device node
1237 * @fwnode: Device node with the connection
1243 * device node. @match will be used to convert the connection description to