Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dmlxreg-fan.c102 struct mlxreg_fan_tacho tacho[MLXREG_FAN_MAX_TACHO]; member
115 struct mlxreg_fan_tacho *tacho; in mlxreg_fan_read() local
121 tacho = &fan->tacho[channel]; in mlxreg_fan_read()
124 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
133 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
137 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
199 if (!(((struct mlxreg_fan *)data)->tacho[channel].connected)) in mlxreg_fan_is_visible()
379 fan->tacho[tacho_num].reg = data->reg; in mlxreg_fan_config()
380 fan->tacho[tacho_num].mask = data->mask; in mlxreg_fan_config()
381 fan->tacho[tacho_num++].connected = true; in mlxreg_fan_config()
DMakefile52 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
/Linux-v4.19/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-v4.19/Documentation/hwmon/
Daspeed-pwm-tacho1 Kernel driver aspeed-pwm-tacho
13 controller. The PWM controller supports upto 8 PWM outputs. The Fan tacho
Dnpcm750-pwm-fan13 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
Dadm924064 edges of the fan tacho inputs.
82 Two fan tacho inputs are provided, the ADM9240 gates an internal 22.5kHz
/Linux-v4.19/arch/arm/boot/dts/
Dkirkwood-dnskw.dtsi121 pmx_fan_tacho: pmx-fan-tacho {
Daspeed-g4.dtsi244 pwm_tacho: pwm-tacho-controller@1e786000 {
245 compatible = "aspeed,ast2400-pwm-tacho";
Daspeed-g5.dtsi304 pwm_tacho: pwm-tacho-controller@1e786000 {
305 compatible = "aspeed,ast2500-pwm-tacho";
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h7387 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
7395 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
7398 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
7416 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
7430 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
7434 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
7439 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument