Lines Matching refs:ctrl
33 u32 ctrl; member
43 u32 ctrl = nvkm_rd32(device, reg + 0x00); in read_pll_1() local
44 int P = (ctrl & 0x00070000) >> 16; in read_pll_1()
45 int N = (ctrl & 0x0000ff00) >> 8; in read_pll_1()
46 int M = (ctrl & 0x000000ff) >> 0; in read_pll_1()
49 if (ctrl & 0x80000000) in read_pll_1()
59 u32 ctrl = nvkm_rd32(device, reg + 0x00); in read_pll_2() local
65 int P = (ctrl & 0x00070000) >> 16; in read_pll_2()
68 if ((ctrl & 0x80000000) && M1) { in read_pll_2()
70 if ((ctrl & 0x40000100) == 0x40000000) { in read_pll_2()
176 clk->ctrl = 0x00000223; in nv40_clk_calc()
179 clk->ctrl = 0x00000333; in nv40_clk_calc()
195 nvkm_mask(device, 0x00c040, 0x00000333, clk->ctrl); in nv40_clk_prog()