Lines Matching refs:node

456  * node's 'clock-names' property or as the 'con_id' matching the device's
479 * exist in the provider or the name can't be found in the DT node or
1850 list_for_each_entry(cn, &clk_notifier_list, node) {
3066 * Returns the phase shift of a clock node in degrees, otherwise returns
3238 * Returns the duty cycle ratio of a clock node multiplied by the provided
3256 * clock node. Put differently, returns true if struct clk *p and struct clk *q
3754 * clk_debug_register - add a clk node to the debugfs clk directory
3771 * clk_debug_unregister - remove a clk node from the debugfs clk directory
4411 * dev_or_parent_of_node() - Get device node of @dev or @dev's parent
4412 * @dev: Device to get device node of
4414 * Return: device node pointer of @dev, or the device node pointer of
4415 * @dev->parent if dev doesn't have a device node, or NULL if neither
4416 * @dev or @dev->parent have a device node.
4470 * @node: device_node of device that is registering this clock
4479 int of_clk_hw_register(struct device_node *node, struct clk_hw *hw)
4481 return PTR_ERR_OR_ZERO(__clk_register(NULL, node, hw));
4813 list_for_each_entry(cn, &clk_notifier_list, node)
4825 list_add(&cn->node, &clk_notifier_list);
4860 list_for_each_entry(cn, &clk_notifier_list, node) {
4869 list_del(&cn->node);
4930 * @node: Pointer to device tree node of clock provider
4940 struct device_node *node;
4996 * of_clk_add_provider() - Register a clock provider for a node
4997 * @np: Device node pointer associated with clock provider
5018 cp->node = of_node_get(np);
5040 * of_clk_add_hw_provider() - Register a clock provider for a node
5041 * @np: Device node pointer associated with clock provider
5060 cp->node = of_node_get(np);
5087 * We allow a child device to use its parent device as the clock provider node
5089 * devm_*() APIs but not list the device in DT as a sub-node.
5106 * devm_of_clk_add_hw_provider() - Managed clk provider node registration
5107 * @dev: Device acting as the clock provider (used for DT node and lifetime)
5111 * Registers clock provider for given device's node. If the device has no DT
5112 * node or if the device node lacks of clock provider information (#clock-cells)
5113 * then the parent device's node is scanned for this information. If parent node
5147 * @np: Device node pointer associated with clock provider
5158 if (cp->node == np) {
5161 of_node_put(cp->node);
5171 * of_parse_clkspec() - Parse a DT clock specifier for a given device node
5172 * @np: device node to parse clock specifier from
5177 * Parses a device node's "clocks" and "clock-names" properties to find the
5197 * To get a device_node for `clock-controller@2' node you may call this
5231 * No matching clock found on this node. If the parent node
5268 /* Check if node in clkspec is in disabled/fail state */
5274 if (provider->node == clkspec->np) {
5334 * of_clk_get_by_name() - Parse and lookup a clock referenced by a device node
5335 * @np: pointer to clock consumer node
5352 * of_clk_get_parent_count() - Count the number of clocks a device node has
5353 * @np: device node to count
5355 * Returns: The number of clocks that are possible parents of this node
5410 * registered, we return the node name as the name of
5434 * @np: Device node pointer associated with clock provider
5438 * Return: number of parents for the clock node.
5455 struct list_head node;
5495 * @np: Device node pointer associated with clock provider
5503 * bindings, such as the one-clock-per-node style that are outdated.
5556 &clk_provider_list, node) {
5557 list_del(&clk_provider->node);
5567 list_add_tail(&parent->node, &clk_provider_list);
5573 &clk_provider_list, node) {
5583 list_del(&clk_provider->node);