Home
last modified time | relevance | path

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

1234

/drivers/clk/keystone/
Dsci-clk.c56 struct sci_clk_provider *provider; member
78 return clk->provider->ops->get_clock(clk->provider->sci, clk->dev_id, in sci_clk_prepare()
95 ret = clk->provider->ops->put_clock(clk->provider->sci, clk->dev_id, in sci_clk_unprepare()
98 dev_err(clk->provider->dev, in sci_clk_unprepare()
116 ret = clk->provider->ops->is_on(clk->provider->sci, clk->dev_id, in sci_clk_is_prepared()
120 dev_err(clk->provider->dev, in sci_clk_is_prepared()
144 ret = clk->provider->ops->get_freq(clk->provider->sci, clk->dev_id, in sci_clk_recalc_rate()
147 dev_err(clk->provider->dev, in sci_clk_recalc_rate()
178 ret = clk->provider->ops->get_best_match_freq(clk->provider->sci, in sci_clk_determine_rate()
186 dev_err(clk->provider->dev, in sci_clk_determine_rate()
[all …]
/drivers/interconnect/
Dicc-clk.c17 struct icc_provider provider; member
23 container_of(_provider, struct icc_clk_provider, provider)
82 struct icc_provider *provider; in icc_clk_register() local
97 provider = &qp->provider; in icc_clk_register()
98 provider->dev = dev; in icc_clk_register()
99 provider->get_bw = icc_clk_get_bw; in icc_clk_register()
100 provider->set = icc_clk_set; in icc_clk_register()
101 provider->aggregate = icc_std_aggregate; in icc_clk_register()
102 provider->xlate = of_icc_xlate_onecell; in icc_clk_register()
103 INIT_LIST_HEAD(&provider->nodes); in icc_clk_register()
[all …]
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/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/imx/
Dimx.c41 struct device *dev = node->provider->dev; in imx_icc_node_set()
107 dev_warn(node->provider->dev, in imx_icc_node_destroy()
117 static int imx_icc_node_init_qos(struct icc_provider *provider, in imx_icc_node_init_qos() argument
122 struct device *dev = provider->dev; in imx_icc_node_init_qos()
166 struct icc_provider *provider = &imx_provider->provider; in imx_icc_node_add() local
167 struct device *dev = provider->dev; in imx_icc_node_add()
195 icc_node_add(node, provider); in imx_icc_node_add()
198 ret = imx_icc_node_init_qos(provider, node); in imx_icc_node_add()
208 static void imx_icc_unregister_nodes(struct icc_provider *provider) in imx_icc_unregister_nodes() argument
212 list_for_each_entry_safe(node, tmp, &provider->nodes, node_list) in imx_icc_unregister_nodes()
[all …]
/drivers/interconnect/qcom/
Dicc-rpm.c55 struct icc_provider *provider = src->provider; in qcom_icc_set_qnoc_qos() local
56 struct qcom_icc_provider *qp = to_qcom_provider(provider); in qcom_icc_set_qnoc_qos()
102 struct icc_provider *provider; in qcom_icc_set_bimc_qos() local
108 provider = src->provider; in qcom_icc_set_bimc_qos()
109 qp = to_qcom_provider(provider); in qcom_icc_set_bimc_qos()
157 struct icc_provider *provider; in qcom_icc_set_noc_qos() local
162 provider = src->provider; in qcom_icc_set_noc_qos()
163 qp = to_qcom_provider(provider); in qcom_icc_set_noc_qos()
166 dev_dbg(src->provider->dev, in qcom_icc_set_noc_qos()
173 dev_dbg(src->provider->dev, "NoC QoS: %s: Set Fixed mode\n", qn->name); in qcom_icc_set_noc_qos()
[all …]
Dosm-l3.c38 container_of(_provider, struct qcom_osm_l3_icc_provider, provider)
45 struct icc_provider provider; member
129 struct icc_provider *provider; in qcom_osm_l3_set() local
135 provider = src->provider; in qcom_osm_l3_set()
136 qp = to_osm_l3_provider(provider); in qcom_osm_l3_set()
155 icc_provider_deregister(&qp->provider); in qcom_osm_l3_remove()
156 icc_nodes_remove(&qp->provider); in qcom_osm_l3_remove()
168 struct icc_provider *provider; in qcom_osm_l3_probe() local
238 provider = &qp->provider; in qcom_osm_l3_probe()
239 provider->dev = &pdev->dev; in qcom_osm_l3_probe()
[all …]
Dicc-rpmh.c28 qp = to_qcom_provider(node->provider); in qcom_icc_pre_aggregate()
96 qp = to_qcom_provider(node->provider); in qcom_icc_set()
167 struct icc_provider *provider; in qcom_icc_rpmh_probe() local
190 provider = &qp->provider; in qcom_icc_rpmh_probe()
191 provider->dev = dev; in qcom_icc_rpmh_probe()
192 provider->set = qcom_icc_set; in qcom_icc_rpmh_probe()
193 provider->pre_aggregate = qcom_icc_pre_aggregate; in qcom_icc_rpmh_probe()
194 provider->aggregate = qcom_icc_aggregate; in qcom_icc_rpmh_probe()
195 provider->xlate_extended = qcom_icc_xlate_extended; in qcom_icc_rpmh_probe()
196 provider->data = data; in qcom_icc_rpmh_probe()
[all …]
Dmsm8974.c178 container_of(_provider, struct msm8974_icc_provider, provider)
192 struct icc_provider provider; member
586 struct icc_provider *provider; in msm8974_icc_set() local
592 provider = src->provider; in msm8974_icc_set()
593 qp = to_msm8974_icc_provider(provider); in msm8974_icc_set()
595 list_for_each_entry(n, &provider->nodes, node_list) in msm8974_icc_set()
596 provider->aggregate(n, 0, n->avg_bw, n->peak_bw, in msm8974_icc_set()
603 msm8974_icc_rpm_smd_send(provider->dev, RPM_BUS_MASTER_REQ, in msm8974_icc_set()
606 msm8974_icc_rpm_smd_send(provider->dev, RPM_BUS_SLAVE_REQ, in msm8974_icc_set()
610 msm8974_icc_rpm_smd_send(provider->dev, RPM_BUS_MASTER_REQ, in msm8974_icc_set()
[all …]
/drivers/clk/ti/
Dclkctrl.c227 struct omap_clkctrl_provider *provider = data; in _ti_omap4_clkctrl_xlate() local
236 list_for_each_entry(iter, &provider->clocks, node) { in _ti_omap4_clkctrl_xlate()
285 _ti_clkctrl_clk_register(struct omap_clkctrl_provider *provider, in _ti_clkctrl_clk_register() argument
322 list_add(&clkctrl_clk->node, &provider->clocks); in _ti_clkctrl_clk_register()
333 _ti_clkctrl_setup_gate(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_gate() argument
347 if (_ti_clkctrl_clk_register(provider, node, &clk_hw->hw, offset, in _ti_clkctrl_setup_gate()
354 _ti_clkctrl_setup_mux(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_mux() argument
382 if (_ti_clkctrl_clk_register(provider, node, &mux->hw, offset, in _ti_clkctrl_setup_mux()
389 _ti_clkctrl_setup_div(struct omap_clkctrl_provider *provider, in _ti_clkctrl_setup_div() argument
418 if (_ti_clkctrl_clk_register(provider, node, &div->hw, offset, in _ti_clkctrl_setup_div()
[all …]
/drivers/interconnect/samsung/
Dexynos.c24 struct icc_provider provider; member
100 icc_provider_deregister(&priv->provider); in exynos_generic_icc_remove()
101 icc_nodes_remove(&priv->provider); in exynos_generic_icc_remove()
110 struct icc_provider *provider; in exynos_generic_icc_probe() local
121 provider = &priv->provider; in exynos_generic_icc_probe()
123 provider->set = exynos_generic_icc_set; in exynos_generic_icc_probe()
124 provider->aggregate = icc_std_aggregate; in exynos_generic_icc_probe()
125 provider->xlate = exynos_generic_icc_xlate; in exynos_generic_icc_probe()
126 provider->dev = bus_dev; in exynos_generic_icc_probe()
127 provider->inter_set = true; in exynos_generic_icc_probe()
[all …]
/drivers/memory/tegra/
Dtegra186-emc.c35 struct icc_provider provider; member
38 static inline struct tegra186_emc *to_tegra186_emc(struct icc_provider *provider) in to_tegra186_emc() argument
40 return container_of(provider, struct tegra186_emc, provider); in to_tegra186_emc()
241 struct icc_provider *provider = data; in tegra_emc_of_icc_xlate() local
245 list_for_each_entry(node, &provider->nodes, node_list) { in tegra_emc_of_icc_xlate()
270 emc->provider.dev = emc->dev; in tegra_emc_interconnect_init()
271 emc->provider.set = tegra_emc_icc_set_bw; in tegra_emc_interconnect_init()
272 emc->provider.data = &emc->provider; in tegra_emc_interconnect_init()
273 emc->provider.aggregate = soc->icc_ops->aggregate; in tegra_emc_interconnect_init()
274 emc->provider.xlate = tegra_emc_of_icc_xlate; in tegra_emc_interconnect_init()
[all …]
Dtegra20-emc.c200 struct icc_provider provider; member
947 to_tegra_emc_provider(struct icc_provider *provider) in to_tegra_emc_provider() argument
949 return container_of(provider, struct tegra_emc, provider); in to_tegra_emc_provider()
955 struct icc_provider *provider = data; in emc_of_icc_xlate_extended() local
960 list_for_each_entry(node, &provider->nodes, node_list) { in emc_of_icc_xlate_extended()
983 struct tegra_emc *emc = to_tegra_emc_provider(dst->provider); in emc_icc_set()
1018 emc->provider.dev = emc->dev; in tegra_emc_interconnect_init()
1019 emc->provider.set = emc_icc_set; in tegra_emc_interconnect_init()
1020 emc->provider.data = &emc->provider; in tegra_emc_interconnect_init()
1021 emc->provider.aggregate = soc->icc_ops->aggregate; in tegra_emc_interconnect_init()
[all …]
Dmc.c763 list_for_each_entry(node, &mc->provider.nodes, node_list) { in tegra_mc_icc_xlate()
829 mc->provider.dev = mc->dev; in tegra_mc_interconnect_setup()
830 mc->provider.data = &mc->provider; in tegra_mc_interconnect_setup()
831 mc->provider.set = mc->soc->icc_ops->set; in tegra_mc_interconnect_setup()
832 mc->provider.aggregate = mc->soc->icc_ops->aggregate; in tegra_mc_interconnect_setup()
833 mc->provider.get_bw = mc->soc->icc_ops->get_bw; in tegra_mc_interconnect_setup()
834 mc->provider.xlate = mc->soc->icc_ops->xlate; in tegra_mc_interconnect_setup()
835 mc->provider.xlate_extended = mc->soc->icc_ops->xlate_extended; in tegra_mc_interconnect_setup()
837 icc_provider_init(&mc->provider); in tegra_mc_interconnect_setup()
845 icc_node_add(node, &mc->provider); in tegra_mc_interconnect_setup()
[all …]
Dtegra124-emc.c504 struct icc_provider provider; member
1282 to_tegra_emc_provider(struct icc_provider *provider) in to_tegra_emc_provider() argument
1284 return container_of(provider, struct tegra_emc, provider); in to_tegra_emc_provider()
1290 struct icc_provider *provider = data; in emc_of_icc_xlate_extended() local
1295 list_for_each_entry(node, &provider->nodes, node_list) { in emc_of_icc_xlate_extended()
1318 struct tegra_emc *emc = to_tegra_emc_provider(dst->provider); in emc_icc_set()
1348 emc->provider.dev = emc->dev; in tegra_emc_interconnect_init()
1349 emc->provider.set = emc_icc_set; in tegra_emc_interconnect_init()
1350 emc->provider.data = &emc->provider; in tegra_emc_interconnect_init()
1351 emc->provider.aggregate = soc->icc_ops->aggregate; in tegra_emc_interconnect_init()
[all …]
/drivers/pci/
Dp2pdma.c32 struct pci_dev *provider; member
199 rcu_dereference_protected(pgmap->provider->p2pdma, 1); in p2pdma_page_free()
323 p2p_pgmap->provider = pdev; in pci_p2pdma_add_resource()
575 calc_map_type_and_dist(struct pci_dev *provider, struct pci_dev *client, in calc_map_type_and_dist() argument
579 struct pci_dev *a = provider, *b = client, *bb; in calc_map_type_and_dist()
645 pci_name(provider)); in calc_map_type_and_dist()
653 !host_bridge_whitelist(provider, client, acs_redirects)) { in calc_map_type_and_dist()
656 pci_name(provider)); in calc_map_type_and_dist()
661 p2pdma = rcu_dereference(provider->p2pdma); in calc_map_type_and_dist()
686 int pci_p2pdma_distance_many(struct pci_dev *provider, struct device **clients, in pci_p2pdma_distance_many() argument
[all …]
/drivers/phy/marvell/
Dphy-mmp3-hsic.c44 struct phy_provider *provider; in mmp3_hsic_phy_probe() local
59 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in mmp3_hsic_phy_probe()
60 if (IS_ERR(provider)) { in mmp3_hsic_phy_probe()
62 return PTR_ERR(provider); in mmp3_hsic_phy_probe()
/drivers/phy/broadcom/
Dphy-bcm-ns2-pcie.c46 struct phy_provider *provider; in ns2_pci_phy_probe() local
57 provider = devm_of_phy_provider_register(&phy->dev, in ns2_pci_phy_probe()
59 if (IS_ERR(provider)) { in ns2_pci_phy_probe()
61 return PTR_ERR(provider); in ns2_pci_phy_probe()
Dphy-bcm-cygnus-pcie.c118 struct phy_provider *provider; in cygnus_pcie_phy_probe() local
178 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in cygnus_pcie_phy_probe()
179 if (IS_ERR(provider)) { in cygnus_pcie_phy_probe()
181 return PTR_ERR(provider); in cygnus_pcie_phy_probe()
/drivers/gpu/drm/
Ddrm_privacy_screen_x86.c66 .provider = "privacy_screen-thinkpad_acpi",
76 .provider = "privacy_screen-GOOG0010:00",
92 arch_init_data[i].lookup.provider); in drm_privacy_screen_lookup_init()
103 if (arch_lookup.provider) in drm_privacy_screen_lookup_exit()
Ddrm_privacy_screen.c121 const char *provider = NULL; in drm_privacy_screen_get() local
160 provider = l->provider; in drm_privacy_screen_get()
167 if (!provider) in drm_privacy_screen_get()
170 priv = drm_privacy_screen_get_by_name(provider); in drm_privacy_screen_get()
/drivers/clk/qcom/
Dclk-cbf-8996.c242 struct icc_provider *provider; in qcom_msm8996_cbf_icc_register() local
244 provider = icc_clk_register(dev, CBF_MASTER_NODE, ARRAY_SIZE(data), data); in qcom_msm8996_cbf_icc_register()
245 if (IS_ERR(provider)) in qcom_msm8996_cbf_icc_register()
246 return PTR_ERR(provider); in qcom_msm8996_cbf_icc_register()
248 platform_set_drvdata(pdev, provider); in qcom_msm8996_cbf_icc_register()
255 struct icc_provider *provider = platform_get_drvdata(pdev); in qcom_msm8996_cbf_icc_remove() local
257 icc_clk_unregister(provider); in qcom_msm8996_cbf_icc_remove()
/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.c76 struct phy_provider *provider; in rcar_gen3_phy_pcie_probe() local
113 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in rcar_gen3_phy_pcie_probe()
114 if (IS_ERR(provider)) { in rcar_gen3_phy_pcie_probe()
116 error = PTR_ERR(provider); in rcar_gen3_phy_pcie_probe()
/drivers/phy/cadence/
Dcdns-dphy-rx.c240 struct phy_provider *provider; in cdns_dphy_rx_probe() local
261 provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in cdns_dphy_rx_probe()
262 if (IS_ERR(provider)) { in cdns_dphy_rx_probe()
264 PTR_ERR(provider)); in cdns_dphy_rx_probe()
265 return PTR_ERR(provider); in cdns_dphy_rx_probe()

1234