Searched refs:read_pll (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | nv50.c | 158 read_pll(struct nv50_clk *clk, u32 base) in read_pll() function 225 case 0x00000002: return read_pll(clk, 0x004020) >> P; in nv50_clk_read() 226 case 0x00000003: return read_pll(clk, 0x004028) >> P; in nv50_clk_read() 237 case 0x00000020: return read_pll(clk, 0x004028) >> P; in nv50_clk_read() 238 case 0x00000030: return read_pll(clk, 0x004020) >> P; in nv50_clk_read() 252 return read_pll(clk, 0x004008) >> P; in nv50_clk_read() 273 return read_pll(clk, 0x004028) >> P; in nv50_clk_read() 274 return read_pll(clk, 0x004030) >> P; in nv50_clk_read() 297 return read_pll(clk, 0x00e810) >> 2; in nv50_clk_read() 404 out = read_pll(clk, 0x004030); in nv50_clk_calc()
|
D | gk104.c | 47 static u32 read_pll(struct gk104_clk *, u32); 55 return read_pll(clk, 0x00e800); in read_vco() 56 return read_pll(clk, 0x00e820); in read_vco() 60 read_pll(struct gk104_clk *clk, u32 pll) in read_pll() function 81 sclk = read_pll(clk, 0x132020); in read_pll() 137 case 1: return read_pll(clk, 0x132020); in read_mem() 138 case 2: return read_pll(clk, 0x132000); in read_mem() 154 sclk = read_pll(clk, 0x137000 + (idx * 0x20)); in read_clk() 166 sclk = read_pll(clk, 0x1370e0); in read_clk()
|
D | gf100.c | 59 read_pll(struct gf100_clk *clk, u32 pll) in read_pll() function 142 sclk = read_pll(clk, 0x137000 + (idx * 0x20)); in read_clk() 144 sclk = read_pll(clk, 0x1370e0); in read_clk() 170 return read_pll(clk, 0x00e800); in gf100_clk_read() 172 return read_pll(clk, 0x00e820); in gf100_clk_read() 177 return read_pll(clk, 0x132020); in gf100_clk_read() 179 return read_pll(clk, 0x132000); in gf100_clk_read()
|
D | gt215.c | 40 static u32 read_pll(struct gt215_clk *, int, u32); 52 return read_pll(clk, 0x41, 0x00e820); in read_vco() 54 return read_pll(clk, 0x42, 0x00e8a0); in read_vco() 108 read_pll(struct gt215_clk *clk, int idx, u32 pll) in read_pll() function 155 return read_pll(clk, 0x00, 0x4200); in gt215_clk_read() 157 return read_pll(clk, 0x01, 0x4220); in gt215_clk_read() 159 return read_pll(clk, 0x02, 0x4000); in gt215_clk_read()
|
D | mcp77.c | 49 read_pll(struct mcp77_clk *clk, u32 base) in read_pll() function 113 case 0x00000003: return read_pll(clk, 0x004028) >> P; in mcp77_clk_read() 137 case 0x00000020: return read_pll(clk, 0x004028) >> P; in mcp77_clk_read() 138 case 0x00000030: return read_pll(clk, 0x004020) >> P; in mcp77_clk_read()
|