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);
250 struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
275 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
299 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
318 struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
338 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
352 nouveau_chip_read(struct device *dev, u32 attr, int channel, long *val)
366 nouveau_temp_read(struct device *dev, u32 attr, int channel, long *val)
370 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
415 nouveau_fan_read(struct device *dev, u32 attr, int channel, long *val)
419 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
438 nouveau_in_read(struct device *dev, u32 attr, int channel, long *val)
442 struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
469 nouveau_pwm_read(struct device *dev, u32 attr, int channel, long *val)
473 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
495 nouveau_power_read(struct device *dev, u32 attr, int channel, long *val)
499 struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
524 nouveau_temp_write(struct device *dev, u32 attr, int channel, long val)
528 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
558 nouveau_pwm_write(struct device *dev, u32 attr, int channel, long val)
562 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
602 nouveau_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
614 nouveau_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
636 nouveau_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
667 struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
668 struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
669 struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
672 struct device *hwmon_dev;
699 NV_ERROR(drm, "Unable to register hwmon device: %d\n", ret);