Lines Matching refs:gk104_clk
24 #define gk104_clk(p) container_of((p), struct gk104_clk, base) macro
41 struct gk104_clk { struct
46 static u32 read_div(struct gk104_clk *, int, u32, u32); argument
47 static u32 read_pll(struct gk104_clk *, u32);
50 read_vco(struct gk104_clk *clk, u32 dsrc) in read_vco()
60 read_pll(struct gk104_clk *clk, u32 pll) in read_pll()
106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div()
133 read_mem(struct gk104_clk *clk) in read_mem()
145 read_clk(struct gk104_clk *clk, int idx) in read_clk()
191 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_read()
223 calc_div(struct gk104_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div()
234 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src()
263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll()
287 calc_clk(struct gk104_clk *clk, in calc_clk()
341 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_calc()
357 gk104_clk_prog_0(struct gk104_clk *clk, int idx) in gk104_clk_prog_0()
368 gk104_clk_prog_1_0(struct gk104_clk *clk, int idx) in gk104_clk_prog_1_0()
379 gk104_clk_prog_1_1(struct gk104_clk *clk, int idx) in gk104_clk_prog_1_1()
386 gk104_clk_prog_2(struct gk104_clk *clk, int idx) in gk104_clk_prog_2()
411 gk104_clk_prog_3(struct gk104_clk *clk, int idx) in gk104_clk_prog_3()
422 gk104_clk_prog_4_0(struct gk104_clk *clk, int idx) in gk104_clk_prog_4_0()
437 gk104_clk_prog_4_1(struct gk104_clk *clk, int idx) in gk104_clk_prog_4_1()
450 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_prog()
453 void (*exec)(struct gk104_clk *, int); in gk104_clk_prog()
481 struct gk104_clk *clk = gk104_clk(base); in gk104_clk_tidy()
486 gk104_clk = { variable
510 struct gk104_clk *clk; in gk104_clk_new()
516 return nvkm_clk_ctor(&gk104_clk, device, type, inst, true, &clk->base); in gk104_clk_new()