Searched refs:prcm (Results 1 - 48 of 48) sorted by relevance

/linux-4.1.27/arch/arm/mach-omap2/
H A Dclkt2xxx_virt_prcm_set.c102 const struct prcm_config *prcm; omap2_select_table_rate() local
106 for (prcm = rate_table; prcm->mpu_speed; prcm++) { omap2_select_table_rate()
107 if (!(prcm->flags & cpu_mask)) omap2_select_table_rate()
110 if (prcm->xtal_speed != sys_ck_rate) omap2_select_table_rate()
113 if (prcm->mpu_speed <= rate) { omap2_select_table_rate()
114 found_speed = prcm->mpu_speed; omap2_select_table_rate()
125 curr_prcm_set = prcm; omap2_select_table_rate()
128 if (prcm->dpll_speed == cur_rate / 2) { omap2_select_table_rate()
130 } else if (prcm->dpll_speed == cur_rate * 2) { omap2_select_table_rate()
132 } else if (prcm->dpll_speed != cur_rate) { omap2_select_table_rate()
135 if (prcm->dpll_speed == prcm->xtal_speed) omap2_select_table_rate()
138 if ((prcm->cm_clksel2_pll & OMAP24XX_CORE_CLK_SRC_MASK) == omap2_select_table_rate()
144 omap2xxx_cm_set_mod_dividers(prcm->cm_clksel_mpu, omap2_select_table_rate()
145 prcm->cm_clksel_dsp, omap2_select_table_rate()
146 prcm->cm_clksel_gfx, omap2_select_table_rate()
147 prcm->cm_clksel1_core, omap2_select_table_rate()
148 prcm->cm_clksel_mdm); omap2_select_table_rate()
153 omap2_set_prcm(prcm->cm_clksel1_pll, prcm->base_sdrc_rfr, omap2_select_table_rate()
175 const struct prcm_config *prcm = NULL; omap2xxx_clkt_vps_check_bootloader_rates() local
179 for (prcm = rate_table; prcm->mpu_speed; prcm++) { omap2xxx_clkt_vps_check_bootloader_rates()
180 if (!(prcm->flags & cpu_mask)) omap2xxx_clkt_vps_check_bootloader_rates()
182 if (prcm->xtal_speed != sys_ck_rate) omap2xxx_clkt_vps_check_bootloader_rates()
184 if (prcm->dpll_speed <= rate) omap2xxx_clkt_vps_check_bootloader_rates()
187 curr_prcm_set = prcm; omap2xxx_clkt_vps_check_bootloader_rates()
225 * Does a manual init for the virtual prcm DVFS clock for OMAP2. This
H A Domap_hwmod_33xx_43xx_ipblock_data.c29 #define CLKCTRL(oh, clkctrl) ((oh).prcm.omap4.clkctrl_offs = (clkctrl))
30 #define RSTCTRL(oh, rstctrl) ((oh).prcm.omap4.rstctrl_offs = (rstctrl))
31 #define RSTST(oh, rstst) ((oh).prcm.omap4.rstst_offs = (rstst))
47 .prcm = {
68 .prcm = {
90 .prcm = {
103 .prcm = {
123 .prcm = {
157 .prcm = {
181 .prcm = {
191 * 'prcm' class
192 * power and reset manager (whole prcm infrastructure)
195 .name = "prcm",
198 /* prcm */
200 .name = "prcm",
225 .prcm = {
250 .prcm = {
268 .prcm = {
286 .prcm = {
299 .prcm = {
340 .prcm = {
374 .prcm = {
387 .prcm = {
416 .prcm = {
457 .prcm = {
494 .prcm = {
531 .prcm = {
599 .prcm = {
620 .prcm = {
641 .prcm = {
673 .prcm = {
710 .prcm = {
725 .prcm = {
740 .prcm = {
772 .prcm = {
801 .prcm = {
814 .prcm = {
848 .prcm = {
866 .prcm = {
883 .prcm = {
914 .prcm = {
948 .prcm = {
962 .prcm = {
997 .prcm = {
1042 .prcm = {
1054 .prcm = {
1066 .prcm = {
1078 .prcm = {
1090 .prcm = {
1102 .prcm = {
1114 .prcm = {
1131 .prcm = {
1160 .prcm = {
1174 .prcm = {
1188 .prcm = {
1218 .prcm = {
1231 .prcm = {
1245 .prcm = {
1258 .prcm = {
1271 .prcm = {
1284 .prcm = {
1319 .prcm = {
H A Domap_hwmod_2xxx_ipblock_data.c249 .prcm = {
268 .prcm = {
286 .prcm = {
304 .prcm = {
322 .prcm = {
341 .prcm = {
360 .prcm = {
379 .prcm = {
398 .prcm = {
417 .prcm = {
436 .prcm = {
455 .prcm = {
474 .prcm = {
491 .prcm = {
509 .prcm = {
527 .prcm = {
555 .prcm = {
574 .prcm = {
595 .prcm = {
611 .prcm = {
632 .prcm = {
650 .prcm = {
668 .prcm = {
686 .prcm = {
707 .prcm = {
728 .prcm = {
748 .prcm = {
775 .prcm = {
803 .prcm = {
841 .prcm = {
872 .prcm = {
H A Domap_hwmod_43xx_data.c33 .prcm = {
52 .prcm = {
70 .prcm = {
88 .prcm = {
118 .prcm = {
131 .prcm = {
144 .prcm = {
157 .prcm = {
170 .prcm = {
183 .prcm = {
203 .prcm = {
223 .prcm = {
243 .prcm = {
257 .prcm = {
271 .prcm = {
290 .prcm = {
311 .prcm = {
331 .prcm = {
344 .prcm = {
374 .prcm = {
387 .prcm = {
413 .prcm = {
444 .prcm = {
459 .prcm = {
496 .prcm = {
512 .prcm = {
539 .prcm = {
565 .prcm = {
577 .prcm = {
H A Domap_hwmod_54xx_data.c63 .prcm = {
84 .prcm = {
98 .prcm = {
111 .prcm = {
124 .prcm = {
146 .prcm = {
159 .prcm = {
172 .prcm = {
185 .prcm = {
206 .prcm = {
238 .prcm = {
293 .prcm = {
328 .prcm = {
366 .prcm = {
416 .prcm = {
459 .prcm = {
480 .prcm = {
520 .prcm = {
560 .prcm = {
592 .prcm = {
608 .prcm = {
656 .prcm = {
679 .prcm = {
702 .prcm = {
725 .prcm = {
748 .prcm = {
771 .prcm = {
794 .prcm = {
817 .prcm = {
865 .prcm = {
882 .prcm = {
899 .prcm = {
916 .prcm = {
933 .prcm = {
968 .prcm = {
1002 .prcm = {
1040 .prcm = {
1062 .prcm = {
1084 .prcm = {
1135 .prcm = {
1177 .prcm = {
1198 .prcm = {
1219 .prcm = {
1240 .prcm = {
1287 .prcm = {
1305 .prcm = {
1320 .prcm = {
1335 .prcm = {
1350 .prcm = {
1392 .prcm = {
1414 .prcm = {
1440 .prcm = {
1475 .prcm = {
1510 .prcm = {
1563 .prcm = {
1579 .prcm = {
1594 .prcm = {
1609 .prcm = {
1624 .prcm = {
1639 .prcm = {
1654 .prcm = {
1669 .prcm = {
1684 .prcm = {
1700 .prcm = {
1715 .prcm = {
1752 .prcm = {
1767 .prcm = {
1783 .prcm = {
1799 .prcm = {
1814 .prcm = {
1829 .prcm = {
1904 .prcm = {
1939 .prcm = {
1980 .prcm = {
2020 .prcm = {
2048 .prcm = {
2084 .prcm = {
H A Domap_hwmod_7xx_data.c64 .prcm = {
78 .prcm = {
91 .prcm = {
113 .prcm = {
126 .prcm = {
139 .prcm = {
152 .prcm = {
165 .prcm = {
188 .prcm = {
212 .prcm = {
247 .prcm = {
269 .prcm = {
303 .prcm = {
341 .prcm = {
356 .prcm = {
402 .prcm = {
450 .prcm = {
496 .prcm = {
536 .prcm = {
575 .prcm = {
622 .prcm = {
645 .prcm = {
668 .prcm = {
691 .prcm = {
714 .prcm = {
737 .prcm = {
760 .prcm = {
783 .prcm = {
825 .prcm = {
861 .prcm = {
906 .prcm = {
923 .prcm = {
940 .prcm = {
957 .prcm = {
974 .prcm = {
1008 .prcm = {
1021 .prcm = {
1034 .prcm = {
1047 .prcm = {
1060 .prcm = {
1073 .prcm = {
1086 .prcm = {
1099 .prcm = {
1112 .prcm = {
1125 .prcm = {
1138 .prcm = {
1151 .prcm = {
1164 .prcm = {
1204 .prcm = {
1225 .prcm = {
1246 .prcm = {
1267 .prcm = {
1314 .prcm = {
1336 .prcm = {
1357 .prcm = {
1378 .prcm = {
1405 .prcm = {
1440 .prcm = {
1455 .prcm = {
1479 .prcm = {
1494 .prcm = {
1527 .prcm = {
1559 .prcm = {
1596 .prcm = {
1641 .prcm = {
1662 .prcm = {
1699 .prcm = {
1750 .prcm = {
1765 .prcm = {
1780 .prcm = {
1795 .prcm = {
1810 .prcm = {
1825 .prcm = {
1840 .prcm = {
1855 .prcm = {
1870 .prcm = {
1885 .prcm = {
1900 .prcm = {
1915 .prcm = {
1930 .prcm = {
1945 .prcm = {
1960 .prcm = {
1998 .prcm = {
2014 .prcm = {
2030 .prcm = {
2046 .prcm = {
2062 .prcm = {
2078 .prcm = {
2094 .prcm = {
2110 .prcm = {
2126 .prcm = {
2142 .prcm = {
2182 .prcm = {
2203 .prcm = {
2220 .prcm = {
2235 .prcm = {
2259 .prcm = {
2273 .prcm = {
2310 .prcm = {
H A Domap_hwmod_81xx_data.c161 .prcm = {
204 .prcm = {
225 .prcm = {
246 .prcm = {
284 .prcm = {
321 .prcm = {
341 .prcm = {
418 .prcm = {
444 .prcm = {
481 .prcm = {
513 .prcm = {
552 .prcm = {
573 .prcm = {
594 .prcm = {
615 .prcm = {
636 .prcm = {
657 .prcm = {
678 .prcm = {
740 .prcm = {
759 .prcm = {
805 .prcm = {
848 .prcm = {
885 .prcm = {
908 .prcm = {
941 .prcm = {
983 .prcm = {
1025 .prcm = {
1067 .prcm = {
H A Domap_hwmod_2430_data.c89 .prcm = {
115 .prcm = {
133 .prcm = {
167 .prcm = {
186 .prcm = {
221 .prcm = {
268 .prcm = {
286 .prcm = {
304 .prcm = {
322 .prcm = {
340 .prcm = {
385 .prcm = {
409 .prcm = {
425 .prcm = {
H A Domap_hwmod_44xx_data.c68 .prcm = {
89 .prcm = {
103 .prcm = {
116 .prcm = {
129 .prcm = {
151 .prcm = {
166 .prcm = {
179 .prcm = {
192 .prcm = {
213 .prcm = {
233 .prcm = {
280 .prcm = {
305 .prcm = {
338 .prcm = {
371 .prcm = {
383 .prcm = {
395 .prcm = {
407 .prcm = {
429 .prcm = {
484 .prcm = {
519 .prcm = {
549 .prcm = {
589 .prcm = {
647 .prcm = {
701 .prcm = {
735 .prcm = {
794 .prcm = {
841 .prcm = {
867 .prcm = {
902 .prcm = {
931 .prcm = {
947 .prcm = {
991 .prcm = {
1039 .prcm = {
1062 .prcm = {
1085 .prcm = {
1108 .prcm = {
1131 .prcm = {
1154 .prcm = {
1200 .prcm = {
1235 .prcm = {
1270 .prcm = {
1309 .prcm = {
1353 .prcm = {
1370 .prcm = {
1387 .prcm = {
1404 .prcm = {
1436 .prcm = {
1486 .prcm = {
1520 .prcm = {
1558 .prcm = {
1592 .prcm = {
1629 .prcm = {
1668 .prcm = {
1690 .prcm = {
1712 .prcm = {
1734 .prcm = {
1784 .prcm = {
1839 .prcm = {
1869 .prcm = {
1899 .prcm = {
1927 .prcm = {
1977 .prcm = {
2000 .prcm = {
2022 .prcm = {
2044 .prcm = {
2066 .prcm = {
2132 .prcm = {
2179 .prcm = {
2206 .prcm = {
2228 .prcm = {
2273 .prcm = {
2283 * 'prcm' class
2284 * power and reset manager (part of the prcm infrastructure) + clock manager 2
2289 .name = "prcm",
2298 .prcm = {
2310 .prcm = {
2322 .prcm = {
2356 .prcm = {
2377 .prcm = {
2419 .prcm = {
2441 .prcm = {
2489 .prcm = {
2509 .prcm = {
2529 .prcm = {
2566 .prcm = {
2640 .prcm = {
2657 .prcm = {
2672 .prcm = {
2687 .prcm = {
2702 .prcm = {
2718 .prcm = {
2734 .prcm = {
2750 .prcm = {
2766 .prcm = {
2783 .prcm = {
2799 .prcm = {
2838 .prcm = {
2854 .prcm = {
2870 .prcm = {
2886 .prcm = {
2928 .prcm = {
2965 .prcm = {
3048 .prcm = {
3085 .prcm = {
3124 .prcm = {
3139 .prcm = {
H A Domap_hwmod_33xx_data.c57 .prcm = {
72 .prcm = {
92 .prcm = {
127 .prcm = {
160 .prcm = {
180 .prcm = {
198 .prcm = {
225 .prcm = {
241 .prcm = {
260 .prcm = {
291 .prcm = {
323 .prcm = {
539 .prcm = {
H A Domap_hwmod_3xxx_data.c126 .prcm = {
204 .prcm = {
223 .prcm = {
241 .prcm = {
259 .prcm = {
277 .prcm = {
296 .prcm = {
315 .prcm = {
334 .prcm = {
353 .prcm = {
372 .prcm = {
391 .prcm = {
415 .prcm = {
471 .prcm = {
494 .prcm = {
513 .prcm = {
533 .prcm = {
563 .prcm = {
605 .prcm = {
650 .prcm = {
670 .prcm = {
711 .prcm = {
746 .prcm = {
766 .prcm = {
787 .prcm = {
811 .prcm = {
836 .prcm = {
872 .prcm = {
925 .prcm = {
950 .prcm = {
975 .prcm = {
1000 .prcm = {
1030 .prcm = {
1060 .prcm = {
1104 .prcm = {
1162 .prcm = {
1193 .prcm = {
1225 .prcm = {
1259 .prcm = {
1292 .prcm = {
1328 .prcm = {
1350 .prcm = {
1412 .prcm = {
1430 .prcm = {
1457 .prcm = {
1475 .prcm = {
1530 .prcm = {
1575 .prcm = {
1598 .prcm = {
1634 .prcm = {
1668 .prcm = {
1711 .prcm = {
1806 .prcm = {
1826 .prcm = {
1868 .prcm = {
1888 .prcm = {
1924 .prcm = {
1970 .prcm = {
2053 .prcm = {
2068 .prcm = {
2095 .prcm = {
2130 .prcm = {
3065 .prcm = {
3560 .prcm = {
3621 .prcm = {
3675 .prcm = {
H A Dcm44xx.h20 #include "prcm-common.h"
H A DMakefile117 omap-prcm-4-5-common = cminst44xx.o prm44xx.o \
120 obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)
121 obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common)
122 obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common)
123 am33xx-43xx-prcm-common += prm33xx.o cm33xx.o
124 obj-$(CONFIG_SOC_TI81XX) += $(am33xx-43xx-prcm-common)
125 obj-$(CONFIG_SOC_AM33XX) += $(am33xx-43xx-prcm-common)
126 obj-$(CONFIG_SOC_AM43XX) += $(omap-prcm-4-5-common) \
127 $(am33xx-43xx-prcm-common)
H A Domap_hwmod_2420_data.c111 .prcm = {
134 .prcm = {
169 .prcm = {
199 .prcm = {
217 .prcm = {
249 .prcm = {
265 .prcm = {
H A Dcm2xxx.h19 #include "prcm-common.h"
H A Dcm3xxx.h19 #include "prcm-common.h"
H A Dpowerdomains2xxx_3xxx_data.c36 #include "prcm-common.h"
H A Dpowerdomains2xxx_data.c21 #include "prcm-common.h"
H A Dpowerdomains43xx_data.c16 #include "prcm-common.h"
H A Dprm44xx_54xx.h26 #include "prcm-common.h"
H A Dcm_common.c276 { .compatible = "ti,omap2-prcm", .data = &omap2_prcm_data },
294 { .compatible = "ti,am3-prcm", .data = &am3_prcm_data },
297 { .compatible = "ti,am4-prcm", .data = &am4_prcm_data },
300 { .compatible = "ti,dm814-prcm", .data = &am3_prcm_data },
301 { .compatible = "ti,dm816-prcm", .data = &am3_prcm_data },
H A Dprm_common.c257 * omap_prcm_register_chain_handler - initializes the prcm chained interrupt
710 { .compatible = "ti,am3-prcm", .data = &am3_prm_data },
713 { .compatible = "ti,am4-prcm", .data = &am4_prm_data },
716 { .compatible = "ti,dm814-prcm", .data = &am3_prm_data },
717 { .compatible = "ti,dm816-prcm", .data = &am3_prm_data },
720 { .compatible = "ti,omap2-prcm", .data = &omap2_prm_data },
H A Dpowerdomains33xx_data.c20 #include "prcm-common.h"
H A Dprm2xxx.h19 #include "prcm-common.h"
H A Dprm33xx.h19 #include "prcm-common.h"
H A Domap_hwmod.c987 if (!oh->clkdm || !oh->prcm.omap4.modulemode) _omap4_enable_module()
991 oh->name, __func__, oh->prcm.omap4.modulemode); _omap4_enable_module()
993 omap_cm_module_enable(oh->prcm.omap4.modulemode, _omap4_enable_module()
995 oh->clkdm->cm_inst, oh->prcm.omap4.clkctrl_offs); _omap4_enable_module()
1020 oh->prcm.omap4.clkctrl_offs, 0); _omap4_wait_target_disable()
1812 if (!oh->clkdm || !oh->prcm.omap4.modulemode) _omap4_disable_module()
1825 oh->prcm.omap4.clkctrl_offs); _omap4_disable_module()
2014 if (oh->prcm.omap4.flags & HWMOD_OMAP4_NO_CONTEXT_LOSS_BIT) _omap4_update_context_lost()
2019 oh->prcm.omap4.context_offs)) _omap4_update_context_lost()
2022 oh->prcm.omap4.context_lost_counter++; _omap4_update_context_lost()
2025 oh->prcm.omap4.context_offs); _omap4_update_context_lost()
2036 return oh->prcm.omap4.context_lost_counter; _omap4_get_context_lost()
2914 return omap_cm_wait_module_ready(0, oh->prcm.omap2.module_offs, _omap2xxx_3xxx_wait_target_ready()
2915 oh->prcm.omap2.idlest_reg_id, _omap2xxx_3xxx_wait_target_ready()
2916 oh->prcm.omap2.idlest_idle_bit); _omap2xxx_3xxx_wait_target_ready()
2943 oh->prcm.omap4.clkctrl_offs, 0); _omap4_wait_target_ready()
2961 oh->prcm.omap2.module_offs, 0); _omap2_assert_hardreset()
2979 oh->prcm.omap2.module_offs, 0, 0); _omap2_deassert_hardreset()
2998 oh->prcm.omap2.module_offs, 0); _omap2_is_hardreset_asserted()
3022 oh->prcm.omap4.rstctrl_offs); _omap4_assert_hardreset()
3049 oh->prcm.omap4.rstctrl_offs, _omap4_deassert_hardreset()
3050 oh->prcm.omap4.rstctrl_offs + _omap4_deassert_hardreset()
3076 oh->prcm.omap4.rstctrl_offs); _omap4_is_hardreset_asserted()
3097 oh->prcm.omap4.rstctrl_offs, _am33xx_deassert_hardreset()
3098 oh->prcm.omap4.rstst_offs); _am33xx_deassert_hardreset()
H A Dprm.h16 #include "prcm-common.h"
H A Dprm3xxx.h19 #include "prcm-common.h"
H A Dprminst44xx.c21 #include "prcm-common.h"
H A Dclkt2xxx_dpllcore.c74 * Uses the current prcm set to tell if a rate is valid.
H A Dpm.c28 #include "prcm-common.h"
H A Dpowerdomains3xxx_data.c21 #include "prcm-common.h"
H A Dpowerdomains44xx_data.c27 #include "prcm-common.h"
H A Dpowerdomains54xx_data.c26 #include "prcm-common.h"
H A Dpowerdomains7xx_data.c28 #include "prcm-common.h"
H A Dprm2xxx_3xxx.h19 #include "prcm-common.h"
H A Domap_hwmod_33xx_43xx_interconnect_data.c61 /* mpu -> prcm */
H A Dcm33xx.h22 #include "prcm-common.h"
H A Dcminst44xx.c33 #include "prcm-common.h"
H A Domap_hwmod.h622 * @prcm: PRCM data pertaining to this hwmod
671 } prcm; member in struct:omap_hwmod
H A Dprm7xx.h25 #include "prcm-common.h"
/linux-4.1.27/drivers/mfd/
H A Dsun6i-prcm.c126 .compatible = "allwinner,sun6i-a31-prcm",
130 .compatible = "allwinner,sun8i-a23-prcm",
152 dev_err(&pdev->dev, "no prcm memory region provided\n"); sun6i_prcm_probe()
168 .name = "sun6i-prcm",
H A DMakefile32 obj-$(CONFIG_MFD_SUN6I_PRCM) += sun6i-prcm.o
/linux-4.1.27/arch/arm/mach-sunxi/
H A Dplatsmp.c46 node = of_find_compatible_node(NULL, NULL, "allwinner,sun6i-a31-prcm"); sun6i_smp_prepare_cpus()
/linux-4.1.27/drivers/usb/musb/
H A Dtusb6010.c72 "prcm", tusb_print_revision()
557 u32 conf, prcm, timer; tusb_musb_set_vbus() local
566 prcm = musb_readl(tbase, TUSB_PRCM_MNGMT); tusb_musb_set_vbus()
610 prcm &= ~(TUSB_PRCM_MNGMT_15_SW_EN | TUSB_PRCM_MNGMT_33_SW_EN); tusb_musb_set_vbus()
612 musb_writel(tbase, TUSB_PRCM_MNGMT, prcm); tusb_musb_set_vbus()
617 dev_dbg(musb->controller, "VBUS %s, devctl %02x otg %3x conf %08x prcm %08x\n", tusb_musb_set_vbus()
621 conf, prcm); tusb_musb_set_vbus()
H A Dblackfin.c344 /* otg %3x conf %08x prcm %08x */ "\n", bfin_musb_set_vbus()
H A Domap2430.c203 /* otg %3x conf %08x prcm %08x */ "\n", omap2430_musb_set_vbus()
/linux-4.1.27/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c2000 prcm_np = of_parse_phandle(np, "prcm", 0); nmk_pinctrl_probe()

Completed in 663 milliseconds