Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
A Dpriv.h3 #define nvkm_therm(p) container_of((p), struct nvkm_therm, subdev) macro
34 int, struct nvkm_therm **);
39 struct nvkm_therm *parent;
49 int (*get)(struct nvkm_therm *);
85 void (*init)(struct nvkm_therm *);
86 void (*fini)(struct nvkm_therm *);
87 void (*intr)(struct nvkm_therm *);
94 int (*temp_get)(struct nvkm_therm *);
96 int (*fan_sense)(struct nvkm_therm *);
113 int g84_temp_get(struct nvkm_therm *);
[all …]
A 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()
179 struct nvkm_therm *therm = in nvkm_therm_alarm()
246 nvkm_therm_attr_set(struct nvkm_therm *therm, in nvkm_therm_attr_set()
338 struct nvkm_therm *therm = nvkm_therm(subdev); in nvkm_therm_intr()
346 struct nvkm_therm *therm = nvkm_therm(subdev); in nvkm_therm_fini()
365 struct nvkm_therm *therm = nvkm_therm(subdev); in nvkm_therm_oneinit()
378 struct nvkm_therm *therm = nvkm_therm(subdev); in nvkm_therm_init()
409 struct nvkm_therm *therm = nvkm_therm(subdev); in nvkm_therm_dtor()
415 nvkm_therm = { variable
[all …]
A 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()
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()
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()
219 nvkm_therm_sensor_fini(struct nvkm_therm *therm, bool suspend) in nvkm_therm_sensor_fini()
228 nvkm_therm_sensor_preinit(struct nvkm_therm *therm) in nvkm_therm_sensor_preinit()
[all …]
A 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()
A 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()
A 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()
227 struct nvkm_therm **ptherm) in g84_therm_new()
229 struct nvkm_therm *therm; in g84_therm_new()
A 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 …]
A Dgf119.c27 pwm_info(struct nvkm_therm *therm, int line) in pwm_info()
54 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gf119_fan_pwm_ctrl()
68 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gf119_fan_pwm_get()
90 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gf119_fan_pwm_set()
107 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line) in gf119_fan_pwm_clock()
120 gf119_therm_init(struct nvkm_therm *therm) in gf119_therm_init()
151 struct nvkm_therm **ptherm) in gf119_therm_new()
A 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()
A 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()
A 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()
A 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()
113 struct nvkm_therm **ptherm) in gk104_therm_new_()
128 gk104_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm in gk104_therm_new()
A 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()
A Dgp100.c27 gp100_temp_get(struct nvkm_therm *therm) in gp100_temp_get()
53 struct nvkm_therm **ptherm) in gp100_therm_new()
A 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()
A 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()
A Dgm200.c36 struct nvkm_therm **ptherm) in gm200_therm_new()
A Dgk104.h40 struct nvkm_therm base;
A Dgf100.c32 gf100_clkgate_init(struct nvkm_therm *therm, in gf100_clkgate_init()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/
A 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
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);
105 void nvkm_therm_clkgate_init(struct nvkm_therm *,
107 void nvkm_therm_clkgate_enable(struct nvkm_therm *);
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A 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()
275 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_temp_is_visible()
299 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); in nouveau_pwm_is_visible()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
A Dnv31.c57 struct nvkm_therm *therm = device->therm; in nv31_bus_intr()
A Dnv50.c72 struct nvkm_therm *therm = device->therm; in nv50_bus_intr()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dlayout.h26 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_THERM , struct nvkm_therm , therm)
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dbase.c164 struct nvkm_therm *therm = device->therm; in nvkm_cstate_prog()

Completed in 29 milliseconds