Lines Matching full:analog
240 VMSTATE_UINT32_ARRAY(analog, IMX6CCMState, CCM_ANALOG_MAX),
249 if (EXTRACT(dev->analog[CCM_ANALOG_PLL_SYS], DIV_SELECT)) { in imx6_analog_get_pll2_clk()
265 / EXTRACT(dev->analog[CCM_ANALOG_PFD_528], PFD0_FRAC); in imx6_analog_get_pll2_pfd0_clk()
277 / EXTRACT(dev->analog[CCM_ANALOG_PFD_528], PFD2_FRAC); in imx6_analog_get_pll2_pfd2_clk()
419 s->analog[CCM_ANALOG_PLL_ARM] = 0x00013042; in imx6_ccm_reset()
420 s->analog[CCM_ANALOG_PLL_USB1] = 0x00012000; in imx6_ccm_reset()
421 s->analog[CCM_ANALOG_PLL_USB2] = 0x00012000; in imx6_ccm_reset()
422 s->analog[CCM_ANALOG_PLL_SYS] = 0x00013001; in imx6_ccm_reset()
423 s->analog[CCM_ANALOG_PLL_SYS_SS] = 0x00000000; in imx6_ccm_reset()
424 s->analog[CCM_ANALOG_PLL_SYS_NUM] = 0x00000000; in imx6_ccm_reset()
425 s->analog[CCM_ANALOG_PLL_SYS_DENOM] = 0x00000012; in imx6_ccm_reset()
426 s->analog[CCM_ANALOG_PLL_AUDIO] = 0x00011006; in imx6_ccm_reset()
427 s->analog[CCM_ANALOG_PLL_AUDIO_NUM] = 0x05F5E100; in imx6_ccm_reset()
428 s->analog[CCM_ANALOG_PLL_AUDIO_DENOM] = 0x2964619C; in imx6_ccm_reset()
429 s->analog[CCM_ANALOG_PLL_VIDEO] = 0x0001100C; in imx6_ccm_reset()
430 s->analog[CCM_ANALOG_PLL_VIDEO_NUM] = 0x05F5E100; in imx6_ccm_reset()
431 s->analog[CCM_ANALOG_PLL_VIDEO_DENOM] = 0x10A24447; in imx6_ccm_reset()
432 s->analog[CCM_ANALOG_PLL_MLB] = 0x00010000; in imx6_ccm_reset()
433 s->analog[CCM_ANALOG_PLL_ENET] = 0x00011001; in imx6_ccm_reset()
434 s->analog[CCM_ANALOG_PFD_480] = 0x1311100C; in imx6_ccm_reset()
435 s->analog[CCM_ANALOG_PFD_528] = 0x1018101B; in imx6_ccm_reset()
437 s->analog[PMU_REG_1P1] = 0x00001073; in imx6_ccm_reset()
438 s->analog[PMU_REG_3P0] = 0x00000F74; in imx6_ccm_reset()
439 s->analog[PMU_REG_2P5] = 0x00005071; in imx6_ccm_reset()
440 s->analog[PMU_REG_CORE] = 0x00402010; in imx6_ccm_reset()
441 s->analog[PMU_MISC0] = 0x04000080; in imx6_ccm_reset()
442 s->analog[PMU_MISC1] = 0x00000000; in imx6_ccm_reset()
443 s->analog[PMU_MISC2] = 0x00272727; in imx6_ccm_reset()
445 s->analog[USB_ANALOG_USB1_VBUS_DETECT] = 0x00000004; in imx6_ccm_reset()
446 s->analog[USB_ANALOG_USB1_CHRG_DETECT] = 0x00000000; in imx6_ccm_reset()
447 s->analog[USB_ANALOG_USB1_VBUS_DETECT_STAT] = 0x00000000; in imx6_ccm_reset()
448 s->analog[USB_ANALOG_USB1_CHRG_DETECT_STAT] = 0x00000000; in imx6_ccm_reset()
449 s->analog[USB_ANALOG_USB1_MISC] = 0x00000002; in imx6_ccm_reset()
450 s->analog[USB_ANALOG_USB2_VBUS_DETECT] = 0x00000004; in imx6_ccm_reset()
451 s->analog[USB_ANALOG_USB2_CHRG_DETECT] = 0x00000000; in imx6_ccm_reset()
452 s->analog[USB_ANALOG_USB2_MISC] = 0x00000002; in imx6_ccm_reset()
453 s->analog[USB_ANALOG_DIGPROG] = 0x00630000; in imx6_ccm_reset()
456 s->analog[CCM_ANALOG_PLL_ARM] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
457 s->analog[CCM_ANALOG_PLL_USB1] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
458 s->analog[CCM_ANALOG_PLL_USB2] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
459 s->analog[CCM_ANALOG_PLL_SYS] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
460 s->analog[CCM_ANALOG_PLL_AUDIO] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
461 s->analog[CCM_ANALOG_PLL_VIDEO] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
462 s->analog[CCM_ANALOG_PLL_MLB] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
463 s->analog[CCM_ANALOG_PLL_ENET] |= CCM_ANALOG_PLL_LOCK; in imx6_ccm_reset()
524 value = s->analog[index - 1]; in imx6_analog_read()
549 value = s->analog[index - 2]; in imx6_analog_read()
574 value = s->analog[index - 3]; in imx6_analog_read()
577 value = s->analog[index]; in imx6_analog_read()
619 s->analog[index - 1] |= value; in imx6_analog_write()
645 s->analog[index - 2] &= ~value; in imx6_analog_write()
671 s->analog[index - 3] ^= value; in imx6_analog_write()
678 s->analog[index] = value; in imx6_analog_write()
733 /* We initialize an IO memory region for the ANALOG part */ in imx6_ccm_init()
735 TYPE_IMX6_CCM ".analog", in imx6_ccm_init()
738 /* Add the ANALOG as a subregion at offset 0x4000 */ in imx6_ccm_init()