Lines Matching refs:dsrc
36 u32 dsrc; member
50 read_vco(struct gk104_clk *clk, u32 dsrc) in read_vco() argument
53 u32 ssrc = nvkm_rd32(device, dsrc); in read_vco()
106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
109 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
121 u32 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
126 return read_vco(clk, dsrc + (doff * 4)); in read_div()
234 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() argument
243 *dsrc = 0x00000000; in calc_src()
245 *dsrc |= 0x00030000; in calc_src()
248 *dsrc = 0x00000002; in calc_src()
251 *dsrc = 0x00000003; in calc_src()
314 info->dsrc = src0; in calc_clk()
331 info->dsrc = 0x40000100; in calc_clk()
363 nvkm_wr32(device, 0x137160 + (idx * 0x04), info->dsrc); in gk104_clk_prog_0()