Home
last modified time | relevance | path

Searched full:tacho (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/hwmon/
Dmlxreg-fan.c99 * @tacho: tachometer data;
109 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()
158 if (MLXREG_FAN_GET_FAULT(regval, tacho->mask)) { in mlxreg_fan_read()
169 err = regmap_read(fan->regmap, tacho->reg, &regval); in mlxreg_fan_read()
173 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read()
[all …]
Daxi-fan-control.c141 * The tacho period should be: in axi_fan_control_get_fan_rpm()
144 * Given the tacho period, we can multiply it by the input clock in axi_fan_control_get_fan_rpm()
336 * we need to provide new tacho parameters to the core. in axi_fan_control_irq_handler()
354 /* set new tacho parameters */ in axi_fan_control_irq_handler()
Daspeed-pwm-tacho.c970 { .compatible = "aspeed,ast2400-pwm-tacho", },
971 { .compatible = "aspeed,ast2500-pwm-tacho", },
987 MODULE_DESCRIPTION("ASPEED PWM and Fan Tacho device driver");
Dnpcm750-pwm-fan.c79 /* NPCM7XX FAN Tacho registers */
1058 MODULE_DESCRIPTION("Nuvoton NPCM7XX PWM and Fan Tacho driver");
DMakefile56 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
DKconfig410 and Fan Tacho controllers.
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/
Daspeed-pwm-tacho.txt1 ASPEED AST2400/AST2500 PWM and Fan Tacho controller device driver
3 The ASPEED PWM controller can support upto 8 PWM outputs. The ASPEED Fan Tacho
9 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";
Daspeed,g6-pwm-tach.yaml15 The ASPEED Fan Tacho controller can support up to 16 fan tach input.
Dnpcm750-pwm-fan.txt1 Nuvoton NPCM PWM and Fan Tacho controller device
/linux-6.12.1/Documentation/hwmon/
Daspeed-pwm-tacho.rst1 Kernel driver aspeed-pwm-tacho
12 This driver implements support for ASPEED AST2400/2500 PWM and Fan Tacho
13 controller. The PWM controller supports up to 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.rst14 This driver implements support for NUVOTON NPCM7XX PWM and Fan Tacho
15 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho
Dadm9240.rst77 edges of the fan tacho inputs.
95 Two fan tacho inputs are provided, the ADM9240 gates an internal 22.5kHz
Daspeed-g6-pwm-tach.rst14 This driver implements support for ASPEED AST2600 Fan Tacho controller.
Dindex.rst48 aspeed-pwm-tacho
/linux-6.12.1/arch/arm64/boot/dts/marvell/
Dcn9132-sr-cex7.dtsi183 * Tacho signal used as interrupt source by pwm-fan driver.
187 pwm-tacho-irq-hog {
191 line-name = "fan-tacho";
317 cp0_fan_tacho_pins: cp0-fan-tacho-pins {
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-ocelot.c282 [FUNC_TACHO] = "tacho",
360 LUTON_P(4, TACHO, NONE);
442 SERVAL_P(4, TACHO, NONE, NONE);
540 OCELOT_P(20, RECO_CLK, TACHO, TWI_SCL_M);
604 JAGUAR2_P(22, TACHO, NONE);
744 SERVALT_P(16, TACHO, SFP, SI);
841 SPARX5_P(21, IRQ1_OUT, TACHO, SFP);
842 SPARX5_P(22, TACHO, IRQ0_OUT, TWI_SCL_M);
/linux-6.12.1/arch/arm/boot/dts/marvell/
Dkirkwood-dnskw.dtsi119 pmx_fan_tacho: pmx-fan-tacho {
/linux-6.12.1/arch/arm/boot/dts/aspeed/
Daspeed-g4.dtsi336 pwm_tacho: pwm-tacho-controller@1e786000 {
337 compatible = "aspeed,ast2400-pwm-tacho";
Daspeed-g5.dtsi421 pwm_tacho: pwm-tacho-controller@1e786000 {
422 compatible = "aspeed,ast2500-pwm-tacho";
/linux-6.12.1/drivers/block/
Dswim.c116 #define TACHO 0x173 macro
Dswim3.c154 #define TACHO 11 macro
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h9339 * This register controls the settings of the Tacho measurements and
9351 MLXSW_ITEM32(reg, mfsm, tacho, 0x00, 24, 4);
9359 static inline void mlxsw_reg_mfsm_pack(char *payload, u8 tacho) in mlxsw_reg_mfsm_pack() argument
9362 mlxsw_reg_mfsm_tacho_set(payload, tacho); in mlxsw_reg_mfsm_pack()
9380 MLXSW_ITEM32(reg, mfsl, tacho, 0x00, 24, 4);
9394 static inline void mlxsw_reg_mfsl_pack(char *payload, u8 tacho, in mlxsw_reg_mfsl_pack() argument
9398 mlxsw_reg_mfsl_tacho_set(payload, tacho); in mlxsw_reg_mfsl_pack()
9403 static inline void mlxsw_reg_mfsl_unpack(char *payload, u8 tacho, in mlxsw_reg_mfsl_unpack() argument
9431 static inline void mlxsw_reg_fore_unpack(char *payload, u8 tacho, in mlxsw_reg_fore_unpack() argument
9438 *fault = limit & BIT(tacho); in mlxsw_reg_fore_unpack()