/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
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...] |
nouveau_nvkm_subdev_therm_fannil.c | 32 nvkm_fannil_get(struct nvkm_therm *therm) 38 nvkm_fannil_set(struct nvkm_therm *therm, int percent) 44 nvkm_fannil_create(struct nvkm_therm *therm) 49 therm->fan = priv;
|
nouveau_nvkm_subdev_therm_fanpwm.c | 43 nvkm_fanpwm_get(struct nvkm_therm *therm) 45 struct nvkm_fanpwm *fan = (void *)therm->fan; 46 struct nvkm_device *device = therm->subdev.device; 52 ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty); 64 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent) 66 struct nvkm_fanpwm *fan = (void *)therm->fan; 67 int card_type = therm->subdev.device->card_type; 74 if (therm->func->pwm_clock) 75 divs = therm->func->pwm_clock(therm, fan->func.line) [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_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_ic.c | 41 struct nvkm_therm *therm = data; 42 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; 57 nvkm_debug(&therm->subdev, 61 therm->ic = client; 92 nvkm_therm_ic_ctor(struct nvkm_therm *therm) 94 struct nvkm_device *device = therm->subdev.device; 111 probe_monitoring_device, therm); 112 if (therm->ic) 123 probe_monitoring_device, therm); 124 if (therm->ic [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_nv50.c | 33 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) 35 struct nvkm_subdev *subdev = &therm->subdev; 60 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) 62 struct nvkm_device *device = therm->subdev.device; 64 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); 71 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) 73 struct nvkm_device *device = therm->subdev.device; 74 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); 88 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) 90 struct nvkm_device *device = therm->subdev.device [all...] |
nouveau_nvkm_subdev_therm_gf119.c | 32 pwm_info(struct nvkm_therm *therm, int line) 34 struct nvkm_subdev *subdev = &therm->subdev; 58 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) 60 struct nvkm_device *device = therm->subdev.device; 62 int indx = pwm_info(therm, line); 72 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) 74 struct nvkm_device *device = therm->subdev.device; 75 int indx = pwm_info(therm, line); 94 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) 96 struct nvkm_device *device = therm->subdev.device [all...] |
nouveau_nvkm_subdev_therm_nv40.c | 35 nv40_sensor_style(struct nvkm_therm *therm) 37 switch (therm->subdev.device->chipset) { 58 nv40_sensor_setup(struct nvkm_therm *therm) 60 struct nvkm_device *device = therm->subdev.device; 61 enum nv40_sensor_style style = nv40_sensor_style(therm); 78 nv40_temp_get(struct nvkm_therm *therm) 80 struct nvkm_device *device = therm->subdev.device; 81 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; 82 enum nv40_sensor_style style = nv40_sensor_style(therm); 111 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable [all...] |
nouveau_nvkm_subdev_therm_gm107.c | 32 gm107_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) 39 gm107_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) 41 struct nvkm_device *device = therm->subdev.device; 48 gm107_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) 50 struct nvkm_device *device = therm->subdev.device; 57 gm107_fan_pwm_clock(struct nvkm_therm *therm, int line) 59 return therm->subdev.device->crystal * 1000;
|
nouveau_nvkm_subdev_therm_gp100.c | 32 gp100_temp_get(struct nvkm_therm *therm) 34 struct nvkm_device *device = therm->subdev.device; 35 struct nvkm_subdev *subdev = &therm->subdev;
|
nouveau_nvkm_subdev_therm_gf100.c | 37 gf100_clkgate_init(struct nvkm_therm *therm, 40 struct nvkm_device *device = therm->subdev.device; 49 nvkm_trace(&therm->subdev, "{ 0x%06x, %d, 0x%08x }\n", 52 nvkm_trace(&therm->subdev, "\t0x%06x = 0x%08x\n",
|
nouveau_nvkm_subdev_therm_gt215.c | 34 gt215_therm_fan_sense(struct nvkm_therm *therm) 36 struct nvkm_device *device = therm->subdev.device; 45 gt215_therm_init(struct nvkm_therm *therm) 47 struct nvkm_device *device = therm->subdev.device; 48 struct dcb_gpio_func *tach = &therm->fan->tach; 50 g84_sensor_setup(therm);
|
gk104.h | 31 #include <subdev/therm.h>
|
/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/include/nvkm/subdev/bios/ |
fan.h | 6 #include <subdev/bios/therm.h>
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
gk104.h | 30 #include <subdev/therm.h>
|
nouveau_nvkm_subdev_fb_gk110.c | 32 #include <subdev/therm.h>
|
/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/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/nvkm/engine/gr/ |
gk104.h | 29 #include <subdev/therm.h>
|