Lines Matching full:analog
290 VMSTATE_UINT32_ARRAY(analog, IMX6ULCCMState, CCM_ANALOG_MAX),
308 if (FIELD_EX32(dev->analog[CCM_ANALOG_PLL_SYS], in imx6ul_analog_get_pll2_clk()
334 / FIELD_EX32(dev->analog[CCM_ANALOG_PFD_528], in imx6ul_analog_get_pll2_pfd0_clk()
347 / FIELD_EX32(dev->analog[CCM_ANALOG_PFD_528], in imx6ul_analog_get_pll2_pfd2_clk()
574 s->analog[CCM_ANALOG_PLL_ARM] = 0x00013063; in imx6ul_ccm_reset()
575 s->analog[CCM_ANALOG_PLL_USB1] = 0x00012000; in imx6ul_ccm_reset()
576 s->analog[CCM_ANALOG_PLL_USB2] = 0x00012000; in imx6ul_ccm_reset()
577 s->analog[CCM_ANALOG_PLL_SYS] = 0x00013001; in imx6ul_ccm_reset()
578 s->analog[CCM_ANALOG_PLL_SYS_SS] = 0x00000000; in imx6ul_ccm_reset()
579 s->analog[CCM_ANALOG_PLL_SYS_NUM] = 0x00000000; in imx6ul_ccm_reset()
580 s->analog[CCM_ANALOG_PLL_SYS_DENOM] = 0x00000012; in imx6ul_ccm_reset()
581 s->analog[CCM_ANALOG_PLL_AUDIO] = 0x00011006; in imx6ul_ccm_reset()
582 s->analog[CCM_ANALOG_PLL_AUDIO_NUM] = 0x05F5E100; in imx6ul_ccm_reset()
583 s->analog[CCM_ANALOG_PLL_AUDIO_DENOM] = 0x2964619C; in imx6ul_ccm_reset()
584 s->analog[CCM_ANALOG_PLL_VIDEO] = 0x0001100C; in imx6ul_ccm_reset()
585 s->analog[CCM_ANALOG_PLL_VIDEO_NUM] = 0x05F5E100; in imx6ul_ccm_reset()
586 s->analog[CCM_ANALOG_PLL_VIDEO_DENOM] = 0x10A24447; in imx6ul_ccm_reset()
587 s->analog[CCM_ANALOG_PLL_ENET] = 0x00011001; in imx6ul_ccm_reset()
588 s->analog[CCM_ANALOG_PFD_480] = 0x1311100C; in imx6ul_ccm_reset()
589 s->analog[CCM_ANALOG_PFD_528] = 0x1018101B; in imx6ul_ccm_reset()
591 s->analog[PMU_REG_1P1] = 0x00001073; in imx6ul_ccm_reset()
592 s->analog[PMU_REG_3P0] = 0x00000F74; in imx6ul_ccm_reset()
593 s->analog[PMU_REG_2P5] = 0x00001073; in imx6ul_ccm_reset()
594 s->analog[PMU_REG_CORE] = 0x00482012; in imx6ul_ccm_reset()
595 s->analog[PMU_MISC0] = 0x04000000; in imx6ul_ccm_reset()
596 s->analog[PMU_MISC1] = 0x00000000; in imx6ul_ccm_reset()
597 s->analog[PMU_MISC2] = 0x00272727; in imx6ul_ccm_reset()
598 s->analog[PMU_LOWPWR_CTRL] = 0x00004009; in imx6ul_ccm_reset()
600 s->analog[USB_ANALOG_USB1_VBUS_DETECT] = 0x01000004; in imx6ul_ccm_reset()
601 s->analog[USB_ANALOG_USB1_CHRG_DETECT] = 0x00000000; in imx6ul_ccm_reset()
602 s->analog[USB_ANALOG_USB1_VBUS_DETECT_STAT] = 0x00000000; in imx6ul_ccm_reset()
603 s->analog[USB_ANALOG_USB1_CHRG_DETECT_STAT] = 0x00000000; in imx6ul_ccm_reset()
604 s->analog[USB_ANALOG_USB1_MISC] = 0x00000002; in imx6ul_ccm_reset()
605 s->analog[USB_ANALOG_USB2_VBUS_DETECT] = 0x01000004; in imx6ul_ccm_reset()
606 s->analog[USB_ANALOG_USB2_CHRG_DETECT] = 0x00000000; in imx6ul_ccm_reset()
607 s->analog[USB_ANALOG_USB2_MISC] = 0x00000002; in imx6ul_ccm_reset()
608 s->analog[USB_ANALOG_DIGPROG] = 0x00640000; in imx6ul_ccm_reset()
611 s->analog[CCM_ANALOG_PLL_ARM] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
612 s->analog[CCM_ANALOG_PLL_USB1] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
613 s->analog[CCM_ANALOG_PLL_USB2] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
614 s->analog[CCM_ANALOG_PLL_SYS] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
615 s->analog[CCM_ANALOG_PLL_AUDIO] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
616 s->analog[CCM_ANALOG_PLL_VIDEO] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
617 s->analog[CCM_ANALOG_PLL_ENET] |= CCM_ANALOG_PLL_LOCK; in imx6ul_ccm_reset()
619 s->analog[TEMPMON_TEMPSENSE0] = 0x00000001; in imx6ul_ccm_reset()
620 s->analog[TEMPMON_TEMPSENSE1] = 0x00000001; in imx6ul_ccm_reset()
621 s->analog[TEMPMON_TEMPSENSE2] = 0x00000000; in imx6ul_ccm_reset()
687 value = s->analog[index - 1]; in imx6ul_analog_read()
714 value = s->analog[index - 2]; in imx6ul_analog_read()
741 value = s->analog[index - 3]; in imx6ul_analog_read()
744 value = s->analog[index]; in imx6ul_analog_read()
787 s->analog[index - 1] |= (value & ~analog_mask[index - 1]); in imx6ul_analog_write()
812 s->analog[index - 2] &= ~(value & ~analog_mask[index - 2]); in imx6ul_analog_write()
837 s->analog[index - 3] ^= (value & ~analog_mask[index - 3]); in imx6ul_analog_write()
840 s->analog[index] = (s->analog[index] & analog_mask[index]) | in imx6ul_analog_write()
896 /* We initialize an IO memory region for the ANALOG part */ in imx6ul_ccm_init()
898 TYPE_IMX6UL_CCM ".analog", in imx6ul_ccm_init()
901 /* Add the ANALOG as a subregion at offset 0x4000 */ in imx6ul_ccm_init()