Lines Matching refs:cm_context
304 static struct omap3_cm_regs cm_context; variable
308 cm_context.iva2_cm_clksel1 = in omap3_cm_save_context()
310 cm_context.iva2_cm_clksel2 = in omap3_cm_save_context()
312 cm_context.cm_sysconfig = __raw_readl(OMAP3430_CM_SYSCONFIG); in omap3_cm_save_context()
313 cm_context.sgx_cm_clksel = in omap3_cm_save_context()
315 cm_context.dss_cm_clksel = in omap3_cm_save_context()
317 cm_context.cam_cm_clksel = in omap3_cm_save_context()
319 cm_context.per_cm_clksel = in omap3_cm_save_context()
321 cm_context.emu_cm_clksel = in omap3_cm_save_context()
323 cm_context.emu_cm_clkstctrl = in omap3_cm_save_context()
332 cm_context.pll_cm_autoidle = in omap3_cm_save_context()
334 cm_context.pll_cm_autoidle2 = in omap3_cm_save_context()
336 cm_context.pll_cm_clksel4 = in omap3_cm_save_context()
338 cm_context.pll_cm_clksel5 = in omap3_cm_save_context()
340 cm_context.pll_cm_clken2 = in omap3_cm_save_context()
342 cm_context.cm_polctrl = __raw_readl(OMAP3430_CM_POLCTRL); in omap3_cm_save_context()
343 cm_context.iva2_cm_fclken = in omap3_cm_save_context()
345 cm_context.iva2_cm_clken_pll = in omap3_cm_save_context()
347 cm_context.core_cm_fclken1 = in omap3_cm_save_context()
349 cm_context.core_cm_fclken3 = in omap3_cm_save_context()
351 cm_context.sgx_cm_fclken = in omap3_cm_save_context()
353 cm_context.wkup_cm_fclken = in omap3_cm_save_context()
355 cm_context.dss_cm_fclken = in omap3_cm_save_context()
357 cm_context.cam_cm_fclken = in omap3_cm_save_context()
359 cm_context.per_cm_fclken = in omap3_cm_save_context()
361 cm_context.usbhost_cm_fclken = in omap3_cm_save_context()
363 cm_context.core_cm_iclken1 = in omap3_cm_save_context()
365 cm_context.core_cm_iclken2 = in omap3_cm_save_context()
367 cm_context.core_cm_iclken3 = in omap3_cm_save_context()
369 cm_context.sgx_cm_iclken = in omap3_cm_save_context()
371 cm_context.wkup_cm_iclken = in omap3_cm_save_context()
373 cm_context.dss_cm_iclken = in omap3_cm_save_context()
375 cm_context.cam_cm_iclken = in omap3_cm_save_context()
377 cm_context.per_cm_iclken = in omap3_cm_save_context()
379 cm_context.usbhost_cm_iclken = in omap3_cm_save_context()
381 cm_context.iva2_cm_autoidle2 = in omap3_cm_save_context()
383 cm_context.mpu_cm_autoidle2 = in omap3_cm_save_context()
385 cm_context.iva2_cm_clkstctrl = in omap3_cm_save_context()
387 cm_context.mpu_cm_clkstctrl = in omap3_cm_save_context()
389 cm_context.core_cm_clkstctrl = in omap3_cm_save_context()
391 cm_context.sgx_cm_clkstctrl = in omap3_cm_save_context()
393 cm_context.dss_cm_clkstctrl = in omap3_cm_save_context()
395 cm_context.cam_cm_clkstctrl = in omap3_cm_save_context()
397 cm_context.per_cm_clkstctrl = in omap3_cm_save_context()
399 cm_context.neon_cm_clkstctrl = in omap3_cm_save_context()
401 cm_context.usbhost_cm_clkstctrl = in omap3_cm_save_context()
404 cm_context.core_cm_autoidle1 = in omap3_cm_save_context()
406 cm_context.core_cm_autoidle2 = in omap3_cm_save_context()
408 cm_context.core_cm_autoidle3 = in omap3_cm_save_context()
410 cm_context.wkup_cm_autoidle = in omap3_cm_save_context()
412 cm_context.dss_cm_autoidle = in omap3_cm_save_context()
414 cm_context.cam_cm_autoidle = in omap3_cm_save_context()
416 cm_context.per_cm_autoidle = in omap3_cm_save_context()
418 cm_context.usbhost_cm_autoidle = in omap3_cm_save_context()
420 cm_context.sgx_cm_sleepdep = in omap3_cm_save_context()
423 cm_context.dss_cm_sleepdep = in omap3_cm_save_context()
425 cm_context.cam_cm_sleepdep = in omap3_cm_save_context()
427 cm_context.per_cm_sleepdep = in omap3_cm_save_context()
429 cm_context.usbhost_cm_sleepdep = in omap3_cm_save_context()
432 cm_context.cm_clkout_ctrl = in omap3_cm_save_context()
439 omap2_cm_write_mod_reg(cm_context.iva2_cm_clksel1, OMAP3430_IVA2_MOD, in omap3_cm_restore_context()
441 omap2_cm_write_mod_reg(cm_context.iva2_cm_clksel2, OMAP3430_IVA2_MOD, in omap3_cm_restore_context()
443 __raw_writel(cm_context.cm_sysconfig, OMAP3430_CM_SYSCONFIG); in omap3_cm_restore_context()
444 omap2_cm_write_mod_reg(cm_context.sgx_cm_clksel, OMAP3430ES2_SGX_MOD, in omap3_cm_restore_context()
446 omap2_cm_write_mod_reg(cm_context.dss_cm_clksel, OMAP3430_DSS_MOD, in omap3_cm_restore_context()
448 omap2_cm_write_mod_reg(cm_context.cam_cm_clksel, OMAP3430_CAM_MOD, in omap3_cm_restore_context()
450 omap2_cm_write_mod_reg(cm_context.per_cm_clksel, OMAP3430_PER_MOD, in omap3_cm_restore_context()
452 omap2_cm_write_mod_reg(cm_context.emu_cm_clksel, OMAP3430_EMU_MOD, in omap3_cm_restore_context()
454 omap2_cm_write_mod_reg(cm_context.emu_cm_clkstctrl, OMAP3430_EMU_MOD, in omap3_cm_restore_context()
461 omap2_cm_write_mod_reg(cm_context.pll_cm_autoidle, PLL_MOD, in omap3_cm_restore_context()
463 omap2_cm_write_mod_reg(cm_context.pll_cm_autoidle2, PLL_MOD, in omap3_cm_restore_context()
465 omap2_cm_write_mod_reg(cm_context.pll_cm_clksel4, PLL_MOD, in omap3_cm_restore_context()
467 omap2_cm_write_mod_reg(cm_context.pll_cm_clksel5, PLL_MOD, in omap3_cm_restore_context()
469 omap2_cm_write_mod_reg(cm_context.pll_cm_clken2, PLL_MOD, in omap3_cm_restore_context()
471 __raw_writel(cm_context.cm_polctrl, OMAP3430_CM_POLCTRL); in omap3_cm_restore_context()
472 omap2_cm_write_mod_reg(cm_context.iva2_cm_fclken, OMAP3430_IVA2_MOD, in omap3_cm_restore_context()
474 omap2_cm_write_mod_reg(cm_context.iva2_cm_clken_pll, OMAP3430_IVA2_MOD, in omap3_cm_restore_context()
476 omap2_cm_write_mod_reg(cm_context.core_cm_fclken1, CORE_MOD, in omap3_cm_restore_context()
478 omap2_cm_write_mod_reg(cm_context.core_cm_fclken3, CORE_MOD, in omap3_cm_restore_context()
480 omap2_cm_write_mod_reg(cm_context.sgx_cm_fclken, OMAP3430ES2_SGX_MOD, in omap3_cm_restore_context()
482 omap2_cm_write_mod_reg(cm_context.wkup_cm_fclken, WKUP_MOD, CM_FCLKEN); in omap3_cm_restore_context()
483 omap2_cm_write_mod_reg(cm_context.dss_cm_fclken, OMAP3430_DSS_MOD, in omap3_cm_restore_context()
485 omap2_cm_write_mod_reg(cm_context.cam_cm_fclken, OMAP3430_CAM_MOD, in omap3_cm_restore_context()
487 omap2_cm_write_mod_reg(cm_context.per_cm_fclken, OMAP3430_PER_MOD, in omap3_cm_restore_context()
489 omap2_cm_write_mod_reg(cm_context.usbhost_cm_fclken, in omap3_cm_restore_context()
491 omap2_cm_write_mod_reg(cm_context.core_cm_iclken1, CORE_MOD, in omap3_cm_restore_context()
493 omap2_cm_write_mod_reg(cm_context.core_cm_iclken2, CORE_MOD, in omap3_cm_restore_context()
495 omap2_cm_write_mod_reg(cm_context.core_cm_iclken3, CORE_MOD, in omap3_cm_restore_context()
497 omap2_cm_write_mod_reg(cm_context.sgx_cm_iclken, OMAP3430ES2_SGX_MOD, in omap3_cm_restore_context()
499 omap2_cm_write_mod_reg(cm_context.wkup_cm_iclken, WKUP_MOD, CM_ICLKEN); in omap3_cm_restore_context()
500 omap2_cm_write_mod_reg(cm_context.dss_cm_iclken, OMAP3430_DSS_MOD, in omap3_cm_restore_context()
502 omap2_cm_write_mod_reg(cm_context.cam_cm_iclken, OMAP3430_CAM_MOD, in omap3_cm_restore_context()
504 omap2_cm_write_mod_reg(cm_context.per_cm_iclken, OMAP3430_PER_MOD, in omap3_cm_restore_context()
506 omap2_cm_write_mod_reg(cm_context.usbhost_cm_iclken, in omap3_cm_restore_context()
508 omap2_cm_write_mod_reg(cm_context.iva2_cm_autoidle2, OMAP3430_IVA2_MOD, in omap3_cm_restore_context()
510 omap2_cm_write_mod_reg(cm_context.mpu_cm_autoidle2, MPU_MOD, in omap3_cm_restore_context()
512 omap2_cm_write_mod_reg(cm_context.iva2_cm_clkstctrl, OMAP3430_IVA2_MOD, in omap3_cm_restore_context()
514 omap2_cm_write_mod_reg(cm_context.mpu_cm_clkstctrl, MPU_MOD, in omap3_cm_restore_context()
516 omap2_cm_write_mod_reg(cm_context.core_cm_clkstctrl, CORE_MOD, in omap3_cm_restore_context()
518 omap2_cm_write_mod_reg(cm_context.sgx_cm_clkstctrl, OMAP3430ES2_SGX_MOD, in omap3_cm_restore_context()
520 omap2_cm_write_mod_reg(cm_context.dss_cm_clkstctrl, OMAP3430_DSS_MOD, in omap3_cm_restore_context()
522 omap2_cm_write_mod_reg(cm_context.cam_cm_clkstctrl, OMAP3430_CAM_MOD, in omap3_cm_restore_context()
524 omap2_cm_write_mod_reg(cm_context.per_cm_clkstctrl, OMAP3430_PER_MOD, in omap3_cm_restore_context()
526 omap2_cm_write_mod_reg(cm_context.neon_cm_clkstctrl, OMAP3430_NEON_MOD, in omap3_cm_restore_context()
528 omap2_cm_write_mod_reg(cm_context.usbhost_cm_clkstctrl, in omap3_cm_restore_context()
530 omap2_cm_write_mod_reg(cm_context.core_cm_autoidle1, CORE_MOD, in omap3_cm_restore_context()
532 omap2_cm_write_mod_reg(cm_context.core_cm_autoidle2, CORE_MOD, in omap3_cm_restore_context()
534 omap2_cm_write_mod_reg(cm_context.core_cm_autoidle3, CORE_MOD, in omap3_cm_restore_context()
536 omap2_cm_write_mod_reg(cm_context.wkup_cm_autoidle, WKUP_MOD, in omap3_cm_restore_context()
538 omap2_cm_write_mod_reg(cm_context.dss_cm_autoidle, OMAP3430_DSS_MOD, in omap3_cm_restore_context()
540 omap2_cm_write_mod_reg(cm_context.cam_cm_autoidle, OMAP3430_CAM_MOD, in omap3_cm_restore_context()
542 omap2_cm_write_mod_reg(cm_context.per_cm_autoidle, OMAP3430_PER_MOD, in omap3_cm_restore_context()
544 omap2_cm_write_mod_reg(cm_context.usbhost_cm_autoidle, in omap3_cm_restore_context()
546 omap2_cm_write_mod_reg(cm_context.sgx_cm_sleepdep, OMAP3430ES2_SGX_MOD, in omap3_cm_restore_context()
548 omap2_cm_write_mod_reg(cm_context.dss_cm_sleepdep, OMAP3430_DSS_MOD, in omap3_cm_restore_context()
550 omap2_cm_write_mod_reg(cm_context.cam_cm_sleepdep, OMAP3430_CAM_MOD, in omap3_cm_restore_context()
552 omap2_cm_write_mod_reg(cm_context.per_cm_sleepdep, OMAP3430_PER_MOD, in omap3_cm_restore_context()
554 omap2_cm_write_mod_reg(cm_context.usbhost_cm_sleepdep, in omap3_cm_restore_context()
556 omap2_cm_write_mod_reg(cm_context.cm_clkout_ctrl, OMAP3430_CCR_MOD, in omap3_cm_restore_context()