Searched refs:read_div (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk104.c | 46 static u32 read_div(struct gk104_clk *, int, u32, u32); 85 sclk = read_div(clk, 0, 0x137320, 0x137330); in read_pll() 92 sclk = read_div(clk, (pll & 0xff) / 0x20, 0x137120, 0x137140); in read_pll() 106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() function 157 sclk = read_div(clk, idx, 0x137160, 0x1371d0); in read_clk() 163 sclk = read_div(clk, idx, 0x137160, 0x1371d0); in read_clk() 172 sclk = read_div(clk, idx, 0x137160, 0x1371d0); in read_clk() 274 limits.refclk = read_div(clk, idx, 0x137120, 0x137140); in calc_pll()
|
D | gf100.c | 46 static u32 read_div(struct gf100_clk *, int, u32, u32); 88 sclk = read_div(clk, (pll & 0xff) / 0x20, 0x137120, 0x137140); in read_pll() 98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() function 147 sclk = read_div(clk, idx, 0x137160, 0x1371d0); in read_clk() 175 return read_div(clk, 0, 0x137320, 0x137330); in gf100_clk_read() 181 return read_div(clk, 0, 0x137300, 0x137310); in gf100_clk_read() 261 limits.refclk = read_div(clk, idx, 0x137120, 0x137140); in calc_pll()
|
D | nv50.c | 32 read_div(struct nv50_clk *clk) in read_div() function 256 P = (read_div(clk) & 0x00000700) >> 8; in nv50_clk_read() 304 P = (read_div(clk) & 0x00000007) >> 0; in nv50_clk_read()
|
D | mcp77.c | 42 read_div(struct mcp77_clk *clk) in read_div() function 144 P = (read_div(clk) & 0x00000700) >> 8; in mcp77_clk_read()
|