Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dpriv.h35 struct nvkm_therm *parent;
45 int (*get)(struct nvkm_therm *);
46 int (*set)(struct nvkm_therm *, int percent);
70 struct nvkm_therm base;
91 void (*program_alarms)(struct nvkm_therm *);
96 void (*downclock)(struct nvkm_therm *, bool active);
97 void (*pause)(struct nvkm_therm *, bool active);
104 int nvkm_therm_fan_mode(struct nvkm_therm *, int mode);
105 int nvkm_therm_attr_get(struct nvkm_therm *, enum nvkm_therm_attr_type);
106 int nvkm_therm_attr_set(struct nvkm_therm *, enum nvkm_therm_attr_type, int);
[all …]
Dtemp.c27 nvkm_therm_temp_set_defaults(struct nvkm_therm *therm) in nvkm_therm_temp_set_defaults()
48 nvkm_therm_temp_safety_checks(struct nvkm_therm *therm) in nvkm_therm_temp_safety_checks()
62 nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *therm, in nvkm_therm_sensor_set_threshold_state()
72 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *therm, in nvkm_therm_sensor_get_threshold_state()
87 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event()
142 nvkm_therm_threshold_hyst_polling(struct nvkm_therm *therm, in nvkm_therm_threshold_hyst_polling()
173 struct nvkm_therm *therm = &priv->base; in alarm_timer_callback()
198 nvkm_therm_program_alarms_polling(struct nvkm_therm *therm) in nvkm_therm_program_alarms_polling()
215 nvkm_therm_sensor_init(struct nvkm_therm *therm) in nvkm_therm_sensor_init()
223 nvkm_therm_sensor_fini(struct nvkm_therm *therm, bool suspend) in nvkm_therm_sensor_fini()
[all …]
Dnv40.c36 nv40_sensor_style(struct nvkm_therm *therm) in nv40_sensor_style()
62 nv40_sensor_setup(struct nvkm_therm *therm) in nv40_sensor_setup()
81 nv40_temp_get(struct nvkm_therm *therm) in nv40_temp_get()
114 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv40_fan_pwm_ctrl()
127 nv40_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in nv40_fan_pwm_get()
153 nv40_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in nv40_fan_pwm_set()
172 struct nvkm_therm *therm = nvkm_therm(subdev); in nv40_therm_intr()
209 struct nvkm_therm *therm = (void *)object; in nv40_therm_init()
Dnv50.c34 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info()
59 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl()
69 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in nv50_fan_pwm_get()
85 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in nv50_fan_pwm_set()
97 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) in nv50_fan_pwm_clock()
123 nv50_sensor_setup(struct nvkm_therm *therm) in nv50_sensor_setup()
130 nv50_temp_get(struct nvkm_therm *therm) in nv50_temp_get()
182 struct nvkm_therm *therm = (void *)object; in nv50_therm_init()
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()
119 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) in nvkm_therm_fan_set()
126 nvkm_therm_fan_sense(struct nvkm_therm *therm) in nvkm_therm_fan_sense()
166 nvkm_therm_fan_user_get(struct nvkm_therm *therm) in nvkm_therm_fan_user_get()
172 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent) in nvkm_therm_fan_user_set()
183 nvkm_therm_fan_set_defaults(struct nvkm_therm *therm) in nvkm_therm_fan_set_defaults()
197 nvkm_therm_fan_safety_checks(struct nvkm_therm *therm) in nvkm_therm_fan_safety_checks()
211 nvkm_therm_fan_init(struct nvkm_therm *therm) in nvkm_therm_fan_init()
217 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()
Dgm107.c33 gm107_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gm107_fan_pwm_ctrl()
40 gm107_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gm107_fan_pwm_get()
48 gm107_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gm107_fan_pwm_set()
56 gm107_fan_pwm_clock(struct nvkm_therm *therm, int line) in gm107_fan_pwm_clock()
Dbase.c29 nvkm_therm_update_trip(struct nvkm_therm *therm) in nvkm_therm_update_trip()
62 nvkm_therm_update_linear(struct nvkm_therm *therm) in nvkm_therm_update_linear()
85 nvkm_therm_update(struct nvkm_therm *therm, int mode) in nvkm_therm_update()
140 nvkm_therm_cstate(struct nvkm_therm *ptherm, int fan, int dir) in nvkm_therm_cstate()
161 nvkm_therm_fan_mode(struct nvkm_therm *therm, int mode) in nvkm_therm_fan_mode()
191 nvkm_therm_attr_get(struct nvkm_therm *therm, in nvkm_therm_attr_get()
225 nvkm_therm_attr_set(struct nvkm_therm *therm, in nvkm_therm_attr_set()
287 struct nvkm_therm *therm = (void *)object; in _nvkm_therm_init()
310 struct nvkm_therm *therm = (void *)object; in _nvkm_therm_fini()
350 nvkm_therm_preinit(struct nvkm_therm *therm) in nvkm_therm_preinit()
Dgf110.c33 pwm_info(struct nvkm_therm *therm, int line) in pwm_info()
57 gf110_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gf110_fan_pwm_ctrl()
70 gf110_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gf110_fan_pwm_get()
91 gf110_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gf110_fan_pwm_set()
107 gf110_fan_pwm_clock(struct nvkm_therm *therm, int line) in gf110_fan_pwm_clock()
Dg84.c34 g84_temp_get(struct nvkm_therm *therm) in g84_temp_get()
45 g84_sensor_setup(struct nvkm_therm *therm) in g84_sensor_setup()
58 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()
140 struct nvkm_therm *therm = nvkm_therm(subdev); in g84_therm_intr()
Dfantog.c73 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()
92 nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) in nvkm_fantog_create()
Dfanpwm.c39 nvkm_fanpwm_get(struct nvkm_therm *therm) in nvkm_fanpwm_get()
60 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent) in nvkm_fanpwm_set()
87 nvkm_fanpwm_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) in nvkm_fanpwm_create()
Dic.c83 nvkm_therm_ic_ctor(struct nvkm_therm *therm) in nvkm_therm_ic_ctor()
Dgt215.c34 gt215_therm_fan_sense(struct nvkm_therm *therm) in gt215_therm_fan_sense()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtherm.h26 struct nvkm_therm { struct
29 int (*pwm_ctrl)(struct nvkm_therm *, int line, bool); argument
30 int (*pwm_get)(struct nvkm_therm *, int line, u32 *, u32 *); argument
31 int (*pwm_set)(struct nvkm_therm *, int line, u32, u32); argument
32 int (*pwm_clock)(struct nvkm_therm *, int line); argument
34 int (*fan_get)(struct nvkm_therm *); argument
35 int (*fan_set)(struct nvkm_therm *, int); argument
36 int (*fan_sense)(struct nvkm_therm *); argument
38 int (*temp_get)(struct nvkm_therm *); argument
40 int (*attr_get)(struct nvkm_therm *, enum nvkm_therm_attr_type); argument
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c43 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_show_temp()
69 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_temp1_auto_point1_temp()
81 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_temp1_auto_point1_temp()
102 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_temp1_auto_point1_temp_hyst()
114 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
134 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_max_temp()
145 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_max_temp()
165 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_max_temp_hyst()
176 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_max_temp_hyst()
197 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_critical_temp()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
Ddevice.h51 #define nvxx_therm(a) nvkm_therm(nvxx_device(a))
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c80 struct nvkm_therm *ptherm = nvkm_therm(clk); in nvkm_cstate_prog()