Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 25 of 66) sorted by relevance

123

/drivers/clk/keystone/
Dsci-clk.c65 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()
129 dev_err(clk->provider->dev, in sci_clk_is_prepared()
153 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate()
156 dev_err(clk->provider->dev, in sci_clk_recalc_rate()
187 ret = clk->provider->ops->get_best_match_freq(clk->provider->sci, in sci_clk_determine_rate()
195 dev_err(clk->provider->dev, in sci_clk_determine_rate()
[all …]
/drivers/interconnect/imx/
Dimx.c30 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()
123 static struct icc_node *imx_icc_node_add(struct icc_provider *provider, in imx_icc_node_add() argument
126 struct device *dev = provider->dev; in imx_icc_node_add()
152 icc_node_add(node, provider); in imx_icc_node_add()
155 ret = imx_icc_node_init_qos(provider, node); in imx_icc_node_add()
165 static void imx_icc_unregister_nodes(struct icc_provider *provider) in imx_icc_unregister_nodes() argument
169 list_for_each_entry_safe(node, tmp, &provider->nodes, node_list) in imx_icc_unregister_nodes()
[all …]
/drivers/clk/tegra/
Dclk-tegra210-emc.c35 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()
131 if (!provider->configs || provider->num_configs == 0) in tegra210_clk_emc_set_rate()
[all …]
/drivers/interconnect/
Dcore.c45 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()
124 if (n->provider == n->links[i]->provider) in icc_graph_show()
[all …]
/drivers/clk/ti/
Dclkctrl.c234 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()
293 _ti_clkctrl_clk_register(struct omap_clkctrl_provider *provider, in _ti_clkctrl_clk_register() argument
330 list_add(&clkctrl_clk->node, &provider->clocks); in _ti_clkctrl_clk_register()
341 _ti_clkctrl_setup_gate(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_gate() argument
355 if (_ti_clkctrl_clk_register(provider, node, &clk_hw->hw, offset, in _ti_clkctrl_setup_gate()
362 _ti_clkctrl_setup_mux(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_mux() argument
390 if (_ti_clkctrl_clk_register(provider, node, &mux->hw, offset, in _ti_clkctrl_setup_mux()
397 _ti_clkctrl_setup_div(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_div() argument
426 if (_ti_clkctrl_clk_register(provider, node, &div->hw, offset, in _ti_clkctrl_setup_div()
[all …]
/drivers/interconnect/qcom/
Dosm-l3.c41 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()
196 struct icc_provider *provider; in qcom_osm_l3_probe() local
[all …]
Dqcs404.c99 container_of(_provider, struct qcom_icc_provider, 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()
405 struct icc_provider *provider; in qnoc_probe() local
446 provider = &qp->provider; in qnoc_probe()
447 INIT_LIST_HEAD(&provider->nodes); in qnoc_probe()
[all …]
Dmsm8974.c179 container_of(_provider, struct msm8974_icc_provider, 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()
604 msm8974_icc_rpm_smd_send(provider->dev, RPM_BUS_MASTER_REQ, in msm8974_icc_set()
607 msm8974_icc_rpm_smd_send(provider->dev, RPM_BUS_SLAVE_REQ, in msm8974_icc_set()
611 msm8974_icc_rpm_smd_send(provider->dev, RPM_BUS_MASTER_REQ, in msm8974_icc_set()
[all …]
Dmsm8916.c111 container_of(_provider, struct msm8916_icc_provider, 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()
440 struct icc_provider *provider; in msm8916_qnoc_probe() local
479 provider = &qp->provider; in msm8916_qnoc_probe()
480 INIT_LIST_HEAD(&provider->nodes); in msm8916_qnoc_probe()
[all …]
Dsdm845.c444 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()
486 ret = icc_provider_add(provider); in qnoc_probe()
[all …]
Dsm8250.c525 struct icc_provider *provider; in qnoc_probe() local
547 provider = &qp->provider; in qnoc_probe()
548 provider->dev = &pdev->dev; in qnoc_probe()
549 provider->set = qcom_icc_set; in qnoc_probe()
550 provider->pre_aggregate = qcom_icc_pre_aggregate; in qnoc_probe()
551 provider->aggregate = qcom_icc_aggregate; in qnoc_probe()
552 provider->xlate = of_icc_xlate_onecell; in qnoc_probe()
553 INIT_LIST_HEAD(&provider->nodes); in qnoc_probe()
554 provider->data = data; in qnoc_probe()
564 ret = icc_provider_add(provider); in qnoc_probe()
[all …]
Dsm8150.c509 struct icc_provider *provider; in qnoc_probe() local
531 provider = &qp->provider; in qnoc_probe()
532 provider->dev = &pdev->dev; in qnoc_probe()
533 provider->set = qcom_icc_set; in qnoc_probe()
534 provider->pre_aggregate = qcom_icc_pre_aggregate; in qnoc_probe()
535 provider->aggregate = qcom_icc_aggregate; in qnoc_probe()
536 provider->xlate = of_icc_xlate_onecell; in qnoc_probe()
537 INIT_LIST_HEAD(&provider->nodes); in qnoc_probe()
538 provider->data = data; in qnoc_probe()
548 ret = icc_provider_add(provider); in qnoc_probe()
[all …]
Dsc7180.c700 struct icc_provider *provider; in qnoc_probe() local
722 provider = &qp->provider; in qnoc_probe()
723 provider->dev = &pdev->dev; in qnoc_probe()
724 provider->set = qcom_icc_set; in qnoc_probe()
725 provider->pre_aggregate = qcom_icc_pre_aggregate; in qnoc_probe()
726 provider->aggregate = qcom_icc_aggregate; in qnoc_probe()
727 provider->xlate_extended = qcom_icc_xlate_extended; in qnoc_probe()
728 INIT_LIST_HEAD(&provider->nodes); in qnoc_probe()
729 provider->data = data; in qnoc_probe()
739 ret = icc_provider_add(provider); in qnoc_probe()
[all …]
/drivers/pci/
Dp2pdma.c38 struct pci_dev *provider; member
193 p2p_pgmap->provider = pdev; in pci_p2pdma_add_resource()
387 __upstream_bridge_distance(struct pci_dev *provider, struct pci_dev *client, in __upstream_bridge_distance() argument
390 struct pci_dev *a = provider, *b = client, *bb; in __upstream_bridge_distance()
505 upstream_bridge_distance(struct pci_dev *provider, struct pci_dev *client, in upstream_bridge_distance() argument
510 map_type = __upstream_bridge_distance(provider, client, dist, in upstream_bridge_distance()
515 !host_bridge_whitelist(provider, client)) in upstream_bridge_distance()
519 if (provider->p2pdma) in upstream_bridge_distance()
520 xa_store(&provider->p2pdma->map_types, map_types_idx(client), in upstream_bridge_distance()
527 upstream_bridge_distance_warn(struct pci_dev *provider, struct pci_dev *client, in upstream_bridge_distance_warn() argument
[all …]
/drivers/phy/broadcom/
Dphy-bcm-ns2-pcie.c58 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()
73 return PTR_ERR(provider); in ns2_pci_phy_probe()
Dphy-bcm-cygnus-pcie.c128 struct phy_provider *provider; in cygnus_pcie_phy_probe() local
190 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in cygnus_pcie_phy_probe()
191 if (IS_ERR(provider)) { in cygnus_pcie_phy_probe()
193 return PTR_ERR(provider); in cygnus_pcie_phy_probe()
Dphy-bcm-sr-pcie.c221 struct phy_provider *provider; in sr_pcie_phy_probe() local
277 provider = devm_of_phy_provider_register(dev, sr_pcie_phy_xlate); in sr_pcie_phy_probe()
278 if (IS_ERR(provider)) { in sr_pcie_phy_probe()
280 return PTR_ERR(provider); in sr_pcie_phy_probe()
/drivers/phy/
Dphy-pistachio-usb.c135 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()
179 PTR_ERR(provider)); in pistachio_usb_phy_probe()
180 return PTR_ERR(provider); in pistachio_usb_phy_probe()
/drivers/phy/renesas/
Dphy-rcar-gen3-pcie.c77 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()
119 error = PTR_ERR(provider); in rcar_gen3_phy_pcie_probe()
Dphy-rcar-gen3-usb3.c135 struct phy_provider *provider; in rcar_gen3_phy_usb3_probe() local
189 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in rcar_gen3_phy_usb3_probe()
190 if (IS_ERR(provider)) { in rcar_gen3_phy_usb3_probe()
192 ret = PTR_ERR(provider); in rcar_gen3_phy_usb3_probe()
/drivers/phy/lantiq/
Dphy-lantiq-rcu-usb2.c211 struct phy_provider *provider; in ltq_rcu_usb2_phy_probe() local
237 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in ltq_rcu_usb2_phy_probe()
238 if (IS_ERR(provider)) in ltq_rcu_usb2_phy_probe()
239 return PTR_ERR(provider); in ltq_rcu_usb2_phy_probe()
/drivers/phy/marvell/
Dphy-mmp3-usb.c251 struct phy_provider *provider; in mmp3_usb_phy_probe() local
271 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in mmp3_usb_phy_probe()
272 if (IS_ERR(provider)) { in mmp3_usb_phy_probe()
274 return PTR_ERR(provider); in mmp3_usb_phy_probe()
Dphy-pxa-usb.c291 struct phy_provider *provider; in pxa_usb_phy_probe() local
318 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in pxa_usb_phy_probe()
319 if (IS_ERR(provider)) { in pxa_usb_phy_probe()
321 return PTR_ERR(provider); in pxa_usb_phy_probe()
/drivers/phy/hisilicon/
Dphy-hisi-inno-usb2.c115 struct phy_provider *provider; in hisi_inno_phy_probe() local
162 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in hisi_inno_phy_probe()
163 return PTR_ERR_OR_ZERO(provider); in hisi_inno_phy_probe()
/drivers/phy/qualcomm/
Dphy-qcom-usb-hs-28nm.c309 struct phy_provider *provider; in qcom_snps_hsphy_probe() local
361 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in qcom_snps_hsphy_probe()
362 if (IS_ERR(provider)) in qcom_snps_hsphy_probe()
363 return PTR_ERR(provider); in qcom_snps_hsphy_probe()

123