HomeSort by: relevance | last modified time | path
    Searched refs:fan (Results 1 - 25 of 115) sorted by relevancy

1 2 3 4 5

  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/
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_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_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...]
nouveau_nvkm_subdev_therm_base.c 45 struct nvbios_therm_trip_point *trip = therm->fan->bios.trip,
53 for (i = 0; i < therm->fan->bios.nr_fan_trip; i++) {
83 return therm->fan->bios.min_duty;
85 return therm->fan->bios.max_duty;
89 duty *= (therm->fan->bios.max_duty - therm->fan->bios.min_duty);
91 duty += therm->fan->bios.min_duty;
98 u8 min = therm->fan->bios.linear_min_temp;
99 u8 max = therm->fan->bios.linear_max_temp;
134 switch(therm->fan->bios.fan_mode)
    [all...]
nouveau_nvkm_subdev_therm_fannil.c 49 therm->fan = priv;
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
mvebu-linkstation-fan.dtsi 2 * Device Tree common file for gpio-fan on Buffalo Linkstation
48 compatible = "gpio-fan";
52 gpio-fan,speed-map =
61 pmx_fan_low: pmx-fan-low {
65 pmx_fan_high: pmx-fan-high {
69 pmx_fan_lock: pmx-fan-lock {
aspeed-bmc-microsoft-olympus.dts 177 fan@0 {
179 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
182 fan@1 {
184 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
187 fan@2 {
189 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
192 fan@3 {
194 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
197 fan@4 {
199 aspeed,fan-tach-ch = /bits/ 8 <0x04>
    [all...]
aspeed-bmc-lenovo-hr855xg2.dts 340 fan@0 {
342 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
345 fan@1 {
347 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
350 fan@2 {
352 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
355 fan@3 {
357 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
360 fan@4 {
362 aspeed,fan-tach-ch = /bits/ 8 <0x04>
    [all...]
kirkwood-linkstation-lswxl.dts 31 pmx_fan_lock: pmx-fan-lock {
35 pmx_fan_high: pmx-fan-high {
39 pmx_fan_low: pmx-fan-low {
65 compatible = "gpio-fan";
72 gpio-fan,speed-map = <0 3
aspeed-bmc-opp-swift.dts 346 fan@0 {
347 compatible = "pmbus-fan";
350 maxim,fan-rotor-input = "tach";
351 maxim,fan-pwm-freq = <25000>;
352 maxim,fan-no-watchdog;
353 maxim,fan-no-fault-ramp;
354 maxim,fan-ramp = <2>;
355 maxim,fan-fault-pin-mon;
358 fan@1 {
359 compatible = "pmbus-fan";
    [all...]
aspeed-bmc-lenovo-hr630.dts 335 fan@0 {
337 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
340 fan@1 {
342 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
345 fan@2 {
347 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
350 fan@3 {
352 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
355 fan@4 {
357 aspeed,fan-tach-ch = /bits/ 8 <0x04>
    [all...]
aspeed-bmc-opp-tacoma.dts 486 fan@0 {
487 compatible = "pmbus-fan";
490 maxim,fan-rotor-input = "tach";
491 maxim,fan-pwm-freq = <25000>;
492 maxim,fan-dual-tach;
493 maxim,fan-no-watchdog;
494 maxim,fan-no-fault-ramp;
495 maxim,fan-ramp = <2>;
496 maxim,fan-fault-pin-mon;
499 fan@1
    [all...]
aspeed-bmc-amd-ethanolx.dts 271 fan@0 {
273 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
276 fan@1 {
278 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
281 fan@2 {
283 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
286 fan@3 {
288 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
291 fan@4 {
293 aspeed,fan-tach-ch = /bits/ 8 <0x04>
    [all...]
nuvoton-npcm750-evb.dts 282 fan@0 {
284 fan-tach-ch = /bits/ 8 <0x00 0x01>;
287 fan@1 {
289 fan-tach-ch = /bits/ 8 <0x02 0x03>;
292 fan@2 {
294 fan-tach-ch = /bits/ 8 <0x04 0x05>;
297 fan@3 {
299 fan-tach-ch = /bits/ 8 <0x06 0x07>;
302 fan@4 {
304 fan-tach-ch = /bits/ 8 <0x08 0x09>
    [all...]
aspeed-bmc-opp-romulus.dts 301 fan@0 {
303 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
306 fan@1 {
308 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
311 fan@2 {
313 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
316 fan@3 {
318 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
321 fan@4 {
323 aspeed,fan-tach-ch = /bits/ 8 <0x0c>
    [all...]
aspeed-bmc-opp-mowgli.dts 238 fan@0 {
240 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
243 fan@1 {
245 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
248 fan@2 {
250 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
253 fan@3 {
255 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
258 fan@4 {
260 aspeed,fan-tach-ch = /bits/ 8 <0x04>
    [all...]
  /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...]
nouveau_nvkm_subdev_bios_therm.c 158 nvbios_therm_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan)
168 fan->nr_fan_trip = 0;
169 fan->fan_mode = NVBIOS_THERM_FAN_OTHER;
175 fan->min_duty = value & 0xff;
176 fan->max_duty = (value & 0xff00) >> 8;
179 fan->nr_fan_trip++;
180 if (fan->fan_mode > NVBIOS_THERM_FAN_TRIP)
181 fan->fan_mode = NVBIOS_THERM_FAN_TRIP;
182 cur_trip = &fan->trip[fan->nr_fan_trip - 1]
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/
fan.h 1 /* $NetBSD: fan.h,v 1.3 2021/12/18 23:45:33 riastradh Exp $ */
8 u32 nvbios_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan);
  /src/share/examples/refuse/fanoutfs/
Makefile 16 echo "# New fanout configuration at `date`" > fan.conf; \
21 echo dir$$i >> fan.conf; \
25 priv ${FANOUTOBJDIR}/${PROG} -f fan.conf /mnt; \
30 priv rm -rf dir? fan.conf
  /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...]
  /src/sys/arch/macppc/dev/
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...]
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...]
  /src/sys/rump/fs/lib/libunion/
Makefile 7 COMMENT=union file system (fan-out layer)
  /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>;

Completed in 21 milliseconds

1 2 3 4 5