/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/ |
nouveau_nvkm_subdev_bus_nv31.c | 33 #include <subdev/therm.h> 62 struct nvkm_therm *therm = device->therm; local in function:nv31_bus_intr 63 if (therm) 64 nvkm_subdev_intr(&therm->subdev);
|
nouveau_nvkm_subdev_bus_nv50.c | 32 #include <subdev/therm.h> 77 struct nvkm_therm *therm = device->therm; local in function:nv50_bus_intr 78 if (therm) 79 nvkm_subdev_intr(&therm->subdev);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_gk104.c | 37 struct gk104_therm *therm = gk104_therm(base); local in function:gk104_clkgate_enable 38 struct nvkm_device *dev = therm->base.subdev.device; 39 const struct gk104_clkgate_engine_info *order = therm->clkgate_order; 51 nvkm_wr32(dev, 0x020288, therm->idle_filter->fecs); 52 nvkm_wr32(dev, 0x02028c, therm->idle_filter->hubmmu); 66 struct gk104_therm *therm = gk104_therm(base); local in function:gk104_clkgate_fini 67 struct nvkm_device *dev = therm->base.subdev.device; 68 const struct gk104_clkgate_engine_info *order = therm->clkgate_order; 121 struct gk104_therm *therm = kzalloc(sizeof(*therm), GFP_KERNEL) local in function:gk104_therm_new_ [all...] |
nouveau_nvkm_subdev_therm_fantog.c | 46 struct nvkm_therm *therm = fan->base.parent; local in function:nvkm_fantog_update 47 struct nvkm_device *device = therm->subdev.device; 79 nvkm_fantog_get(struct nvkm_therm *therm) 81 struct nvkm_fantog *fan = (void *)therm->fan; 86 nvkm_fantog_set(struct nvkm_therm *therm, int percent) 88 struct nvkm_fantog *fan = (void *)therm->fan; 89 if (therm->func->pwm_ctrl) 90 therm->func->pwm_ctrl(therm, fan->func.line, false); 103 nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func [all...] |
nouveau_nvkm_subdev_therm_g84.c | 35 g84_temp_get(struct nvkm_therm *therm) 37 struct nvkm_device *device = therm->subdev.device; 46 g84_sensor_setup(struct nvkm_therm *therm) 48 struct nvkm_device *device = therm->subdev.device; 59 g84_therm_program_alarms(struct nvkm_therm *therm) 61 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; 62 struct nvkm_subdev *subdev = &therm->subdev; 66 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags); 83 spin_unlock_irqrestore(&therm->sensor.alarm_program_lock, flags); 100 g84_therm_threshold_hyst_emulation(struct nvkm_therm *therm, 233 struct nvkm_therm *therm; local in function:g84_therm_new [all...] |
nouveau_nvkm_subdev_therm_base.c | 35 nvkm_therm_temp_get(struct nvkm_therm *therm) 37 if (therm->func->temp_get) 38 return therm->func->temp_get(therm); 43 nvkm_therm_update_trip(struct nvkm_therm *therm) 45 struct nvbios_therm_trip_point *trip = therm->fan->bios.trip, 47 *last_trip = therm->last_trip; 48 u8 temp = therm->func->temp_get(therm); 53 for (i = 0; i < therm->fan->bios.nr_fan_trip; i++) 186 struct nvkm_therm *therm = local in function:nvkm_therm_alarm 345 struct nvkm_therm *therm = nvkm_therm(subdev); local in function:nvkm_therm_intr 353 struct nvkm_therm *therm = nvkm_therm(subdev); local in function:nvkm_therm_fini 372 struct nvkm_therm *therm = nvkm_therm(subdev); local in function:nvkm_therm_oneinit 385 struct nvkm_therm *therm = nvkm_therm(subdev); local in function:nvkm_therm_init 416 struct nvkm_therm *therm = nvkm_therm(subdev); local in function:nvkm_therm_dtor 458 struct nvkm_therm *therm; local in function:nvkm_therm_new_ [all...] |
nouveau_nvkm_subdev_therm_fan.c | 39 struct nvkm_therm *therm = fan->parent; local in function:nvkm_fan_update 40 struct nvkm_subdev *subdev = &therm->subdev; 60 duty = fan->get(therm); 83 ret = fan->set(therm, duty); 121 nvkm_therm_fan_get(struct nvkm_therm *therm) 123 return therm->fan->get(therm); 127 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) 129 return nvkm_fan_update(therm->fan, immediate, percent); 133 nvkm_therm_fan_sense(struct nvkm_therm *therm) [all...] |
nouveau_nvkm_subdev_therm_temp.c | 32 nvkm_therm_temp_set_defaults(struct nvkm_therm *therm) 34 therm->bios_sensor.offset_constant = 0; 36 therm->bios_sensor.thrs_fan_boost.temp = 90; 37 therm->bios_sensor.thrs_fan_boost.hysteresis = 3; 39 therm->bios_sensor.thrs_down_clock.temp = 95; 40 therm->bios_sensor.thrs_down_clock.hysteresis = 3; 42 therm->bios_sensor.thrs_critical.temp = 105; 43 therm->bios_sensor.thrs_critical.hysteresis = 5; 45 therm->bios_sensor.thrs_shutdown.temp = 135; 46 therm->bios_sensor.thrs_shutdown.hysteresis = 5; /*not that it matters * 169 struct nvkm_therm *therm = local in function:alarm_timer_callback [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_therm.c | 31 #include <subdev/bios/therm.h> 37 u32 therm = 0; local in function:therm_table 41 therm = nvbios_rd32(bios, bit_P.offset + 12); 43 therm = nvbios_rd32(bios, bit_P.offset + 16); 51 if (!therm) 54 *ver = nvbios_rd08(bios, therm + 0); 55 *hdr = nvbios_rd08(bios, therm + 1); 56 *len = nvbios_rd08(bios, therm + 2); 57 *cnt = nvbios_rd08(bios, therm + 3); 58 return therm + nvbios_rd08(bios, therm + 1) 65 u32 therm = therm_table(bios, ver, &hdr, len, &cnt); local in function:nvbios_therm_entry [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_hwmon.c | 60 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_temp1_auto_point1_temp 63 therm->attr_get(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST) * 1000); 72 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_set_temp1_auto_point1_temp 78 therm->attr_set(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST, 93 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_temp1_auto_point1_temp_hyst 96 therm->attr_get(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST_HYST) * 1000); 105 struct nvkm_therm *therm = nvxx_therm(&drm->client.device) local in function:nouveau_hwmon_set_temp1_auto_point1_temp_hyst 126 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_get_pwm1_max 142 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_get_pwm1_min 158 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_set_pwm1_min 181 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_set_pwm1_max 331 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_temp_is_visible 355 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_pwm_is_visible 394 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_fan_is_visible 426 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_temp_read 475 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_fan_read 529 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_pwm_read 584 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_temp_write 618 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_pwm_write 724 struct nvkm_therm *therm = nvxx_therm(&drm->client.device); local in function:nouveau_hwmon_init [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
nouveau_nvkm_subdev_clk_base.c | 37 #include <subdev/therm.h> 169 struct nvkm_therm *therm = device->therm; local in function:nvkm_cstate_prog 181 if (therm) { 182 ret = nvkm_therm_cstate(therm, pstate->fanspeed, +1); 211 if (therm) { 212 ret = nvkm_therm_cstate(therm, pstate->fanspeed, -1);
|
/src/sys/dev/i2c/ |
adm1021.c | 31 * therm (high) limits X X X 72 #define ADM1032_EXT_THERM 0x19 /* R/W external Therm (high) limit */ 73 #define ADM1032_INT_THERM 0x20 /* R/W internal Therm (high) limit */ 74 #define ADM1032_THERM_HYST 0x21 /* R/W Therm hysteris */ 150 int therm; member in struct:admtemp_params 158 .therm = 0, 166 .therm = 0, 174 .therm = 0, 225 * To check if an ADM chip has a Therm output, we check that we 226 * read 0x55 (default value) from the external therm limit [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/ |
device.h | 165 struct nvkm_therm *therm; member in struct:nvkm_device 242 int (*therm )(struct nvkm_device *, int idx, struct nvkm_therm **); member in struct:nvkm_device_chip
|