Lines Matching refs:drm

42 	struct nouveau_drm *drm = nouveau_drm(dev);  in nouveau_hwmon_show_temp()  local
43 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_show_temp()
68 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_temp1_auto_point1_temp() local
69 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_temp1_auto_point1_temp()
80 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_temp1_auto_point1_temp() local
81 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_temp1_auto_point1_temp()
101 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_temp1_auto_point1_temp_hyst() local
102 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_temp1_auto_point1_temp_hyst()
113 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst() local
114 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
133 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_max_temp() local
134 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_max_temp()
144 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_max_temp() local
145 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_max_temp()
164 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_max_temp_hyst() local
165 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_max_temp_hyst()
175 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_max_temp_hyst() local
176 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_max_temp_hyst()
196 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_critical_temp() local
197 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_critical_temp()
208 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_critical_temp() local
209 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_critical_temp()
229 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_critical_temp_hyst() local
230 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_critical_temp_hyst()
242 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_critical_temp_hyst() local
243 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_critical_temp_hyst()
262 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_emergency_temp() local
263 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_emergency_temp()
274 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_emergency_temp() local
275 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_emergency_temp()
295 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_emergency_temp_hyst() local
296 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_emergency_temp_hyst()
308 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_emergency_temp_hyst() local
309 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_emergency_temp_hyst()
348 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_show_fan1_input() local
349 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_show_fan1_input()
361 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_enable() local
362 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1_enable()
377 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_enable() local
378 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1_enable()
400 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1() local
401 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1()
416 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1() local
417 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1()
440 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_min() local
441 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1_min()
456 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_min() local
457 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1_min()
480 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_max() local
481 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1_max()
496 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_max() local
497 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1_max()
563 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_init() local
564 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_init()
569 hwmon = drm->hwmon = kzalloc(sizeof(*hwmon), GFP_KERNEL); in nouveau_hwmon_init()
580 NV_ERROR(drm, "Unable to register hwmon device: %d\n", ret); in nouveau_hwmon_init()
621 NV_ERROR(drm, "Unable to create some hwmon sysfs files: %d\n", ret); in nouveau_hwmon_init()