Lines Matching refs:device
41 nouveau_hwmon_show_temp1_auto_point1_pwm(struct device *d,
50 nouveau_hwmon_temp1_auto_point1_temp(struct device *d,
55 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
61 nouveau_hwmon_set_temp1_auto_point1_temp(struct device *d,
67 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
83 nouveau_hwmon_temp1_auto_point1_temp_hyst(struct device *d,
88 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
94 nouveau_hwmon_set_temp1_auto_point1_temp_hyst(struct device *d,
100 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
116 nouveau_hwmon_get_pwm1_max(struct device *d,
121 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
132 nouveau_hwmon_get_pwm1_min(struct device *d,
137 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
148 nouveau_hwmon_set_pwm1_min(struct device *d, struct device_attribute *a,
153 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
171 nouveau_hwmon_set_pwm1_max(struct device *d, struct device_attribute *a,
176 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
301 struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
326 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
350 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
369 struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
389 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
403 nouveau_chip_read(struct device *dev, u32 attr, int channel, long *val)
417 nouveau_temp_read(struct device *dev, u32 attr, int channel, long *val)
421 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
466 nouveau_fan_read(struct device *dev, u32 attr, int channel, long *val)
470 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
489 nouveau_in_read(struct device *dev, u32 attr, int channel, long *val)
493 struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
520 nouveau_pwm_read(struct device *dev, u32 attr, int channel, long *val)
524 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
546 nouveau_power_read(struct device *dev, u32 attr, int channel, long *val)
550 struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
575 nouveau_temp_write(struct device *dev, u32 attr, int channel, long val)
579 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
609 nouveau_pwm_write(struct device *dev, u32 attr, int channel, long val)
613 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
653 nouveau_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
665 nouveau_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
687 nouveau_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
718 struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
719 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
720 struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
723 struct device *hwmon_dev;
750 NV_ERROR(drm, "Unable to register hwmon device: %d\n", ret);