Lines Matching refs:nvkm_therm

3 #define nvkm_therm(p) container_of((p), struct nvkm_therm, subdev)
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 *, enum nvkm_therm_attr_type, int);
59 void nvkm_therm_ic_ctor(struct nvkm_therm *);
61 int nvkm_therm_sensor_ctor(struct nvkm_therm *);
63 int nvkm_therm_fan_ctor(struct nvkm_therm *);
64 int nvkm_therm_fan_init(struct nvkm_therm *);
65 int nvkm_therm_fan_fini(struct nvkm_therm *, bool suspend);
66 int nvkm_therm_fan_get(struct nvkm_therm *);
67 int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent);
68 int nvkm_therm_fan_user_get(struct nvkm_therm *);
69 int nvkm_therm_fan_user_set(struct nvkm_therm *, int percent);
71 int nvkm_therm_sensor_init(struct nvkm_therm *);
72 int nvkm_therm_sensor_fini(struct nvkm_therm *, bool suspend);
73 void nvkm_therm_sensor_preinit(struct nvkm_therm *);
74 void nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *,
78 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *,
80 void nvkm_therm_sensor_event(struct nvkm_therm *, enum nvkm_therm_thrs,
82 void nvkm_therm_program_alarms_polling(struct nvkm_therm *);
85 void (*init)(struct nvkm_therm *);
86 void (*fini)(struct nvkm_therm *);
87 void (*intr)(struct nvkm_therm *);
89 int (*pwm_ctrl)(struct nvkm_therm *, int line, bool);
90 int (*pwm_get)(struct nvkm_therm *, int line, u32 *, u32 *);
91 int (*pwm_set)(struct nvkm_therm *, int line, u32, u32);
92 int (*pwm_clock)(struct nvkm_therm *, int line);
94 int (*temp_get)(struct nvkm_therm *);
96 int (*fan_sense)(struct nvkm_therm *);
98 void (*program_alarms)(struct nvkm_therm *);
100 void (*clkgate_init)(struct nvkm_therm *,
102 void (*clkgate_enable)(struct nvkm_therm *);
103 void (*clkgate_fini)(struct nvkm_therm *, bool);
106 void nv40_therm_intr(struct nvkm_therm *);
108 int nv50_fan_pwm_ctrl(struct nvkm_therm *, int, bool);
109 int nv50_fan_pwm_get(struct nvkm_therm *, int, u32 *, u32 *);
110 int nv50_fan_pwm_set(struct nvkm_therm *, int, u32, u32);
111 int nv50_fan_pwm_clock(struct nvkm_therm *, int);
113 int g84_temp_get(struct nvkm_therm *);
114 void g84_sensor_setup(struct nvkm_therm *);
115 void g84_therm_fini(struct nvkm_therm *);
117 int gt215_therm_fan_sense(struct nvkm_therm *);
119 void gf100_clkgate_init(struct nvkm_therm *,
122 void g84_therm_init(struct nvkm_therm *);
124 int gf119_fan_pwm_ctrl(struct nvkm_therm *, int, bool);
125 int gf119_fan_pwm_get(struct nvkm_therm *, int, u32 *, u32 *);
126 int gf119_fan_pwm_set(struct nvkm_therm *, int, u32, u32);
127 int gf119_fan_pwm_clock(struct nvkm_therm *, int);
128 void gf119_therm_init(struct nvkm_therm *);
130 void gk104_therm_init(struct nvkm_therm *);
131 void gk104_clkgate_enable(struct nvkm_therm *);
132 void gk104_clkgate_fini(struct nvkm_therm *, bool);
134 int nvkm_fanpwm_create(struct nvkm_therm *, struct dcb_gpio_func *);
135 int nvkm_fantog_create(struct nvkm_therm *, struct dcb_gpio_func *);
136 int nvkm_fannil_create(struct nvkm_therm *);