Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
DMakefile56 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
/linux-6.1.9/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-6.1.9/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-6.1.9/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.dtsi428 pwm_tacho: pwm-tacho-controller@1e786000 {
429 compatible = "aspeed,ast2500-pwm-tacho";
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h9178 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
9186 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
9189 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
9207 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
9221 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
9225 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
9230 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument
9258 static inline void mlxsw_reg_fore_unpack(char *payload, u8 tacho, in mlxsw_reg_fore_unpack() argument
9265 *fault = limit & BIT(tacho); in mlxsw_reg_fore_unpack()