/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | priv.h | 3 #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 *, enum nvkm_therm_attr_type, int); 59 void nvkm_therm_ic_ctor(struct nvkm_therm *); [all …]
|
D | base.c | 30 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 …]
|
D | temp.c | 27 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 …]
|
D | nv50.c | 28 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()
|
D | nv40.c | 30 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()
|
D | g84.c | 30 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()
|
D | fan.c | 34 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 …]
|
D | gf119.c | 27 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()
|
D | gm107.c | 27 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()
|
D | fannil.c | 27 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()
|
D | fantog.c | 41 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()
|
D | gk104.c | 30 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()
|
D | gt215.c | 29 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()
|
D | gp100.c | 27 gp100_temp_get(struct nvkm_therm *therm) in gp100_temp_get() 53 struct nvkm_therm **ptherm) in gp100_therm_new()
|
D | fanpwm.c | 38 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()
|
D | ic.c | 33 struct nvkm_therm *therm = data; in probe_monitoring_device() 83 nvkm_therm_ic_ctor(struct nvkm_therm *therm) in nvkm_therm_ic_ctor()
|
D | gm200.c | 36 struct nvkm_therm **ptherm) in gm200_therm_new()
|
D | gk104.h | 40 struct nvkm_therm base;
|
D | gf100.c | 32 gf100_clkgate_init(struct nvkm_therm *therm, in gf100_clkgate_init()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | therm.h | 59 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-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_hwmon.c | 55 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.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
D | nv31.c | 57 struct nvkm_therm *therm = device->therm; in nv31_bus_intr()
|
D | nv50.c | 72 struct nvkm_therm *therm = device->therm; in nv50_bus_intr()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | layout.h | 24 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_THERM , struct nvkm_therm , therm)
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 164 struct nvkm_therm *therm = device->therm; in nvkm_cstate_prog()
|