Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
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()
163 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
167 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
244 if (!(((struct mlxreg_fan *)data)->tacho[channel].connected)) in mlxreg_fan_is_visible()
459 fan->tacho[tacho_num].reg = data->reg; in mlxreg_fan_config()
[all …]
DMakefile57 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
/linux-5.19.10/Documentation/devicetree/bindings/hwmon/
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-5.19.10/Documentation/hwmon/
Daspeed-pwm-tacho.rst1 Kernel driver aspeed-pwm-tacho
13 controller. The PWM controller supports upto 8 PWM outputs. The Fan tacho
Dlan966x.rst26 tacho input and a PWM output with a customizable PWM output
31 The driver exports temperature values, fan tacho input and PWM
Dnpcm750-pwm-fan.rst15 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
Dindex.rst45 aspeed-pwm-tacho
Dadm9240.rst77 edges of the fan tacho inputs.
95 Two fan tacho inputs are provided, the ADM9240 gates an internal 22.5kHz
/linux-5.19.10/arch/arm/boot/dts/
Dkirkwood-dnskw.dtsi121 pmx_fan_tacho: pmx-fan-tacho {
Daspeed-g4.dtsi333 pwm_tacho: pwm-tacho-controller@1e786000 {
334 compatible = "aspeed,ast2400-pwm-tacho";
Daspeed-g5.dtsi420 pwm_tacho: pwm-tacho-controller@1e786000 {
421 compatible = "aspeed,ast2500-pwm-tacho";
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h9685 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
9693 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
9696 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
9714 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
9728 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
9732 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
9737 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument
9765 static inline void mlxsw_reg_fore_unpack(char *payload, u8 tacho, in mlxsw_reg_fore_unpack() argument
9772 *fault = limit & BIT(tacho); in mlxsw_reg_fore_unpack()