Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dmlxreg-fan.c111 struct mlxreg_fan_tacho tacho[MLXREG_FAN_MAX_TACHO]; member
126 struct mlxreg_fan_tacho *tacho; in mlxreg_fan_read() local
133 tacho = &fan->tacho[channel]; in mlxreg_fan_read()
140 if (tacho->prsnt && fan->tachos_per_drwr) { in mlxreg_fan_read()
141 err = regmap_read(fan->regmap, tacho->prsnt, &regval); in mlxreg_fan_read()
150 if (BIT(rol32(channel, tacho->shift) / fan->tachos_per_drwr) & in mlxreg_fan_read()
158 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
162 if (MLXREG_FAN_GET_FAULT(regval, tacho->mask)) { in mlxreg_fan_read()
173 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
177 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
[all …]
H A Dkfan.c32 bool tacho; member
51 if (!kfan->tacho && (status & KFAN_STATUS_BLOCKED)) in kfan_get_fault()
207 kfan->tacho = true; in kfan_probe()
211 if (kfan->tacho) in kfan_probe()
H A DMakefile56 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
/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 Dkfan.rst28 Additionally, the speed in RPM is reported for fans with tacho signal.
H A Dindex.rst48 aspeed-pwm-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/renesas/
H A Dr8a779g3-sparrow-hawk-fan-pwm.dtso34 /* Four pulses of tacho signal per one revolution */
/linux/arch/arm64/boot/dts/marvell/
H A Dcn9132-sr-cex7.dtsi195 pwm-tacho-irq-hog {
199 line-name = "fan-tacho";
325 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()
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-g4.dtsi336 pwm_tacho: pwm-tacho-controller@1e786000 {
337 compatible = "aspeed,ast2400-pwm-tacho";
H A Daspeed-g5.dtsi420 pwm_tacho: pwm-tacho-controller@1e786000 {
421 compatible = "aspeed,ast2500-pwm-tacho";