Lines Matching defs:device
36 struct nvkm_device *device = therm->subdev.device;
37 *divs = nvkm_rd32(device, 0x10eb20) & 0x1fff;
38 *duty = nvkm_rd32(device, 0x10eb24) & 0x1fff;
45 struct nvkm_device *device = therm->subdev.device;
46 nvkm_mask(device, 0x10eb10, 0x1fff, divs); /* keep the high bits */
47 nvkm_wr32(device, 0x10eb14, duty | 0x80000000);
54 return therm->subdev.device->crystal * 1000;
71 gm107_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
74 return nvkm_therm_new_(&gm107_therm, device, type, inst, ptherm);