Home
last modified time | relevance | path

Searched refs:nvkm_volt (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dpriv.h4 #define nvkm_volt(p) container_of((p), struct nvkm_volt, subdev) macro
8 struct nvkm_volt *);
10 struct nvkm_volt **);
13 int (*oneinit)(struct nvkm_volt *);
14 int (*volt_get)(struct nvkm_volt *);
15 int (*volt_set)(struct nvkm_volt *, u32 uv);
16 int (*vid_get)(struct nvkm_volt *);
17 int (*vid_set)(struct nvkm_volt *, u8 vid);
18 int (*set_id)(struct nvkm_volt *, u8 id, int condition);
19 int (*speedo_read)(struct nvkm_volt *);
[all …]
Dbase.c32 nvkm_volt_get(struct nvkm_volt *volt) in nvkm_volt_get()
51 nvkm_volt_set(struct nvkm_volt *volt, u32 uv) in nvkm_volt_set()
82 nvkm_volt_map_min(struct nvkm_volt *volt, u8 id) in nvkm_volt_map_min()
104 nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temp) in nvkm_volt_map()
160 nvkm_volt_set_id(struct nvkm_volt *volt, u8 id, u8 min_id, u8 temp, in nvkm_volt_set_id()
186 nvkm_volt_parse_bios(struct nvkm_bios *bios, struct nvkm_volt *volt) in nvkm_volt_parse_bios()
233 nvkm_volt_speedo_read(struct nvkm_volt *volt) in nvkm_volt_speedo_read()
243 struct nvkm_volt *volt = nvkm_volt(subdev); in nvkm_volt_init()
257 struct nvkm_volt *volt = nvkm_volt(subdev); in nvkm_volt_oneinit()
272 return nvkm_volt(subdev); in nvkm_volt_dtor()
[all …]
Dgf100.c29 gf100_volt_speedo_read(struct nvkm_volt *volt) in gf100_volt_speedo_read()
41 gf100_volt_oneinit(struct nvkm_volt *volt) in gf100_volt_oneinit()
60 struct nvkm_volt **pvolt) in gf100_volt_new()
62 struct nvkm_volt *volt; in gf100_volt_new()
Dgk104.c34 struct nvkm_volt base;
39 gk104_volt_get(struct nvkm_volt *base) in gk104_volt_get()
52 gk104_volt_set(struct nvkm_volt *base, u32 uv) in gk104_volt_set()
69 gk104_volt_speedo_read(struct nvkm_volt *volt) in gk104_volt_speedo_read()
99 struct nvkm_volt **pvolt) in gk104_volt_new()
Dgf117.c29 gf117_volt_speedo_read(struct nvkm_volt *volt) in gf117_volt_speedo_read()
50 struct nvkm_volt **pvolt) in gf117_volt_new()
52 struct nvkm_volt *volt; in gf117_volt_new()
Dgpio.c36 nvkm_voltgpio_get(struct nvkm_volt *volt) in nvkm_voltgpio_get()
55 nvkm_voltgpio_set(struct nvkm_volt *volt, u8 vid) in nvkm_voltgpio_set()
72 nvkm_voltgpio_init(struct nvkm_volt *volt) in nvkm_voltgpio_init()
Dgk20a.c93 gk20a_volt_vid_get(struct nvkm_volt *base) in gk20a_volt_vid_get()
108 gk20a_volt_vid_set(struct nvkm_volt *base, u8 vid) in gk20a_volt_vid_set()
118 gk20a_volt_set_id(struct nvkm_volt *base, u8 id, int condition) in gk20a_volt_set_id()
175 gk20a_volt_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_volt *… in gk20a_volt_new()
Dnv40.c34 struct nvkm_volt **pvolt) in nv40_volt_new()
36 struct nvkm_volt *volt; in nv40_volt_new()
Dgk20a.h36 struct nvkm_volt base;
Dgm20b.c68 struct nvkm_volt **pvolt) in gm20b_volt_new()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dvolt.h6 struct nvkm_volt { struct
33 int nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temperature); argument
34 int nvkm_volt_map_min(struct nvkm_volt *volt, u8 id);
35 int nvkm_volt_get(struct nvkm_volt *);
36 int nvkm_volt_set_id(struct nvkm_volt *, u8 id, u8 min_id, u8 temp,
39 int nv40_volt_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_volt **);
40 int gf100_volt_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_volt **);
41 int gf117_volt_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_volt **);
42 int gk104_volt_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_volt **);
43 int gk20a_volt_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_volt **);
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c83 struct nvkm_volt *volt = clk->subdev.device->volt; in nvkm_cstate_valid()
116 struct nvkm_volt *volt = device->volt; in nvkm_cstate_find_best()
165 struct nvkm_volt *volt = device->volt; in nvkm_cstate_prog()
228 struct nvkm_volt *volt = clk->subdev.device->volt; in nvkm_cstate_new()
Dgm20b.c468 struct nvkm_volt *volt = base->subdev.device->volt; in gm20b_clk_calc()
853 struct nvkm_volt *volt = device->volt; in gm20b_clk_init()
979 struct nvkm_volt *volt = subdev->device->volt; in gm20b_clk_init_safe_fmax()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c318 struct nvkm_volt *volt = nvxx_volt(drm); in nouveau_input_is_visible()
442 struct nvkm_volt *volt = nvxx_volt(drm); in nouveau_in_read()
669 struct nvkm_volt *volt = nvxx_volt(drm); in nouveau_hwmon_init()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/core/
Dlayout.h24 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VOLT , struct nvkm_volt , volt)
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c124 struct nvkm_volt *volt = device->volt; in gk20a_pmu_dvfs_work()