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

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dpriv.h3 #define nvkm_therm(p) container_of((p), struct nvkm_therm, subdev) macro
34 int, struct nvkm_therm **);
35 void nvkm_therm_ctor(struct nvkm_therm *, struct nvkm_device *, enum nvkm_subdev_type, int,
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 *, enu
[all...]
H A Dfannil.c27 nvkm_fannil_get(struct nvkm_therm *therm)
33 nvkm_fannil_set(struct nvkm_therm *therm, int percent)
39 nvkm_fannil_create(struct nvkm_therm *therm)
H A Dgm107.c27 gm107_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
34 gm107_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
43 gm107_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
52 gm107_fan_pwm_clock(struct nvkm_therm *therm, int line)
72 struct nvkm_therm **ptherm)
H A Dgp100.c29 gp100_temp_get(struct nvkm_therm *therm)
55 struct nvkm_therm **ptherm)
H A Dbase.c30 nvkm_therm_temp_get(struct nvkm_therm *therm)
38 nvkm_therm_update_trip(struct nvkm_therm *therm)
70 nvkm_therm_compute_linear_duty(struct nvkm_therm *therm, u8 linear_min_temp,
91 nvkm_therm_update_linear(struct nvkm_therm *therm)
99 nvkm_therm_update_linear_fallback(struct nvkm_therm *therm)
106 nvkm_therm_update(struct nvkm_therm *therm, int mode)
164 nvkm_therm_cstate(struct nvkm_therm *therm, int fan, int dir)
179 struct nvkm_therm *therm =
180 container_of(alarm, struct nvkm_therm, alarm);
185 nvkm_therm_fan_mode(struct nvkm_therm *ther
415 nvkm_therm = { variable in typeref:struct:nvkm_subdev_func
[all...]
H A Dgk104.h40 struct nvkm_therm base;
H A Dgm200.c36 struct nvkm_therm **ptherm)
H A Dnv40.c30 nv40_sensor_style(struct nvkm_therm *therm)
53 nv40_sensor_setup(struct nvkm_therm *therm)
73 nv40_temp_get(struct nvkm_therm *therm)
106 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
121 nv40_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
149 nv40_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
168 nv40_therm_intr(struct nvkm_therm *therm)
183 nv40_therm_init(struct nvkm_therm *therm)
201 struct nvkm_therm **ptherm)
H A Dnv50.c28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx)
55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
66 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
83 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
96 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line)
121 nv50_sensor_setup(struct nvkm_therm *therm)
129 nv50_temp_get(struct nvkm_therm *therm)
154 nv50_therm_init(struct nvkm_therm *therm)
173 struct nvkm_therm **ptherm)
H A Dtemp.c27 nvkm_therm_temp_set_defaults(struct nvkm_therm *therm)
45 nvkm_therm_temp_safety_checks(struct nvkm_therm *therm)
58 nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *therm,
67 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *therm,
81 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs,
137 nvkm_therm_threshold_hyst_polling(struct nvkm_therm *therm,
164 struct nvkm_therm *therm =
165 container_of(alarm, struct nvkm_therm, sensor.therm_poll_alarm);
193 nvkm_therm_program_alarms_polling(struct nvkm_therm *therm)
212 nvkm_therm_sensor_init(struct nvkm_therm *ther
[all...]
H A Dgt215.c29 gt215_therm_fan_sense(struct nvkm_therm *therm)
40 gt215_therm_init(struct nvkm_therm *therm)
72 struct nvkm_therm **ptherm)
H A Dfan.c34 struct nvkm_therm *therm = fan->parent;
112 nvkm_therm_fan_get(struct nvkm_therm *therm)
118 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent)
124 nvkm_therm_fan_sense(struct nvkm_therm *therm)
169 nvkm_therm_fan_user_get(struct nvkm_therm *therm)
175 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent)
184 nvkm_therm_fan_set_defaults(struct nvkm_therm *therm)
196 nvkm_therm_fan_safety_checks(struct nvkm_therm *therm)
208 nvkm_therm_fan_init(struct nvkm_therm *therm)
214 nvkm_therm_fan_fini(struct nvkm_therm *ther
[all...]
H A Dgf119.c27 pwm_info(struct nvkm_therm *therm, int line)
54 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable)
68 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty)
90 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty)
107 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line)
120 gf119_therm_init(struct nvkm_therm *therm)
151 struct nvkm_therm **ptherm)
H A Dgk104.c30 gk104_clkgate_enable(struct nvkm_therm *base)
59 gk104_clkgate_fini(struct nvkm_therm *base, bool suspend)
113 struct nvkm_therm **ptherm)
128 gk104_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm)
H A Dfantog.c41 struct nvkm_therm *therm = fan->base.parent;
74 nvkm_fantog_get(struct nvkm_therm *therm)
81 nvkm_fantog_set(struct nvkm_therm *therm, int percent)
91 nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func)
H A Dg84.c30 g84_temp_get(struct nvkm_therm *therm)
41 g84_sensor_setup(struct nvkm_therm *therm)
54 g84_therm_program_alarms(struct nvkm_therm *therm)
95 g84_therm_threshold_hyst_emulation(struct nvkm_therm *therm,
139 g84_therm_intr(struct nvkm_therm *therm)
194 g84_therm_fini(struct nvkm_therm *therm)
207 g84_therm_init(struct nvkm_therm *therm)
227 struct nvkm_therm **ptherm)
229 struct nvkm_therm *therm;
H A Dfanpwm.c38 nvkm_fanpwm_get(struct nvkm_therm *therm)
59 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent)
85 nvkm_fanpwm_create(struct nvkm_therm *therm, struct dcb_gpio_func *func)
H A Dgf100.c32 gf100_clkgate_init(struct nvkm_therm *therm,
H A Dic.c33 struct nvkm_therm *therm = data;
83 nvkm_therm_ic_ctor(struct nvkm_therm *therm)
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dtherm.h59 struct nvkm_therm { struct
86 void (*downclock)(struct nvkm_therm *, bool active);
87 void (*pause)(struct nvkm_therm *, bool active);
93 int (*fan_get)(struct nvkm_therm *);
94 int (*fan_set)(struct nvkm_therm *, int);
96 int (*attr_get)(struct nvkm_therm *, enum nvkm_therm_attr_type);
97 int (*attr_set)(struct nvkm_therm *, enum nvkm_therm_attr_type, int);
102 int nvkm_therm_temp_get(struct nvkm_therm *);
103 int nvkm_therm_fan_sense(struct nvkm_therm *);
104 int nvkm_therm_cstate(struct nvkm_therm *, in
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.c55 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
67 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
88 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
100 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
121 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
137 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
153 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
176 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
275 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
299 struct nvkm_therm *ther
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dnv31.c57 struct nvkm_therm *therm = device->therm;
H A Dnv50.c72 struct nvkm_therm *therm = device->therm;
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h26 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_THERM , struct nvkm_therm , therm)
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c164 struct nvkm_therm *therm = device->therm;

Completed in 167 milliseconds