/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/ |
H A D | phosphor-fan_%.bbappend | 19 COOLING_ENV_FMT = "obmc/phosphor-fan/phosphor-cooling-type-{0}.conf" 24 SYSTEMD_OVERRIDE:phosphor-fan-control:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-contro… 25 SYSTEMD_OVERRIDE:phosphor-fan-control:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-contro… 26 SYSTEMD_OVERRIDE:phosphor-fan-monitor:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-monito… 27 SYSTEMD_OVERRIDE:phosphor-fan-monitor:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-monito… 28 SYSTEMD_OVERRIDE:phosphor-fan-control:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-control-ini… 29 SYSTEMD_OVERRIDE:phosphor-fan-control:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-control@0.s… 30 SYSTEMD_OVERRIDE:phosphor-fan-monitor:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-monitor-ini… 31 SYSTEMD_OVERRIDE:phosphor-fan-monitor:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-monitor@0.s… 34 SYSTEMD_OVERRIDE:phosphor-fan-control:witherspoon += "fan-watchdog-conflicts.conf:phosphor-fan-cont… [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/ |
H A D | fan-fault-led.bb | 1 SUMMARY = "Fan fault led configurations for meta-yosemite4 machines" 15 file://board-0-fan-0.yaml \ 16 file://board-0-fan-1.yaml \ 17 file://board-0-fan-4.yaml \ 18 file://board-0-fan-5.yaml \ 19 file://board-0-fan-8.yaml \ 20 file://board-0-fan-9.yaml \ 21 file://board-1-fan-10.yaml \ 22 file://board-1-fan-11.yaml \ 23 file://board-1-fan-2.yaml \ [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_fcu_controls.c | 3 * Windfarm PowerMac thermal control. FCU fan control 80 struct wf_fcu_fan *fan = ct->priv; in wf_fcu_fan_release() local 82 kref_put(&fan->fcu_priv->ref, wf_fcu_release); in wf_fcu_fan_release() 83 kfree(fan); in wf_fcu_fan_release() 146 struct wf_fcu_fan *fan = ct->priv; in wf_fcu_fan_set_rpm() local 147 struct wf_fcu_priv *pv = fan->fcu_priv; in wf_fcu_fan_set_rpm() 151 if (value < fan->min) in wf_fcu_fan_set_rpm() 152 value = fan->min; in wf_fcu_fan_set_rpm() 153 if (value > fan->max) in wf_fcu_fan_set_rpm() 154 value = fan->max; in wf_fcu_fan_set_rpm() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | fan.c | 27 #include <subdev/bios/fan.h> 32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) in nvkm_fan_update() argument 34 struct nvkm_therm *therm = fan->parent; in nvkm_fan_update() 41 /* update target fan speed, restricting to allowed range */ in nvkm_fan_update() 42 spin_lock_irqsave(&fan->lock, flags); in nvkm_fan_update() 44 target = fan->percent; in nvkm_fan_update() 45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update() 46 target = min_t(u8, target, fan->bios.max_duty); in nvkm_fan_update() 47 if (fan->percent != target) { in nvkm_fan_update() 48 nvkm_debug(subdev, "FAN target: %d\n", target); in nvkm_fan_update() [all …]
|
H A D | fantog.c | 39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) in nvkm_fantog_update() argument 41 struct nvkm_therm *therm = fan->base.parent; in nvkm_fantog_update() 48 spin_lock_irqsave(&fan->lock, flags); in nvkm_fantog_update() 50 percent = fan->percent; in nvkm_fantog_update() 51 fan->percent = percent; in nvkm_fantog_update() 57 u64 next_change = (percent * fan->period_us) / 100; in nvkm_fantog_update() 59 next_change = fan->period_us - next_change; in nvkm_fantog_update() 60 nvkm_timer_alarm(tmr, next_change * 1000, &fan->alarm); in nvkm_fantog_update() 62 spin_unlock_irqrestore(&fan->lock, flags); in nvkm_fantog_update() 68 struct nvkm_fantog *fan = in nvkm_fantog_alarm() local [all …]
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | fan.hpp | 25 namespace phosphor::fan::control::json namespace 31 * @class Fan - Represents a configured fan control fan object 33 * A fan object contains the configured attributes for a fan within the system 34 * that will be controlled by the fan control application. These configuration 36 * fan is included, what sensors make up the fan, the target interface to be 37 * used in setting a target, and any profiles(OPTIONAL) the fan should be 40 * (When no profile for a fan is given, the fan defaults to always be included) 43 class Fan : public ConfigBase class 51 Fan() = delete; 52 Fan(const Fan&) = delete; [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Fan_v1.xml | 4 <!--# Redfish Schema: Fan v1.5.2 --> 49 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Fan"> 53 <EntityType Name="Fan" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 54 …<Annotation Term="OData.Description" String="The `Fan` schema describes a cooling fan unit for a c… 55 …rm="OData.LongDescription" String="This resource shall represent a cooling fan for a Redfish imple… 80 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Fan.v1_0_0"> 84 <EntityType Name="Fan" BaseType="Fan.Fan"> 87 … <Annotation Term="OData.Description" String="The area or device associated with this fan."/> 88 …scription of the affected device or region within the chassis with which this fan is associated."/> 95 <Annotation Term="Redfish.ExcerptCopy" String="Fan"/> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Fan_v1.xml | 4 <!--# Redfish Schema: Fan v1.5.2 --> 49 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Fan"> 53 <EntityType Name="Fan" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 54 …<Annotation Term="OData.Description" String="The `Fan` schema describes a cooling fan unit for a c… 55 …rm="OData.LongDescription" String="This resource shall represent a cooling fan for a Redfish imple… 80 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Fan.v1_0_0"> 84 <EntityType Name="Fan" BaseType="Fan.Fan"> 87 … <Annotation Term="OData.Description" String="The area or device associated with this fan."/> 88 …scription of the affected device or region within the chassis with which this fan is associated."/> 95 <Annotation Term="Redfish.ExcerptCopy" String="Fan"/> [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | gpd-pocket-fan.c | 3 * GPD Pocket fan controller driver 33 "Millicelsius values above which the fan speed increases"); 38 "Hysteresis in millicelsius before lowering the fan speed"); 43 "minimum fan speed to allow when system is powered by AC"); 55 static void gpd_pocket_fan_set_speed(struct gpd_pocket_fan_data *fan, int speed) in gpd_pocket_fan_set_speed() argument 57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed() 60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed() 61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed() 63 fan->last_speed = speed; in gpd_pocket_fan_set_speed() 76 struct gpd_pocket_fan_data *fan = in gpd_pocket_fan_worker() local [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/ |
H A D | air-cooled.yaml | 1 # Air cooled Witherspoon fan policy for PDM. 4 # enclosures or six functional fan rotors across all enclosures. 5 # If the number of functional fan enclosures is below three, soft poweroff 6 # the system, whereas if the number of fan rotors drop below six, an 9 - name: fan enclosures 11 'An air cooled Witherspoon has four fan enclosures to monitor.' 15 - meta: FAN 17 - meta: FAN 19 - meta: FAN 21 - meta: FAN [all …]
|
H A D | water-cooled.yaml | 1 # Water cooled Witherspoon fan policy for PDM. 3 # A water cooled Witherspoon requires a minimum of two functional fan 4 # enclosures or four functional fan rotors across all enclosures. 5 # If the number of functional fan enclosures is below two, soft poweroff 6 # the system, whereas if the number of fan rotors drop below four, an 9 - name: fan enclosures 11 'A water cooled Witherspoon has three fan enclosures to monitor.' 15 - meta: FAN 17 - meta: FAN 19 - meta: FAN [all …]
|
/openbmc/entity-manager/configurations/ |
H A D | r1000_chassis.json | 4 "BindConnector": "1U System Fan connector 1", 6 "Name": "Fan 1a", 24 "BindConnector": "1U System Fan connector 1", 26 "Name": "Fan 1b", 44 "BindConnector": "1U System Fan connector 2", 46 "Name": "Fan 2a", 64 "BindConnector": "1U System Fan connector 2", 66 "Name": "Fan 2b", 84 "BindConnector": "1U System Fan connector 3", 86 "Name": "Fan 3a", [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM PWM and Fan Tacho controller device 4 controller outputs and 16 Fan tachometer controller inputs. 7 controller outputs and 16 Fan tachometer controller inputs. 9 Required properties for pwm-fan node 12 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX. 13 : "nuvoton,npcm845-pwm-fan" for Arbel NPCM8XX. 17 * "fan" for the Fan registers. 21 * "fan" for Fan controller operating clock. 22 - interrupts : contain the Fan interrupts with flags for falling edge. 24 - pinctrl-0 : phandle referencing pin configuration of the PWM and Fan [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | fan_core.c | 3 * fan_core.c - ACPI Fan core Driver 20 #include "fan.h" 33 struct acpi_fan *fan = acpi_driver_data(device); in fan_get_max_state() local 35 if (fan->acpi4) { in fan_get_max_state() 36 if (fan->fif.fine_grain_ctrl) in fan_get_max_state() 37 *state = 100 / fan->fif.step_size; in fan_get_max_state() 39 *state = fan->fps_count - 1; in fan_get_max_state() 56 dev_err(&device->dev, "Get fan state failed\n"); in acpi_fan_get_fst() 80 struct acpi_fan *fan = acpi_driver_data(device); in fan_get_state_acpi4() local 88 if (fan->fif.fine_grain_ctrl) { in fan_get_state_acpi4() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | mlxreg-fan.c | 27 * FAN datasheet defines the formula for RPM calculations as RPM = 15/t-high. 77 * @fan: private data; 86 struct mlxreg_fan *fan; member 123 struct mlxreg_fan *fan = dev_get_drvdata(dev); in mlxreg_fan_read() local 131 tacho = &fan->tacho[channel]; in mlxreg_fan_read() 135 * Check FAN presence: FAN related bit in presence register is one, in mlxreg_fan_read() 136 * if FAN is physically connected, zero - otherwise. in mlxreg_fan_read() 138 if (tacho->prsnt && fan->tachos_per_drwr) { in mlxreg_fan_read() 139 err = regmap_read(fan->regmap, tacho->prsnt, ®val); in mlxreg_fan_read() 147 if (BIT(channel / fan->tachos_per_drwr) & regval) { in mlxreg_fan_read() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/pmbus/ |
H A D | max31785.txt | 1 Bindings for the Maxim MAX31785 Intelligent Fan Controller 20 fan presence (the 'installed' bit of FAN_CONFIG_*). 35 - compatible : Must be "pmbus-fan" 38 - maxim,fan-rotor-input : The type of rotor measurement provided to the 41 - maxim,fan-lock-polarity: Required iff maxim,fan-rotor-input is "lock". Valid 46 - fan-mode : "rpm" or "pwm". Default value is "pwm". 51 - maxim,fan-no-fault-ramp: Do not ramp the fan to 100% PWM duty on detecting a 52 fan fault 53 - maxim,fan-startup : The number of rotations required before taking 54 emergency action for an unresponsive fan and driving [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | fan.hpp | 8 namespace fan namespace 14 * @class Fan 16 * Represents a fan. It has sensors used for setting speeds 22 class Fan class 25 Fan() = delete; 26 Fan(const Fan&) = delete; 27 Fan(Fan&&) = default; 28 Fan& operator=(const Fan&) = delete; 29 Fan& operator=(Fan&&) = default; 30 ~Fan() = default; [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/fan-fault-led/ |
H A D | board-0-fan-1.yaml | 1 - name: board 0 fan 1 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 0 fan 1 critical alarm assert 25 paths: board 0 fan 1 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 1 critical alarm deassert 32 paths: board 0 fan 1 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-5.yaml | 1 - name: board 0 fan 5 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 0 fan 5 critical alarm assert 25 paths: board 0 fan 5 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 5 critical alarm deassert 32 paths: board 0 fan 5 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-9.yaml | 1 - name: board 0 fan 9 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 0 fan 9 critical alarm assert 25 paths: board 0 fan 9 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 9 critical alarm deassert 32 paths: board 0 fan 9 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-3.yaml | 1 - name: board 1 fan 3 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 1 fan 3 critical alarm assert 25 paths: board 1 fan 3 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 3 critical alarm deassert 32 paths: board 1 fan 3 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-0-fan-8.yaml | 1 - name: board 0 fan 8 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 0 fan 8 critical alarm assert 25 paths: board 0 fan 8 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 0 fan 8 critical alarm deassert 32 paths: board 0 fan 8 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-6.yaml | 1 - name: board 1 fan 6 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 1 fan 6 critical alarm assert 25 paths: board 1 fan 6 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 6 critical alarm deassert 32 paths: board 1 fan 6 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-11.yaml | 1 - name: board 1 fan 11 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 1 fan 11 critical alarm assert 25 paths: board 1 fan 11 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 11 critical alarm deassert 32 paths: board 1 fan 11 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|
H A D | board-1-fan-2.yaml | 1 - name: board 1 fan 2 current critical alarm path group 10 - name: current fan critical alarm property 22 - name: board 1 fan 2 critical alarm assert 25 paths: board 1 fan 2 current critical alarm path group 26 properties: current fan critical alarm property 27 callback: check if fan critical threshold assert 29 - name: board 1 fan 2 critical alarm deassert 32 paths: board 1 fan 2 current critical alarm path group 33 properties: current fan critical alarm property 34 callback: check if fan critical threshold deassert [all …]
|