/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | clk.h | 83 struct nvkm_clk { struct 117 int (*pll_calc)(struct nvkm_clk *, struct nvbios_pll *, int clk, argument 119 int (*pll_prog)(struct nvkm_clk *, u32 reg1, struct nvkm_pll_vals *pv); argument 122 int nvkm_clk_read(struct nvkm_clk *, enum nv_clk_src); 123 int nvkm_clk_ustate(struct nvkm_clk *, int req, int pwr); 124 int nvkm_clk_astate(struct nvkm_clk *, int req, int rel, bool wait); 125 int nvkm_clk_dstate(struct nvkm_clk *, int req, int rel); 126 int nvkm_clk_tstate(struct nvkm_clk *, u8 temperature); 128 int nv04_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **); 129 int nv40_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **); [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | priv.h | 4 #define nvkm_clk(p) container_of((p), struct nvkm_clk, subdev) macro 8 int (*init)(struct nvkm_clk *); 9 void (*fini)(struct nvkm_clk *); 10 int (*read)(struct nvkm_clk *, enum nv_clk_src); 11 int (*calc)(struct nvkm_clk *, struct nvkm_cstate *); 12 int (*prog)(struct nvkm_clk *); 13 void (*tidy)(struct nvkm_clk *); 20 bool allow_reclock, struct nvkm_clk *); 22 bool allow_reclock, struct nvkm_clk **); 24 int nv04_clk_pll_calc(struct nvkm_clk *, struct nvbios_pll *, int clk, [all …]
|
D | nv50.h | 19 struct nvkm_clk base; 24 bool, struct nvkm_clk **); 25 int nv50_clk_read(struct nvkm_clk *, enum nv_clk_src); 26 int nv50_clk_calc(struct nvkm_clk *, struct nvkm_cstate *); 27 int nv50_clk_prog(struct nvkm_clk *); 28 void nv50_clk_tidy(struct nvkm_clk *);
|
D | base.c | 41 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, in nvkm_clk_adjust() 79 nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, in nvkm_cstate_valid() 112 nvkm_cstate_find_best(struct nvkm_clk *clk, struct nvkm_pstate *pstate, in nvkm_cstate_find_best() 145 nvkm_cstate_get(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_get() 160 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog() 225 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) in nvkm_cstate_new() 267 nvkm_pstate_prog(struct nvkm_clk *clk, int pstatei) in nvkm_pstate_prog() 302 struct nvkm_clk *clk = container_of(work, typeof(*clk), work); in nvkm_pstate_work() 337 nvkm_pstate_calc(struct nvkm_clk *clk, bool wait) in nvkm_pstate_calc() 347 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) in nvkm_pstate_info() [all …]
|
D | gk20a.h | 117 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 *);
|
D | gt215.h | 16 int gt215_pll_info(struct nvkm_clk *, int, u32, u32, struct gt215_clk_info *); 17 int gt215_clk_pre(struct nvkm_clk *, unsigned long *flags); 18 void gt215_clk_post(struct nvkm_clk *, unsigned long *flags);
|
D | nv40.c | 32 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() 222 struct nvkm_clk **pclk) in nv40_clk_new()
|
D | gt215.c | 35 struct nvkm_clk base; 143 gt215_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in gt215_clk_read() 187 gt215_clk_info(struct nvkm_clk *base, int idx, u32 khz, in gt215_clk_info() 235 gt215_pll_info(struct nvkm_clk *base, int idx, u32 pll, u32 khz, in gt215_pll_info() 307 gt215_clk_pre(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_pre() 342 gt215_clk_post(struct nvkm_clk *clk, unsigned long *flags) in gt215_clk_post() 459 gt215_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gt215_clk_calc() 486 gt215_clk_prog(struct nvkm_clk *base) in gt215_clk_prog() 516 gt215_clk_tidy(struct nvkm_clk *base) in gt215_clk_tidy() 541 struct nvkm_clk **pclk) in gt215_clk_new()
|
D | nv04.c | 32 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() 76 struct nvkm_clk **pclk) in nv04_clk_new()
|
D | mcp77.c | 33 struct nvkm_clk base; 81 mcp77_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in mcp77_clk_read() 200 mcp77_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in mcp77_clk_calc() 296 mcp77_clk_prog(struct nvkm_clk *base) in mcp77_clk_prog() 391 mcp77_clk_tidy(struct nvkm_clk *base) in mcp77_clk_tidy() 413 struct nvkm_clk **pclk) in mcp77_clk_new()
|
D | nv50.c | 192 nv50_clk_read(struct nvkm_clk *base, enum nv_clk_src src) in nv50_clk_read() 369 nv50_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in nv50_clk_calc() 496 nv50_clk_prog(struct nvkm_clk *base) in nv50_clk_prog() 503 nv50_clk_tidy(struct nvkm_clk *base) in nv50_clk_tidy() 511 enum nvkm_subdev_type type, int inst, bool allow_reclock, struct nvkm_clk **pclk) in nv50_clk_new_() 560 struct nvkm_clk **pclk) in nv50_clk_new()
|
D | gf100.c | 42 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() 472 struct nvkm_clk **pclk) in gf100_clk_new()
|
D | gk20a.c | 460 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 struct nvkm_clk **pclk) in gk20a_clk_new()
|
D | gk104.c | 42 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() 508 struct nvkm_clk **pclk) in gk104_clk_new()
|
D | gm20b.c | 464 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() 1015 struct nvkm_clk **pclk) in gm20b_clk_new()
|
D | g84.c | 45 struct nvkm_clk **pclk) in g84_clk_new()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | gk20a.c | 53 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_target() 61 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_cur_state() 71 struct nvkm_clk *clk = pmu->base.subdev.device->clk; in gk20a_pmu_dvfs_get_target_state() 122 struct nvkm_clk *clk = device->clk; in gk20a_pmu_dvfs_work()
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | ctrl.c | 40 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/ |
D | layout.h | 25 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_CLK , struct nvkm_clk , clk)
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.c | 262 struct nvkm_clk *clk = nvxx_clk(device); in nouveau_hw_fix_bad_vpll() 473 struct nvkm_clk *clk = nvxx_clk(&drm->client.device); in nv_load_state_ramdac()
|
D | crtc.c | 122 struct nvkm_clk *clk = nvxx_clk(&drm->client.device); in nv_crtc_calc_state_ext()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgf100.c | 133 struct nvkm_clk *clk = device->clk; in gf100_ram_calc()
|
D | ramgt215.c | 161 struct nvkm_clk *clk = device->clk; in gt215_link_train()
|
D | ramgk104.c | 1115 struct nvkm_clk *clk = ram->base.fb->subdev.device->clk; in gk104_ram_calc()
|