Home
last modified time | relevance | path

Searched refs:tacho (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/hwmon/
H A Dmlxreg-fan.c109 struct mlxreg_fan_tacho tacho[MLXREG_FAN_MAX_TACHO]; member
124 struct mlxreg_fan_tacho *tacho; in mlxreg_fan_read() local
131 tacho = &fan->tacho[channel]; in mlxreg_fan_read()
138 if (tacho->prsnt && fan->tachos_per_drwr) { in mlxreg_fan_read()
139 err = regmap_read(fan->regmap, tacho->prsnt, &regval); in mlxreg_fan_read()
154 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
158 if (MLXREG_FAN_GET_FAULT(regval, tacho->mask)) { in mlxreg_fan_read()
169 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
173 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
250 if (!(((struct mlxreg_fan *)data)->tacho[channel].connected)) in mlxreg_fan_is_visible()
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Daspeed-pwm-tacho.txt9 Required properties for pwm-tacho node:
22 - compatible : should be "aspeed,ast2400-pwm-tacho" for AST2400 and
23 "aspeed,ast2500-pwm-tacho" for AST2500.
57 compatible = "aspeed,ast2500-pwm-tacho";
/linux/Documentation/hwmon/
H A Daspeed-pwm-tacho.rst1 Kernel driver aspeed-pwm-tacho
13 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
H A Dlan966x.rst26 tacho input and a PWM output with a customizable PWM output
31 The driver exports temperature values, fan tacho input and PWM
H A Dnpcm750-pwm-fan.rst15 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
H A Dadm9240.rst77 edges of the fan tacho inputs.
95 Two fan tacho inputs are provided, the ADM9240 gates an internal 22.5kHz
/linux/arch/arm64/boot/dts/marvell/
H A Dcn9132-sr-cex7.dtsi187 pwm-tacho-irq-hog {
191 line-name = "fan-tacho";
317 cp0_fan_tacho_pins: cp0-fan-tacho-pins {
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-dnskw.dtsi119 pmx_fan_tacho: pmx-fan-tacho {
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h9351 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
9359 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
9362 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
9380 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
9394 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
9398 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
9403 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument
9431 static inline void mlxsw_reg_fore_unpack(char *payload, u8 tacho, in mlxsw_reg_fore_unpack() argument
9438 *fault = limit & BIT(tacho); in mlxsw_reg_fore_unpack()