Home
last modified time | relevance | path

Searched refs:nvkm_therm (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dpriv.h3 #define nvkm_therm(p) container_of((p), struct nvkm_therm, subdev) macro
34 int index, struct nvkm_therm **);
35 void nvkm_therm_ctor(struct nvkm_therm *therm, struct nvkm_device *device,
39 struct nvkm_therm *parent;
49 int (*get)(struct nvkm_therm *);
50 int (*set)(struct nvkm_therm *, int percent);
55 int nvkm_therm_fan_mode(struct nvkm_therm *, int mode);
56 int nvkm_therm_attr_get(struct nvkm_therm *, enum nvkm_therm_attr_type);
57 int nvkm_therm_attr_set(struct nvkm_therm *, enum nvkm_therm_attr_type, int);
59 void nvkm_therm_ic_ctor(struct nvkm_therm *);
[all …]
Dbase.c30 nvkm_therm_temp_get(struct nvkm_therm *therm) in nvkm_therm_temp_get()
38 nvkm_therm_update_trip(struct nvkm_therm *therm) in nvkm_therm_update_trip()
70 nvkm_therm_compute_linear_duty(struct nvkm_therm *therm, u8 linear_min_temp, in nvkm_therm_compute_linear_duty()
91 nvkm_therm_update_linear(struct nvkm_therm *therm) in nvkm_therm_update_linear()
99 nvkm_therm_update_linear_fallback(struct nvkm_therm *therm) in nvkm_therm_update_linear_fallback()
106 nvkm_therm_update(struct nvkm_therm *therm, int mode) in nvkm_therm_update()
164 nvkm_therm_cstate(struct nvkm_therm *therm, int fan, int dir) in nvkm_therm_cstate()
179 struct nvkm_therm *therm = in nvkm_therm_alarm()
180 container_of(alarm, struct nvkm_therm, alarm); in nvkm_therm_alarm()
185 nvkm_therm_fan_mode(struct nvkm_therm *therm, int mode) in nvkm_therm_fan_mode()
[all …]
Dtemp.c27 nvkm_therm_temp_set_defaults(struct nvkm_therm *therm) in nvkm_therm_temp_set_defaults()
45 nvkm_therm_temp_safety_checks(struct nvkm_therm *therm) in nvkm_therm_temp_safety_checks()
58 nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *therm, in nvkm_therm_sensor_set_threshold_state()
67 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *therm, in nvkm_therm_sensor_get_threshold_state()
81 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event()
137 nvkm_therm_threshold_hyst_polling(struct nvkm_therm *therm, in nvkm_therm_threshold_hyst_polling()
164 struct nvkm_therm *therm = in alarm_timer_callback()
165 container_of(alarm, struct nvkm_therm, sensor.therm_poll_alarm); in alarm_timer_callback()
193 nvkm_therm_program_alarms_polling(struct nvkm_therm *therm) in nvkm_therm_program_alarms_polling()
212 nvkm_therm_sensor_init(struct nvkm_therm *therm) in nvkm_therm_sensor_init()
[all …]
Dnv50.c28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info()
55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl()
66 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in nv50_fan_pwm_get()
83 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in nv50_fan_pwm_set()
96 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) in nv50_fan_pwm_clock()
121 nv50_sensor_setup(struct nvkm_therm *therm) in nv50_sensor_setup()
129 nv50_temp_get(struct nvkm_therm *therm) in nv50_temp_get()
154 nv50_therm_init(struct nvkm_therm *therm) in nv50_therm_init()
173 struct nvkm_therm **ptherm) in nv50_therm_new()
Dnv40.c30 nv40_sensor_style(struct nvkm_therm *therm) in nv40_sensor_style()
53 nv40_sensor_setup(struct nvkm_therm *therm) in nv40_sensor_setup()
73 nv40_temp_get(struct nvkm_therm *therm) in nv40_temp_get()
106 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv40_fan_pwm_ctrl()
121 nv40_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in nv40_fan_pwm_get()
149 nv40_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in nv40_fan_pwm_set()
168 nv40_therm_intr(struct nvkm_therm *therm) in nv40_therm_intr()
183 nv40_therm_init(struct nvkm_therm *therm) in nv40_therm_init()
201 struct nvkm_therm **ptherm) in nv40_therm_new()
Dg84.c30 g84_temp_get(struct nvkm_therm *therm) in g84_temp_get()
41 g84_sensor_setup(struct nvkm_therm *therm) in g84_sensor_setup()
54 g84_therm_program_alarms(struct nvkm_therm *therm) in g84_therm_program_alarms()
95 g84_therm_threshold_hyst_emulation(struct nvkm_therm *therm, in g84_therm_threshold_hyst_emulation()
139 g84_therm_intr(struct nvkm_therm *therm) in g84_therm_intr()
194 g84_therm_fini(struct nvkm_therm *therm) in g84_therm_fini()
207 g84_therm_init(struct nvkm_therm *therm) in g84_therm_init()
226 g84_therm_new(struct nvkm_device *device, int index, struct nvkm_therm **ptherm) in g84_therm_new()
228 struct nvkm_therm *therm; in g84_therm_new()
Dgm107.c27 gm107_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gm107_fan_pwm_ctrl()
34 gm107_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gm107_fan_pwm_get()
43 gm107_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gm107_fan_pwm_set()
52 gm107_fan_pwm_clock(struct nvkm_therm *therm, int line) in gm107_fan_pwm_clock()
72 struct nvkm_therm **ptherm) in gm107_therm_new()
Dgf119.c27 pwm_info(struct nvkm_therm *therm, int line) in pwm_info()
53 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gf119_fan_pwm_ctrl()
67 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gf119_fan_pwm_get()
89 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gf119_fan_pwm_set()
106 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line) in gf119_fan_pwm_clock()
119 gf119_therm_init(struct nvkm_therm *therm) in gf119_therm_init()
150 struct nvkm_therm **ptherm) in gf119_therm_new()
Dfan.c34 struct nvkm_therm *therm = fan->parent; in nvkm_fan_update()
112 nvkm_therm_fan_get(struct nvkm_therm *therm) in nvkm_therm_fan_get()
118 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) in nvkm_therm_fan_set()
124 nvkm_therm_fan_sense(struct nvkm_therm *therm) in nvkm_therm_fan_sense()
169 nvkm_therm_fan_user_get(struct nvkm_therm *therm) in nvkm_therm_fan_user_get()
175 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent) in nvkm_therm_fan_user_set()
184 nvkm_therm_fan_set_defaults(struct nvkm_therm *therm) in nvkm_therm_fan_set_defaults()
196 nvkm_therm_fan_safety_checks(struct nvkm_therm *therm) in nvkm_therm_fan_safety_checks()
208 nvkm_therm_fan_init(struct nvkm_therm *therm) in nvkm_therm_fan_init()
214 nvkm_therm_fan_fini(struct nvkm_therm *therm, bool suspend) in nvkm_therm_fan_fini()
[all …]
Dfannil.c27 nvkm_fannil_get(struct nvkm_therm *therm) in nvkm_fannil_get()
33 nvkm_fannil_set(struct nvkm_therm *therm, int percent) in nvkm_fannil_set()
39 nvkm_fannil_create(struct nvkm_therm *therm) in nvkm_fannil_create()
Dfantog.c41 struct nvkm_therm *therm = fan->base.parent; in nvkm_fantog_update()
74 nvkm_fantog_get(struct nvkm_therm *therm) in nvkm_fantog_get()
81 nvkm_fantog_set(struct nvkm_therm *therm, int percent) in nvkm_fantog_set()
91 nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) in nvkm_fantog_create()
Dgk104.c30 gk104_clkgate_enable(struct nvkm_therm *base) in gk104_clkgate_enable()
59 gk104_clkgate_fini(struct nvkm_therm *base, bool suspend) in gk104_clkgate_fini()
114 struct nvkm_therm **ptherm) in gk104_therm_new_()
131 int index, struct nvkm_therm **ptherm) in gk104_therm_new()
Dgt215.c29 gt215_therm_fan_sense(struct nvkm_therm *therm) in gt215_therm_fan_sense()
40 gt215_therm_init(struct nvkm_therm *therm) in gt215_therm_init()
72 struct nvkm_therm **ptherm) in gt215_therm_new()
Dgp100.c27 gp100_temp_get(struct nvkm_therm *therm) in gp100_temp_get()
53 struct nvkm_therm **ptherm) in gp100_therm_new()
Dfanpwm.c38 nvkm_fanpwm_get(struct nvkm_therm *therm) in nvkm_fanpwm_get()
59 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent) in nvkm_fanpwm_set()
85 nvkm_fanpwm_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) in nvkm_fanpwm_create()
Dic.c33 struct nvkm_therm *therm = data; in probe_monitoring_device()
83 nvkm_therm_ic_ctor(struct nvkm_therm *therm) in nvkm_therm_ic_ctor()
Dgm200.c36 struct nvkm_therm **ptherm) in gm200_therm_new()
Dgk104.h39 struct nvkm_therm base;
Dgf100.c32 gf100_clkgate_init(struct nvkm_therm *therm, in gf100_clkgate_init()
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtherm.h59 struct nvkm_therm { struct
86 void (*downclock)(struct nvkm_therm *, bool active); argument
87 void (*pause)(struct nvkm_therm *, bool active);
93 int (*fan_get)(struct nvkm_therm *); argument
94 int (*fan_set)(struct nvkm_therm *, int); argument
96 int (*attr_get)(struct nvkm_therm *, enum nvkm_therm_attr_type); argument
97 int (*attr_set)(struct nvkm_therm *, enum nvkm_therm_attr_type, int); argument
102 int nvkm_therm_temp_get(struct nvkm_therm *); argument
103 int nvkm_therm_fan_sense(struct nvkm_therm *);
104 int nvkm_therm_cstate(struct nvkm_therm *, int, int);
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c55 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_temp1_auto_point1_temp()
67 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_set_temp1_auto_point1_temp()
88 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_temp1_auto_point1_temp_hyst()
100 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
121 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_get_pwm1_max()
137 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_get_pwm1_min()
153 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_set_pwm1_min()
176 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_hwmon_set_pwm1_max()
326 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_temp_is_visible()
350 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_pwm_is_visible()
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
Dnv31.c57 struct nvkm_therm *therm = device->therm; in nv31_bus_intr()
Dnv50.c72 struct nvkm_therm *therm = device->therm; in nv50_bus_intr()
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h153 struct nvkm_therm *therm;
226 int (*therm )(struct nvkm_device *, int idx, struct nvkm_therm **);
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c164 struct nvkm_therm *therm = device->therm; in nvkm_cstate_prog()