Lines Matching full:dss

16 #include "dss.h"
28 int dss_pll_register(struct dss_device *dss, struct dss_pll *pll) in dss_pll_register() argument
32 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_register()
33 if (!dss->plls[i]) { in dss_pll_register()
34 dss->plls[i] = pll; in dss_pll_register()
35 pll->dss = dss; in dss_pll_register()
45 struct dss_device *dss = pll->dss; in dss_pll_unregister() local
48 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_unregister()
49 if (dss->plls[i] == pll) { in dss_pll_unregister()
50 dss->plls[i] = NULL; in dss_pll_unregister()
51 pll->dss = NULL; in dss_pll_unregister()
57 struct dss_pll *dss_pll_find(struct dss_device *dss, const char *name) in dss_pll_find() argument
61 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_find()
62 if (dss->plls[i] && strcmp(dss->plls[i]->name, name) == 0) in dss_pll_find()
63 return dss->plls[i]; in dss_pll_find()
69 struct dss_pll *dss_pll_find_by_src(struct dss_device *dss, in dss_pll_find_by_src() argument
80 return dss_pll_find(dss, "hdmi"); in dss_pll_find_by_src()
85 pll = dss_pll_find(dss, "dsi0"); in dss_pll_find_by_src()
87 pll = dss_pll_find(dss, "video0"); in dss_pll_find_by_src()
93 pll = dss_pll_find(dss, "dsi1"); in dss_pll_find_by_src()
95 pll = dss_pll_find(dss, "video1"); in dss_pll_find_by_src()
489 DSSERR("DSS DPLL GO bit not going down.\n"); in dss_pll_write_config_type_a()
495 DSSERR("cannot lock DSS DPLL\n"); in dss_pll_write_config_type_a()
562 DSSERR("DSS DPLL GO bit not going down.\n"); in dss_pll_write_config_type_b()
567 DSSERR("cannot lock DSS DPLL\n"); in dss_pll_write_config_type_b()