Home
last modified time | relevance | path

Searched refs:read_pll (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnvc0_pm.c31 static u32 read_pll(struct drm_device *, u32);
38 return read_pll(dev, 0x00e800); in read_vco()
39 return read_pll(dev, 0x00e820); in read_vco()
43 read_pll(struct drm_device *dev, u32 pll) in read_pll() function
67 sclk = read_pll(dev, 0x132020); in read_pll()
115 return read_pll(dev, 0x132000); in read_mem()
127 sclk = read_pll(dev, 0x137000 + (clk * 0x20)); in read_clk()
129 sclk = read_pll(dev, 0x1370e0); in read_clk()
276 clk1 = read_pll(dev, 0x1370e0); in calc_clk()
Dnva3_pm.c31 static u32 read_pll(struct drm_device *, int, u32);
38 return read_pll(dev, 0x41, 0x00e820); in read_vco()
39 return read_pll(dev, 0x42, 0x00e8a0); in read_vco()
79 read_pll(struct drm_device *dev, int clk, u32 pll) in read_pll() function
222 perflvl->core = read_pll(dev, 0x00, 0x4200); in nva3_pm_clocks_get()
223 perflvl->shader = read_pll(dev, 0x01, 0x4220); in nva3_pm_clocks_get()
224 perflvl->memory = read_pll(dev, 0x02, 0x4000); in nva3_pm_clocks_get()
Dnv50_pm.c172 read_pll(struct drm_device *dev, u32 base) in read_pll() function
237 case 0x00000002: return read_pll(dev, 0x004020) >> P; in read_clk()
238 case 0x00000003: return read_pll(dev, 0x004028) >> P; in read_clk()
249 case 0x00000020: return read_pll(dev, 0x004028) >> P; in read_clk()
250 case 0x00000030: return read_pll(dev, 0x004020) >> P; in read_clk()
264 return read_pll(dev, 0x004008) >> P; in read_clk()
285 return read_pll(dev, 0x004028) >> P; in read_clk()
286 return read_pll(dev, 0x004030) >> P; in read_clk()
309 return read_pll(dev, 0x00e810) >> 2; in read_clk()
649 out = read_pll(dev, 0x004030); in nv50_pm_clocks_pre()