Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/hwmon/
Dmlxreg-fan.c107 struct mlxreg_fan_tacho tacho[MLXREG_FAN_MAX_TACHO]; member
121 struct mlxreg_fan_tacho *tacho; in mlxreg_fan_read() local
127 tacho = &fan->tacho[channel]; in mlxreg_fan_read()
134 if (tacho->prsnt && fan->tachos_per_drwr) { in mlxreg_fan_read()
135 err = regmap_read(fan->regmap, tacho->prsnt, &regval); in mlxreg_fan_read()
150 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
159 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
163 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
225 if (!(((struct mlxreg_fan *)data)->tacho[channel].connected)) in mlxreg_fan_is_visible()
446 fan->tacho[tacho_num].reg = data->reg; in mlxreg_fan_config()
[all …]
DMakefile54 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
/Linux-v5.15/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-v5.15/Documentation/hwmon/
Daspeed-pwm-tacho.rst1 Kernel driver aspeed-pwm-tacho
13 controller. The PWM controller supports upto 8 PWM outputs. The Fan tacho
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-v5.15/arch/arm/boot/dts/
Dkirkwood-dnskw.dtsi121 pmx_fan_tacho: pmx-fan-tacho {
Daspeed-g4.dtsi325 pwm_tacho: pwm-tacho-controller@1e786000 {
326 compatible = "aspeed,ast2400-pwm-tacho";
Daspeed-g5.dtsi416 pwm_tacho: pwm-tacho-controller@1e786000 {
417 compatible = "aspeed,ast2500-pwm-tacho";
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h9331 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
9339 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
9342 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
9360 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
9374 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
9378 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
9383 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument
9411 static inline void mlxsw_reg_fore_unpack(char *payload, u8 tacho, in mlxsw_reg_fore_unpack() argument
9418 *fault = limit & BIT(tacho); in mlxsw_reg_fore_unpack()