Lines Matching +full:0 +full:x0a0

55 #define	ANADIG_PLL3_CTRL	0x010	/* PLL3 Control */
56 #define ANADIG_PLL7_CTRL 0x020 /* PLL7 Control */
57 #define ANADIG_PLL2_CTRL 0x030 /* PLL2 Control */
58 #define ANADIG_PLL2_SS 0x040 /* PLL2 Spread Spectrum */
59 #define ANADIG_PLL2_NUM 0x050 /* PLL2 Numerator */
60 #define ANADIG_PLL2_DENOM 0x060 /* PLL2 Denominator */
61 #define ANADIG_PLL4_CTRL 0x070 /* PLL4 Control */
62 #define ANADIG_PLL4_NUM 0x080 /* PLL4 Numerator */
63 #define ANADIG_PLL4_DENOM 0x090 /* PLL4 Denominator */
64 #define ANADIG_PLL6_CTRL 0x0A0 /* PLL6 Control */
65 #define ANADIG_PLL6_NUM 0x0B0 /* PLL6 Numerator */
66 #define ANADIG_PLL6_DENOM 0x0C0 /* PLL6 Denominator */
67 #define ANADIG_PLL5_CTRL 0x0E0 /* PLL5 Control */
68 #define ANADIG_PLL3_PFD 0x0F0 /* PLL3 PFD */
69 #define ANADIG_PLL2_PFD 0x100 /* PLL2 PFD */
70 #define ANADIG_REG_1P1 0x110 /* Regulator 1P1 */
71 #define ANADIG_REG_3P0 0x120 /* Regulator 3P0 */
72 #define ANADIG_REG_2P5 0x130 /* Regulator 2P5 */
73 #define ANADIG_ANA_MISC0 0x150 /* Analog Miscellaneous */
74 #define ANADIG_ANA_MISC1 0x160 /* Analog Miscellaneous */
75 #define ANADIG_ANADIG_DIGPROG 0x260 /* Digital Program */
76 #define ANADIG_PLL1_CTRL 0x270 /* PLL1 Control */
77 #define ANADIG_PLL1_SS 0x280 /* PLL1 Spread Spectrum */
78 #define ANADIG_PLL1_NUM 0x290 /* PLL1 Numerator */
79 #define ANADIG_PLL1_DENOM 0x2A0 /* PLL1 Denominator */
80 #define ANADIG_PLL1_PFD 0x2B0 /* PLL1_PFD */
81 #define ANADIG_PLL_LOCK 0x2C0 /* PLL Lock */
83 #define USB_VBUS_DETECT(n) (0x1A0 + 0x60 * n)
84 #define USB_CHRG_DETECT(n) (0x1B0 + 0x60 * n)
85 #define USB_VBUS_DETECT_STATUS(n) (0x1C0 + 0x60 * n)
86 #define USB_CHRG_DETECT_STATUS(n) (0x1D0 + 0x60 * n)
87 #define USB_LOOPBACK(n) (0x1E0 + 0x60 * n)
88 #define USB_MISC(n) (0x1F0 + 0x60 * n)
91 #define ENABLE_LINREG (1 << 0)
99 #define PLL4_CTRL_DIV_SEL_S 0
100 #define PLL4_CTRL_DIV_SEL_M 0x7f
111 { SYS_RES_MEMORY, 0, RF_ACTIVE },
112 { -1, 0 }
150 return (0); in enable_pll()
172 return (0); in pll4_configure_output()
189 sc->bst = rman_get_bustag(sc->res[0]); in anadig_attach()
190 sc->bsh = rman_get_bushandle(sc->res[0]); in anadig_attach()
211 reg = READ4(sc, USB_MISC(0)); in anadig_attach()
213 WRITE4(sc, USB_MISC(0), reg); in anadig_attach()
219 #if 0 in anadig_attach()
220 printf("USB_ANALOG_USB_MISC(0) == 0x%08x\n", in anadig_attach()
221 READ4(sc, USB_ANALOG_USB_MISC(0))); in anadig_attach()
222 printf("USB_ANALOG_USB_MISC(1) == 0x%08x\n", in anadig_attach()
226 return (0); in anadig_attach()
232 { 0, 0 }
241 DRIVER_MODULE(anadig, simplebus, anadig_driver, 0, 0);