| /linux/drivers/hwmon/ |
| H A D | mlxreg-fan.c | 111 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, ®val); 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, ®val); 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, ®val); in mlxreg_fan_read() 177 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read() [all …]
|
| H A D | kfan.c | 32 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 D | Makefile | 56 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
|
| /linux/Documentation/hwmon/ |
| H A D | aspeed-pwm-tacho.rst | 1 Kernel driver aspeed-pwm-tacho 13 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
|
| H A D | lan966x.rst | 26 tacho input and a PWM output with a customizable PWM output 31 The driver exports temperature values, fan tacho input and PWM
|
| H A D | npcm750-pwm-fan.rst | 15 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
|
| H A D | kfan.rst | 28 Additionally, the speed in RPM is reported for fans with tacho signal.
|
| H A D | index.rst | 48 aspeed-pwm-tacho
|
| H A D | adm9240.rst | 77 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 D | r8a779g3-sparrow-hawk-fan-pwm.dtso | 34 /* Four pulses of tacho signal per one revolution */
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | cn9132-sr-cex7.dtsi | 195 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 D | kirkwood-dnskw.dtsi | 119 pmx_fan_tacho: pmx-fan-tacho {
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | reg.h | 9351 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 D | aspeed-g4.dtsi | 336 pwm_tacho: pwm-tacho-controller@1e786000 { 337 compatible = "aspeed,ast2400-pwm-tacho";
|
| H A D | aspeed-g5.dtsi | 420 pwm_tacho: pwm-tacho-controller@1e786000 { 421 compatible = "aspeed,ast2500-pwm-tacho";
|