Lines Matching refs:device

39 nouveau_hwmon_show_temp(struct device *d, struct device_attribute *a, char *buf)  in nouveau_hwmon_show_temp()
43 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_show_temp()
55 nouveau_hwmon_show_temp1_auto_point1_pwm(struct device *d, in nouveau_hwmon_show_temp1_auto_point1_pwm()
64 nouveau_hwmon_temp1_auto_point1_temp(struct device *d, in nouveau_hwmon_temp1_auto_point1_temp()
69 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_temp1_auto_point1_temp()
75 nouveau_hwmon_set_temp1_auto_point1_temp(struct device *d, in nouveau_hwmon_set_temp1_auto_point1_temp()
81 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_temp1_auto_point1_temp()
97 nouveau_hwmon_temp1_auto_point1_temp_hyst(struct device *d, in nouveau_hwmon_temp1_auto_point1_temp_hyst()
102 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_temp1_auto_point1_temp_hyst()
108 nouveau_hwmon_set_temp1_auto_point1_temp_hyst(struct device *d, in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
114 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst()
130 nouveau_hwmon_max_temp(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_max_temp()
134 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_max_temp()
140 nouveau_hwmon_set_max_temp(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_max_temp()
145 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_max_temp()
160 nouveau_hwmon_max_temp_hyst(struct device *d, struct device_attribute *a, in nouveau_hwmon_max_temp_hyst()
165 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_max_temp_hyst()
171 nouveau_hwmon_set_max_temp_hyst(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_max_temp_hyst()
176 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_max_temp_hyst()
192 nouveau_hwmon_critical_temp(struct device *d, struct device_attribute *a, in nouveau_hwmon_critical_temp()
197 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_critical_temp()
203 nouveau_hwmon_set_critical_temp(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_critical_temp()
209 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_critical_temp()
225 nouveau_hwmon_critical_temp_hyst(struct device *d, struct device_attribute *a, in nouveau_hwmon_critical_temp_hyst()
230 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_critical_temp_hyst()
236 nouveau_hwmon_set_critical_temp_hyst(struct device *d, in nouveau_hwmon_set_critical_temp_hyst()
243 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_critical_temp_hyst()
258 nouveau_hwmon_emergency_temp(struct device *d, struct device_attribute *a, in nouveau_hwmon_emergency_temp()
263 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_emergency_temp()
269 nouveau_hwmon_set_emergency_temp(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_emergency_temp()
275 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_emergency_temp()
291 nouveau_hwmon_emergency_temp_hyst(struct device *d, struct device_attribute *a, in nouveau_hwmon_emergency_temp_hyst()
296 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_emergency_temp_hyst()
302 nouveau_hwmon_set_emergency_temp_hyst(struct device *d, in nouveau_hwmon_set_emergency_temp_hyst()
309 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_emergency_temp_hyst()
325 static ssize_t nouveau_hwmon_show_name(struct device *dev, in nouveau_hwmon_show_name()
333 static ssize_t nouveau_hwmon_show_update_rate(struct device *dev, in nouveau_hwmon_show_update_rate()
344 nouveau_hwmon_show_fan1_input(struct device *d, struct device_attribute *attr, in nouveau_hwmon_show_fan1_input()
349 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_show_fan1_input()
357 nouveau_hwmon_get_pwm1_enable(struct device *d, in nouveau_hwmon_get_pwm1_enable()
362 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1_enable()
373 nouveau_hwmon_set_pwm1_enable(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_pwm1_enable()
378 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1_enable()
397 nouveau_hwmon_get_pwm1(struct device *d, struct device_attribute *a, char *buf) in nouveau_hwmon_get_pwm1()
401 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1()
412 nouveau_hwmon_set_pwm1(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_pwm1()
417 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1()
436 nouveau_hwmon_get_pwm1_min(struct device *d, in nouveau_hwmon_get_pwm1_min()
441 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1_min()
452 nouveau_hwmon_set_pwm1_min(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_pwm1_min()
457 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1_min()
476 nouveau_hwmon_get_pwm1_max(struct device *d, in nouveau_hwmon_get_pwm1_max()
481 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_get_pwm1_max()
492 nouveau_hwmon_set_pwm1_max(struct device *d, struct device_attribute *a, in nouveau_hwmon_set_pwm1_max()
497 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_set_pwm1_max()
564 struct nvkm_therm *therm = nvxx_therm(&drm->device); in nouveau_hwmon_init()
566 struct device *hwmon_dev; in nouveau_hwmon_init()