Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwmon/
Dmlxreg-fan.c104 struct mlxreg_fan_tacho tacho[MLXREG_FAN_MAX_TACHO]; member
117 struct mlxreg_fan_tacho *tacho; in mlxreg_fan_read() local
123 tacho = &fan->tacho[channel]; in mlxreg_fan_read()
126 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
135 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
139 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
201 if (!(((struct mlxreg_fan *)data)->tacho[channel].connected)) in mlxreg_fan_is_visible()
422 fan->tacho[tacho_num].reg = data->reg; in mlxreg_fan_config()
423 fan->tacho[tacho_num].mask = data->mask; in mlxreg_fan_config()
424 fan->tacho[tacho_num++].connected = true; in mlxreg_fan_config()
DMakefile54 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
/kernel/linux/linux-5.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";
/kernel/linux/linux-5.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
Dnpcm750-pwm-fan.rst15 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
Dindex.rst46 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
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dkirkwood-dnskw.dtsi121 pmx_fan_tacho: pmx-fan-tacho {
Daspeed-g4.dtsi320 pwm_tacho: pwm-tacho-controller@1e786000 {
321 compatible = "aspeed,ast2400-pwm-tacho";
Daspeed-g5.dtsi411 pwm_tacho: pwm-tacho-controller@1e786000 {
412 compatible = "aspeed,ast2500-pwm-tacho";
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h8353 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
8361 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
8364 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
8382 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
8396 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
8400 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
8405 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument
8433 static inline void mlxsw_reg_fore_unpack(char *payload, u8 tacho, in mlxsw_reg_fore_unpack() argument
8440 *fault = limit & BIT(tacho); in mlxsw_reg_fore_unpack()