Lines Matching refs:ctrl
33 u32 ctrl; member
52 u32 ctrl = nv_rd32(priv, reg + 0x00); in read_pll_1() local
53 int P = (ctrl & 0x00070000) >> 16; in read_pll_1()
54 int N = (ctrl & 0x0000ff00) >> 8; in read_pll_1()
55 int M = (ctrl & 0x000000ff) >> 0; in read_pll_1()
58 if (ctrl & 0x80000000) in read_pll_1()
67 u32 ctrl = nv_rd32(priv, reg + 0x00); in read_pll_2() local
73 int P = (ctrl & 0x00070000) >> 16; in read_pll_2()
76 if ((ctrl & 0x80000000) && M1) { in read_pll_2()
78 if ((ctrl & 0x40000100) == 0x40000000) { in read_pll_2()
182 priv->ctrl = 0x00000223; in nv40_clk_calc()
185 priv->ctrl = 0x00000333; in nv40_clk_calc()
200 nv_mask(priv, 0x00c040, 0x00000333, priv->ctrl); in nv40_clk_prog()