Home
last modified time | relevance | path

Searched refs:nvkm_clk (Results 1 – 24 of 24) sorted by relevance

/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h76 struct nvkm_clk { struct
104 int (*pll_calc)(struct nvkm_clk *, struct nvbios_pll *, int clk, argument
106 int (*pll_prog)(struct nvkm_clk *, u32 reg1, struct nvkm_pll_vals *pv); argument
109 int nvkm_clk_read(struct nvkm_clk *, enum nv_clk_src);
110 int nvkm_clk_ustate(struct nvkm_clk *, int req, int pwr);
111 int nvkm_clk_astate(struct nvkm_clk *, int req, int rel, bool wait);
112 int nvkm_clk_dstate(struct nvkm_clk *, int req, int rel);
113 int nvkm_clk_tstate(struct nvkm_clk *, int req, int rel);
115 int nv04_clk_new(struct nvkm_device *, int, struct nvkm_clk **);
116 int nv40_clk_new(struct nvkm_device *, int, struct nvkm_clk **);
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpriv.h3 #define nvkm_clk(p) container_of((p), struct nvkm_clk, subdev) macro
7 int (*init)(struct nvkm_clk *);
8 void (*fini)(struct nvkm_clk *);
9 int (*read)(struct nvkm_clk *, enum nv_clk_src);
10 int (*calc)(struct nvkm_clk *, struct nvkm_cstate *);
11 int (*prog)(struct nvkm_clk *);
12 void (*tidy)(struct nvkm_clk *);
19 bool allow_reclock, struct nvkm_clk *);
21 bool allow_reclock, struct nvkm_clk **);
23 int nv04_clk_pll_calc(struct nvkm_clk *, struct nvbios_pll *, int clk,
[all …]
Dnv50.h18 struct nvkm_clk base;
23 bool, struct nvkm_clk **);
24 int nv50_clk_read(struct nvkm_clk *, enum nv_clk_src);
25 int nv50_clk_calc(struct nvkm_clk *, struct nvkm_cstate *);
26 int nv50_clk_prog(struct nvkm_clk *);
27 void nv50_clk_tidy(struct nvkm_clk *);
Dbase.c40 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, in nvkm_clk_adjust()
78 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog()
138 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) in nvkm_cstate_new()
175 nvkm_pstate_prog(struct nvkm_clk *clk, int pstatei) in nvkm_pstate_prog()
209 struct nvkm_clk *clk = container_of(work, typeof(*clk), work); in nvkm_pstate_work()
244 nvkm_pstate_calc(struct nvkm_clk *clk, bool wait) in nvkm_pstate_calc()
254 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) in nvkm_pstate_info()
310 nvkm_pstate_new(struct nvkm_clk *clk, int idx) in nvkm_pstate_new()
381 nvkm_clk_ustate_update(struct nvkm_clk *clk, int req) in nvkm_clk_ustate_update()
405 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate()
[all …]
Dgk20a.h117 struct nvkm_clk base;
151 void gk20a_clk_fini(struct nvkm_clk *);
152 int gk20a_clk_read(struct nvkm_clk *, enum nv_clk_src);
153 int gk20a_clk_calc(struct nvkm_clk *, struct nvkm_cstate *);
154 int gk20a_clk_prog(struct nvkm_clk *);
155 void gk20a_clk_tidy(struct nvkm_clk *);
Dgt215.h15 int gt215_pll_info(struct nvkm_clk *, int, u32, u32, struct gt215_clk_info *);
16 int gt215_clk_pre(struct nvkm_clk *, unsigned long *flags);
17 void gt215_clk_post(struct nvkm_clk *, unsigned long *flags);
Dnv40.c32 struct nvkm_clk base;
97 nv40_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in nv40_clk_read()
146 nv40_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in nv40_clk_calc()
186 nv40_clk_prog(struct nvkm_clk *base) in nv40_clk_prog()
200 nv40_clk_tidy(struct nvkm_clk *obj) in nv40_clk_tidy()
221 nv40_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in nv40_clk_new()
Dgt215.c35 struct nvkm_clk base;
140 gt215_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in gt215_clk_read()
184 gt215_clk_info(struct nvkm_clk *base, int idx, u32 khz, in gt215_clk_info()
232 gt215_pll_info(struct nvkm_clk *base, int idx, u32 pll, u32 khz, in gt215_pll_info()
304 gt215_clk_pre(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_pre()
339 gt215_clk_post(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_post()
456 gt215_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gt215_clk_calc()
483 gt215_clk_prog(struct nvkm_clk *base) in gt215_clk_prog()
513 gt215_clk_tidy(struct nvkm_clk *base) in gt215_clk_tidy()
537 gt215_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in gt215_clk_new()
Dnv04.c32 nv04_clk_pll_calc(struct nvkm_clk *clock, struct nvbios_pll *info, in nv04_clk_pll_calc()
49 nv04_clk_pll_prog(struct nvkm_clk *clk, u32 reg1, struct nvkm_pll_vals *pv) in nv04_clk_pll_prog()
75 nv04_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in nv04_clk_new()
Dmcp77.c33 struct nvkm_clk base;
81 mcp77_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in mcp77_clk_read()
203 mcp77_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in mcp77_clk_calc()
299 mcp77_clk_prog(struct nvkm_clk *base) in mcp77_clk_prog()
393 mcp77_clk_tidy(struct nvkm_clk *base) in mcp77_clk_tidy()
414 mcp77_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in mcp77_clk_new()
Dgf100.c42 struct nvkm_clk base;
158 gf100_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in gf100_clk_read()
325 gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gf100_clk_calc()
416 gf100_clk_prog(struct nvkm_clk *base) in gf100_clk_prog()
442 gf100_clk_tidy(struct nvkm_clk *base) in gf100_clk_tidy()
471 gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in gf100_clk_new()
Dnv50.c192 nv50_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in nv50_clk_read()
368 nv50_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in nv50_clk_calc()
495 nv50_clk_prog(struct nvkm_clk *base) in nv50_clk_prog()
502 nv50_clk_tidy(struct nvkm_clk *base) in nv50_clk_tidy()
510 int index, bool allow_reclock, struct nvkm_clk **pclk) in nv50_clk_new_()
558 nv50_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in nv50_clk_new()
Dgk20a.c460 gk20a_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in gk20a_clk_read()
480 gk20a_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gk20a_clk_calc()
489 gk20a_clk_prog(struct nvkm_clk *base) in gk20a_clk_prog()
502 gk20a_clk_tidy(struct nvkm_clk *base) in gk20a_clk_tidy()
543 gk20a_clk_fini(struct nvkm_clk *base) in gk20a_clk_fini()
565 gk20a_clk_init(struct nvkm_clk *base) in gk20a_clk_init()
642 gk20a_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in gk20a_clk_new()
Dgk104.c42 struct nvkm_clk base;
189 gk104_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in gk104_clk_read()
339 gk104_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gk104_clk_calc()
448 gk104_clk_prog(struct nvkm_clk *base) in gk104_clk_prog()
479 gk104_clk_tidy(struct nvkm_clk *base) in gk104_clk_tidy()
507 gk104_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in gk104_clk_new()
Dgm20b.c464 gm20b_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gm20b_clk_calc()
572 gm20b_clk_prog(struct nvkm_clk *base) in gm20b_clk_prog()
720 gm20b_clk_fini(struct nvkm_clk *base) in gm20b_clk_fini()
811 gm20b_clk_init(struct nvkm_clk *base) in gm20b_clk_init()
912 struct nvkm_clk **pclk) in gm20b_clk_new_speedo0()
1017 gm20b_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in gm20b_clk_new()
Dg84.c44 g84_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in g84_clk_new()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c54 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_target()
62 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_cur_state()
73 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_target_state()
126 struct nvkm_clk *clk = device->clk; in gk20a_pmu_dvfs_work()
/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c40 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_info()
73 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_attr()
146 struct nvkm_clk *clk = ctrl->device->clk; in nvkm_control_mthd_pstate_user()
/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h122 struct nvkm_clk *clk;
192 int (*clk )(struct nvkm_device *, int idx, struct nvkm_clk **);
/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c257 struct nvkm_clk *clk = nvxx_clk(device); in nouveau_hw_fix_bad_vpll()
467 struct nvkm_clk *clk = nvxx_clk(&drm->device); in nv_load_state_ramdac()
Dcrtc.c117 struct nvkm_clk *clk = nvxx_clk(&drm->device); in nv_crtc_calc_state_ext()
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgf100.c134 struct nvkm_clk *clk = device->clk; in gf100_ram_calc()
Dramgt215.c160 struct nvkm_clk *clk = device->clk; in gt215_link_train()
Dramgk104.c1109 struct nvkm_clk *clk = ram->base.fb->subdev.device->clk; in gk104_ram_calc()