Lines Matching refs:subdev
32 switch (therm->subdev.device->chipset) { in nv40_sensor_style()
55 struct nvkm_device *device = therm->subdev.device; in nv40_sensor_setup()
75 struct nvkm_device *device = therm->subdev.device; in nv40_temp_get()
108 struct nvkm_subdev *subdev = &therm->subdev; in nv40_fan_pwm_ctrl() local
109 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_ctrl()
114 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_ctrl()
123 struct nvkm_subdev *subdev = &therm->subdev; in nv40_fan_pwm_get() local
124 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_get()
141 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_get()
151 struct nvkm_subdev *subdev = &therm->subdev; in nv40_fan_pwm_set() local
152 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_set()
160 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_set()
170 struct nvkm_subdev *subdev = &therm->subdev; in nv40_therm_intr() local
171 struct nvkm_device *device = subdev->device; in nv40_therm_intr()
179 nvkm_error(subdev, "THERM received an IRQ: stat = %x\n", stat); in nv40_therm_intr()