/Linux-v5.10/drivers/clk/keystone/ |
D | sci-clk.c | 16 #include <linux/clk-provider.h> 33 * struct sci_clk_provider - TI SCI clock provider representation 36 * @dev: Device pointer for the clock provider 38 * @num_clocks: Total number of clocks for this provider 54 * @provider: Master clock provider 65 struct sci_clk_provider *provider; member 87 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare() 104 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare() 107 dev_err(clk->provider->dev, in sci_clk_unprepare() 125 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared() [all …]
|
/Linux-v5.10/drivers/interconnect/imx/ |
D | imx.c | 12 #include <linux/interconnect-provider.h> 30 struct device *dev = node->provider->dev; in imx_icc_node_set() 68 dev_warn(node->provider->dev, in imx_icc_node_destroy() 78 static int imx_icc_node_init_qos(struct icc_provider *provider, in imx_icc_node_init_qos() argument 83 struct device *dev = provider->dev; in imx_icc_node_init_qos() 122 static struct icc_node *imx_icc_node_add(struct icc_provider *provider, in imx_icc_node_add() argument 125 struct device *dev = provider->dev; in imx_icc_node_add() 151 icc_node_add(node, provider); in imx_icc_node_add() 154 ret = imx_icc_node_init_qos(provider, node); in imx_icc_node_add() 164 static void imx_icc_unregister_nodes(struct icc_provider *provider) in imx_icc_unregister_nodes() argument [all …]
|
/Linux-v5.10/drivers/clk/tegra/ |
D | clk-tegra210-emc.c | 8 #include <linux/clk-provider.h> 35 struct tegra210_clk_emc_provider *provider; member 93 struct tegra210_clk_emc_provider *provider = emc->provider; in tegra210_clk_emc_round_rate() local 96 if (!provider || !provider->configs || provider->num_configs == 0) in tegra210_clk_emc_round_rate() 99 for (i = 0; i < provider->num_configs; i++) { in tegra210_clk_emc_round_rate() 100 if (provider->configs[i].rate >= rate) in tegra210_clk_emc_round_rate() 101 return provider->configs[i].rate; in tegra210_clk_emc_round_rate() 104 return provider->configs[i - 1].rate; in tegra210_clk_emc_round_rate() 122 struct tegra210_clk_emc_provider *provider = emc->provider; in tegra210_clk_emc_set_rate() local 124 struct device *dev = provider->dev; in tegra210_clk_emc_set_rate() [all …]
|
/Linux-v5.10/drivers/interconnect/ |
D | core.c | 14 #include <linux/interconnect-provider.h> 45 struct icc_provider *provider; in icc_summary_show() local 52 list_for_each_entry(provider, &icc_providers, provider_list) { in icc_summary_show() 55 list_for_each_entry(n, &provider->nodes, node_list) { in icc_summary_show() 101 struct icc_provider *provider; in icc_graph_show() local 111 list_for_each_entry(provider, &icc_providers, provider_list) { in icc_graph_show() 113 if (provider->dev) in icc_graph_show() 115 dev_name(provider->dev)); in icc_graph_show() 118 list_for_each_entry(n, &provider->nodes, node_list) in icc_graph_show() 122 list_for_each_entry(n, &provider->nodes, node_list) in icc_graph_show() [all …]
|
/Linux-v5.10/drivers/interconnect/qcom/ |
D | osm-l3.c | 8 #include <linux/interconnect-provider.h> 41 container_of(_provider, struct qcom_osm_l3_icc_provider, provider) 48 struct icc_provider provider; member 151 struct icc_provider *provider; in qcom_icc_set() local 160 provider = src->provider; in qcom_icc_set() 161 qp = to_qcom_provider(provider); in qcom_icc_set() 163 list_for_each_entry(n, &provider->nodes, node_list) in qcom_icc_set() 164 provider->aggregate(n, 0, n->avg_bw, n->peak_bw, in qcom_icc_set() 185 icc_nodes_remove(&qp->provider); in qcom_osm_l3_remove() 186 return icc_provider_del(&qp->provider); in qcom_osm_l3_remove() [all …]
|
D | qcs404.c | 9 #include <linux/interconnect-provider.h> 99 container_of(_provider, struct qcom_icc_provider, provider) 107 * struct qcom_icc_provider - Qualcomm specific interconnect provider 108 * @provider: generic interconnect provider 113 struct icc_provider provider; member 334 struct icc_provider *provider; in qcom_icc_set() local 344 provider = src->provider; in qcom_icc_set() 345 qp = to_qcom_provider(provider); in qcom_icc_set() 347 list_for_each_entry(n, &provider->nodes, node_list) in qcom_icc_set() 348 provider->aggregate(n, 0, n->avg_bw, n->peak_bw, in qcom_icc_set() [all …]
|
D | msm8916.c | 9 #include <linux/interconnect-provider.h> 111 container_of(_provider, struct msm8916_icc_provider, provider) 119 * struct msm8916_icc_provider - Qualcomm specific interconnect provider 120 * @provider: generic interconnect provider 125 struct icc_provider provider; member 372 struct icc_provider *provider; in msm8916_icc_set() local 377 provider = src->provider; in msm8916_icc_set() 378 qp = to_msm8916_provider(provider); in msm8916_icc_set() 380 list_for_each_entry(n, &provider->nodes, node_list) in msm8916_icc_set() 381 provider->aggregate(n, 0, n->avg_bw, n->peak_bw, in msm8916_icc_set() [all …]
|
D | msm8974.c | 33 #include <linux/interconnect-provider.h> 179 container_of(_provider, struct msm8974_icc_provider, provider) 187 * struct msm8974_icc_provider - Qualcomm specific interconnect provider 188 * @provider: generic interconnect provider 193 struct icc_provider provider; member 587 struct icc_provider *provider; in msm8974_icc_set() local 593 provider = src->provider; in msm8974_icc_set() 594 qp = to_msm8974_icc_provider(provider); in msm8974_icc_set() 596 list_for_each_entry(n, &provider->nodes, node_list) in msm8974_icc_set() 597 provider->aggregate(n, 0, n->avg_bw, n->peak_bw, in msm8974_icc_set() [all …]
|
D | icc-rpmh.h | 12 container_of(_provider, struct qcom_icc_provider, provider) 15 * struct qcom_icc_provider - Qualcomm specific interconnect provider 16 * @provider: generic interconnect provider 18 * @bcms: list of bcms that maps to the provider 20 * @voter: bcm voter targeted by this provider 23 struct icc_provider provider; member
|
D | sc7180.c | 9 #include <linux/interconnect-provider.h> 511 struct icc_provider *provider; in qnoc_probe() local 533 provider = &qp->provider; in qnoc_probe() 534 provider->dev = &pdev->dev; in qnoc_probe() 535 provider->set = qcom_icc_set; in qnoc_probe() 536 provider->pre_aggregate = qcom_icc_pre_aggregate; in qnoc_probe() 537 provider->aggregate = qcom_icc_aggregate; in qnoc_probe() 538 provider->xlate_extended = qcom_icc_xlate_extended; in qnoc_probe() 539 INIT_LIST_HEAD(&provider->nodes); in qnoc_probe() 540 provider->data = data; in qnoc_probe() [all …]
|
D | sdm845.c | 8 #include <linux/interconnect-provider.h> 444 struct icc_provider *provider; in qnoc_probe() local 467 provider = &qp->provider; in qnoc_probe() 468 provider->dev = &pdev->dev; in qnoc_probe() 469 provider->set = qcom_icc_set; in qnoc_probe() 470 provider->pre_aggregate = qcom_icc_pre_aggregate; in qnoc_probe() 471 provider->aggregate = qcom_icc_aggregate; in qnoc_probe() 472 provider->xlate_extended = qcom_icc_xlate_extended; in qnoc_probe() 473 INIT_LIST_HEAD(&provider->nodes); in qnoc_probe() 474 provider->data = data; in qnoc_probe() [all …]
|
/Linux-v5.10/include/linux/ |
D | interconnect-provider.h | 43 * struct icc_provider - interconnect provider (controller) entity that might 47 * @nodes: internal list of the interconnect provider nodes 53 * @xlate: provider-specific callback for mapping nodes from phandle arguments 55 * @dev: the device this interconnect provider belongs to 57 * @inter_set: whether inter-provider pairs will be configured with @set 83 * @provider: points to the interconnect provider of this node 84 * @node_list: the list entry in the parent provider's "nodes" list 101 struct icc_provider *provider; member 122 void icc_node_add(struct icc_node *node, struct icc_provider *provider); 124 int icc_nodes_remove(struct icc_provider *provider); [all …]
|
/Linux-v5.10/drivers/clk/ti/ |
D | clkctrl.c | 18 #include <linux/clk-provider.h> 234 struct omap_clkctrl_provider *provider = data; in _ti_omap4_clkctrl_xlate() local 244 list_for_each_entry(entry, &provider->clocks, node) { in _ti_omap4_clkctrl_xlate() 290 _ti_clkctrl_clk_register(struct omap_clkctrl_provider *provider, in _ti_clkctrl_clk_register() argument 327 list_add(&clkctrl_clk->node, &provider->clocks); in _ti_clkctrl_clk_register() 338 _ti_clkctrl_setup_gate(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_gate() argument 352 if (_ti_clkctrl_clk_register(provider, node, &clk_hw->hw, offset, in _ti_clkctrl_setup_gate() 359 _ti_clkctrl_setup_mux(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_mux() argument 387 if (_ti_clkctrl_clk_register(provider, node, &mux->hw, offset, in _ti_clkctrl_setup_mux() 394 _ti_clkctrl_setup_div(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_div() argument [all …]
|
/Linux-v5.10/Documentation/driver-api/pci/ |
D | p2pdma.rst | 36 * Provider - A driver which provides or publishes P2P resources like 44 it may be typical for a driver to be both a provider and a client). 48 * The NVMe PCI driver is both a client, provider and orchestrator 50 resource (provider), it accepts P2P memory pages as buffers in requests 61 memory behind it, its driver could add support as a P2P provider and 66 Provider Drivers 69 A provider simply needs to register a BAR (or a portion of a BAR) 108 a specific P2P provider to use it may check compatibility using 109 :c:func:`pci_p2pdma_distance()` otherwise it may find a memory provider 111 If more than one provider is supported, the one nearest to all the clients will [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/power/ |
D | power-domain.yaml | 20 their PM domains provided by PM domain providers. A PM domain provider can be 22 domains. A consumer node can refer to the provider by a phandle and a set of 24 \#power-domain-cells property in the PM domain provider node. 34 power-domain provider. The idle state definitions are compatible with the 47 provider. If the provider provides a single power domain only or all 48 the power domains provided by the provider have identical OPP tables, 57 by device tree binding documentation of particular provider. 66 by the given provider should be subdomains of the domain specified 82 // The node above defines a power controller that is a PM domain provider and
|
/Linux-v5.10/drivers/pci/ |
D | p2pdma.c | 38 struct pci_dev *provider; member 193 p2p_pgmap->provider = pdev; in pci_p2pdma_add_resource() 357 __upstream_bridge_distance(struct pci_dev *provider, struct pci_dev *client, in __upstream_bridge_distance() argument 360 struct pci_dev *a = provider, *b = client, *bb; in __upstream_bridge_distance() 475 upstream_bridge_distance(struct pci_dev *provider, struct pci_dev *client, in upstream_bridge_distance() argument 480 map_type = __upstream_bridge_distance(provider, client, dist, in upstream_bridge_distance() 485 !host_bridge_whitelist(provider, client)) in upstream_bridge_distance() 489 if (provider->p2pdma) in upstream_bridge_distance() 490 xa_store(&provider->p2pdma->map_types, map_types_idx(client), in upstream_bridge_distance() 497 upstream_bridge_distance_warn(struct pci_dev *provider, struct pci_dev *client, in upstream_bridge_distance_warn() argument [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/reset/ |
D | reset.txt | 9 a reset provider (e.g. power management or clock module) and received by a 11 ordinate module is reset). This binding exists to represent the provider and 14 A reset signal is represented by the phandle of the provider, plus a reset 16 provider. The length (number of cells) and semantics of the reset specifier 17 are dictated by the binding of the reset provider, although common schemes 50 device manages. Note: if the reset provider specifies '0' for
|
/Linux-v5.10/Documentation/driver-api/phy/ |
D | phy.rst | 28 Registering/Unregistering the PHY provider 31 PHY provider refers to an entity that implements one or more PHY instances. 32 For the simple case where the PHY provider implements only a single instance of 34 of_phy_simple_xlate. If the PHY provider implements multiple instances, it 50 2 macros to register the PHY provider. 52 Often the device tree nodes associated with a PHY provider will contain a set 93 Inorder to dereference the private data (in phy_ops), the phy provider driver 167 phy_create (PHY provider device). 170 pm_runtime_get_sync of PHY provider device because of parent-child relationship.
|
/Linux-v5.10/Documentation/driver-api/ |
D | interconnect.rst | 55 Interconnect provider is the software definition of the interconnect hardware. 60 port. Each interconnect provider consists of multiple interconnect nodes, 63 called an interconnect node, which belongs to the Mem NoC interconnect provider. 81 Interconnect provider is an entity that implements methods to initialize and 82 configure interconnect bus hardware. The interconnect provider drivers should 83 be registered with the interconnect provider core. 85 .. kernel-doc:: include/linux/interconnect-provider.h 111 same provider as subgraphs. The format is human-readable and can also be piped
|
/Linux-v5.10/Documentation/devicetree/bindings/interconnect/ |
D | interconnect.txt | 1 Interconnect Provider Device Tree Bindings 10 The interconnect provider binding is intended to represent the interconnect 11 controllers in the system. Each provider registers a set of interconnect 20 - compatible : contains the interconnect provider compatible string 46 interconnects : Pairs of phandles and interconnect provider specifier to denote
|
/Linux-v5.10/drivers/phy/broadcom/ |
D | phy-bcm-ns2-pcie.c | 58 struct phy_provider *provider; in ns2_pci_phy_probe() local 69 provider = devm_of_phy_provider_register(&phy->dev, in ns2_pci_phy_probe() 71 if (IS_ERR(provider)) { in ns2_pci_phy_probe() 72 dev_err(dev, "failed to register Phy provider\n"); in ns2_pci_phy_probe() 73 return PTR_ERR(provider); in ns2_pci_phy_probe()
|
/Linux-v5.10/include/linux/soc/amlogic/ |
D | meson-canvas.h | 27 * meson_canvas_get() - get a canvas provider instance 36 * @canvas: canvas provider instance retrieved from meson_canvas_get() 44 * @canvas: canvas provider instance retrieved from meson_canvas_get() 52 * @canvas: canvas provider instance retrieved from meson_canvas_get()
|
/Linux-v5.10/drivers/phy/ |
D | phy-pistachio-usb.c | 135 struct phy_provider *provider; in pistachio_usb_phy_probe() local 175 provider = devm_of_phy_provider_register(p_phy->dev, in pistachio_usb_phy_probe() 177 if (IS_ERR(provider)) { in pistachio_usb_phy_probe() 178 dev_err(p_phy->dev, "Failed to register PHY provider: %ld\n", in pistachio_usb_phy_probe() 179 PTR_ERR(provider)); in pistachio_usb_phy_probe() 180 return PTR_ERR(provider); in pistachio_usb_phy_probe()
|
D | phy-core.c | 624 * of_phy_simple_xlate() - returns the phy instance from phy provider 625 * @dev: the PHY provider device 628 * Intended to be used by phy provider for the common case where #phy-cells is 629 * 0. For other cases where #phy-cells is greater than '0', the phy provider 995 * __of_phy_provider_register() - create/register phy provider with the framework 996 * @dev: struct device of the phy provider 999 * @of_xlate: function pointer to obtain phy instance from phy provider 1003 * phy provider. 1005 * If the PHY provider doesn't nest children directly but uses a separate 1021 * be the provider's device node or a child (or further descendant) in __of_phy_provider_register() [all …]
|
/Linux-v5.10/drivers/phy/renesas/ |
D | phy-rcar-gen3-pcie.c | 77 struct phy_provider *provider; in rcar_gen3_phy_pcie_probe() local 116 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in rcar_gen3_phy_pcie_probe() 117 if (IS_ERR(provider)) { in rcar_gen3_phy_pcie_probe() 118 dev_err(dev, "Failed to register PHY provider\n"); in rcar_gen3_phy_pcie_probe() 119 error = PTR_ERR(provider); in rcar_gen3_phy_pcie_probe()
|