/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/ |
rk3399-nanopc-t4.dts | 56 fan: pwm-fan { label 57 compatible = "pwm-fan"; 59 * With 20KHz PWM and an EVERCOOL EC4007H12SA fan, these levels 64 fan-supply = <&vcc12v0_sys>; 87 cooling-device = <&fan THERMAL_NO_LIMIT 1>; 92 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
|
rk3368-lion.dtsi | 60 fan: fan@18 { label
|
rk3399-puma.dtsi | 328 fan: fan@18 { label
|
rk3399-khadas-edge.dtsi | 173 fan: pwm-fan { label 174 compatible = "pwm-fan"; 177 fan-supply = <&vsys_5v0>; 224 cooling-device = <&fan THERMAL_NO_LIMIT 1>; 229 cooling-device = <&fan 2 THERMAL_NO_LIMIT>; 276 cooling-device = <&fan THERMAL_NO_LIMIT 1>; 281 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
|
rk3399-rockpro64.dtsi | 70 fan: pwm-fan { label 71 compatible = "pwm-fan"; 73 fan-supply = <&vcc12v_dcin>;
|
/src/sys/arch/arm/dts/ |
rk3399-rockpro64.dts | 116 fan: pwm-fan { label
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_fan.c | 31 #include <subdev/bios/fan.h> 37 u32 fan = 0; local in function:nvbios_fan_table 41 fan = nvbios_rd32(bios, bit_P.offset + 0x58); 43 if (fan) { 44 *ver = nvbios_rd08(bios, fan + 0); 47 *hdr = nvbios_rd08(bios, fan + 1); 48 *len = nvbios_rd08(bios, fan + 2); 49 *cnt = nvbios_rd08(bios, fan + 3); 50 return fan; 71 nvbios_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_fanpwm.c | 34 #include <subdev/bios/fan.h> 45 struct nvkm_fanpwm *fan = (void *)therm->fan; local in function:nvkm_fanpwm_get 52 ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty); 55 if (card_type <= NV_40 || (fan->func.log[0] & 1)) 60 return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100; 66 struct nvkm_fanpwm *fan = (void *)therm->fan; local in function:nvkm_fanpwm_set 71 divs = fan->base.perf.pwm_divisor 94 struct nvkm_fanpwm *fan; local in function:nvkm_fanpwm_create [all...] |
nouveau_nvkm_subdev_therm_fantog.c | 44 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) 46 struct nvkm_therm *therm = fan->base.parent; 53 spin_lock_irqsave(&fan->lock, flags); 55 percent = fan->percent; 56 fan->percent = percent; 62 u64 next_change = (percent * fan->period_us) / 100; 64 next_change = fan->period_us - next_change; 65 nvkm_timer_alarm(tmr, next_change * 1000, &fan->alarm); 67 spin_unlock_irqrestore(&fan->lock, flags); 73 struct nvkm_fantog *fan local in function:nvkm_fantog_alarm 81 struct nvkm_fantog *fan = (void *)therm->fan; local in function:nvkm_fantog_get 88 struct nvkm_fantog *fan = (void *)therm->fan; local in function:nvkm_fantog_set 98 struct nvkm_fantog *fan = container_of(base, struct nvkm_fantog, base); local in function:nvkm_fantog_dtor 105 struct nvkm_fantog *fan; local in function:nvkm_fantog_create [all...] |
nouveau_nvkm_subdev_therm_fan.c | 32 #include <subdev/bios/fan.h> 37 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) 39 struct nvkm_therm *therm = fan->parent; 46 /* update target fan speed, restricting to allowed range */ 47 spin_lock_irqsave(&fan->lock, flags); 49 target = fan->percent; 50 target = max_t(u8, target, fan->bios.min_duty); 51 target = min_t(u8, target, fan->bios.max_duty); 52 if (fan->percent != target) { 54 nvkm_debug(subdev, "FAN target: %d\n", target) 116 struct nvkm_fan *fan = container_of(alarm, struct nvkm_fan, alarm); local in function:nvkm_fan_alarm [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/nvidia/ |
tegra186-p3509-0000+p3636-0001.dts | 352 fan: fan { label 353 compatible = "pwm-fan"; 669 cooling-device = <&fan 3 3>; 674 cooling-device = <&fan 2 2>; 679 cooling-device = <&fan 1 1>; 684 cooling-device = <&fan 0 0>;
|
tegra210-p3450-0000.dts | 827 fan: fan { label 828 compatible = "pwm-fan"; 865 cooling-device = <&fan 3 3>; 870 cooling-device = <&fan 2 2>; 875 cooling-device = <&fan 1 1>; 880 cooling-device = <&fan 0 0>;
|
tegra194-p2972-0000.dts | 785 fan: fan { label 786 compatible = "pwm-fan"; 892 cooling-device = <&fan 3 3>; 897 cooling-device = <&fan 2 2>; 902 cooling-device = <&fan 1 1>; 907 cooling-device = <&fan 0 0>;
|
tegra194-p3509-0000.dtsi | 762 fan: fan { label 763 compatible = "pwm-fan"; 895 cooling-device = <&fan 3 3>; 900 cooling-device = <&fan 2 2>; 905 cooling-device = <&fan 1 1>; 910 cooling-device = <&fan 0 0>;
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/freescale/ |
imx8mq-phanbell.dts | 40 fan: gpio-fan { label 41 compatible = "gpio-fan"; 42 gpio-fan,speed-map = <0 0 8600 1>; 109 cooling-device = <&fan 0 1>;
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/marvell/ |
armada-8040-clearfog-gt-8k.dts | 34 fan: pwm { label 35 compatible = "pwm-fan"; 127 cooling-device = <&fan THERMAL_NO_LIMIT 4>; 131 cooling-device = <&fan 4 5>; 163 cooling-device = <&fan 0 1>; 167 cooling-device = <&fan 1 2>; 171 cooling-device = <&fan 2 3>; 175 cooling-device = <&fan 3 4>; 179 cooling-device = <&fan 4 5>; 211 cooling-device = <&fan 0 1> [all...] |
/src/sys/dev/ic/ |
apple_smc_fan.c | 130 /* Attach only if there's at least one fan. */ 147 aprint_normal(": Apple SMC fan sensors\n"); 175 * the names of the fan keys; see the fan_sensor table above. 226 /* Release the keys and free the memory for fan records. */ 245 uint8_t fan, sensor; local in function:apple_smc_fan_attach_sensors 258 /* Create an array of fan sensor records. */ 264 for (fan = 0; fan < sc->sc_nfans; fan++) { 266 /* Format the name of the key for the fan's description. * 374 uint8_t fan, sensor; local in function:apple_smc_fan_refresh 421 uint8_t fan, sensor; local in function:apple_smc_fan_release_keys [all...] |
nslm7x.c | 598 .desc = "System Fan", 606 .desc = "CPU Fan", 614 .desc = "Aux Fan", 1735 .desc = "System Fan", 1743 .desc = "CPU Fan", 1883 .desc = "System Fan", 1891 .desc = "CPU Fan", 1899 .desc = "Aux Fan", 2086 .desc = "System Fan", 2094 .desc = "CPU Fan", 2856 int fan, data, divisor = 0; local in function:wb_refresh_fanrpm [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/ |
therm.h | 76 /* fan priv */ 77 struct nvkm_fan *fan; member in struct:nvkm_therm
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
tegra30-ouya.dts | 422 fan: gpio_fan { label 423 compatible = "gpio-fan"; 425 gpio-fan,speed-map = <0 0 458 cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
/src/sys/dev/i2c/ |
adm1026.c | 203 * Wait 1.8s for the fan readings to stabilise. 290 /* Read fan-related registers (configuration and divisors) */ 325 "fan %d", ADM1026_FAN_NUM(i)); 329 "unable to attach fan %d at sysmon\n", i); 435 int fan = ADM1026_NUM_FAN(edata->sensor); local in function:adm1026_read_fan 439 if ((err = adm1026_read_reg(sc, ADM1026_FAN_VAL(fan), &val)) != 0) { 443 if (val == 0xff || val == 0x00) /* Fan missing or stopped */ 446 edata->value_cur = 1350000 / (val * sc->sc_fandiv[fan]);
|
/src/sys/arch/macppc/dev/ |
fcu.c | 146 aprint_normal(": Fan Control Unit\n"); 158 * sensors elsewhere, and fan parameters here. 255 if (strcmp(type, "fan-rpm-control") == 0) { 257 } else if (strcmp(type, "fan-pwm-control") == 0) { 297 "fan control"); 309 fcu_fan_t *fan = &sc->sc_fans[sc->sc_nfans]; local in function:fcu_configure_sensor 326 fan->reg = s->private; 327 fan->target = 0; 328 fan->duty = 0x80; 335 fan->base_rpm = rmin [all...] |
smu.c | 295 struct smu_fan *fan; local in function:smu_setup_fans 306 fan = &sc->sc_fans[sc->sc_num_fans]; 307 fan->sc = sc; 309 memset(fan->location, 0, sizeof(fan->location)); 310 OF_getprop(node, "location", fan->location, 311 sizeof(fan->location)); 313 if (OF_getprop(node, "reg", &fan->reg, 314 sizeof(fan->reg)) <= 0) 317 if (OF_getprop(node, "zone", &fan->zone 406 struct smu_fan *fan; local in function:smu_setup_sme 690 struct smu_fan *fan = &sc->sc_fans[which]; local in function:smu_fan_get_rpm 707 struct smu_fan *fan = &sc->sc_fans[which]; local in function:smu_fan_set_rpm [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_dpm.c | 226 struct _ATOM_PPLIB_FANTABLE fan; member in union:fan_info 302 /* fan table */ 308 adev->pm.dpm.fan.t_hyst = fan_info->fan.ucTHyst; 309 adev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); 310 adev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); 311 adev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh) [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_r600_dpm.c | 820 struct _ATOM_PPLIB_FANTABLE fan; member in union:fan_info 894 /* fan table */ 900 rdev->pm.dpm.fan.t_hyst = fan_info->fan.ucTHyst; 901 rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); 902 rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); 903 rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh) [all...] |