Searched refs:tacho (Results 1 – 4 of 4) sorted by relevance
| /drivers/hwmon/ |
| A D | mlxreg-fan.c | 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() 154 err = regmap_read(fan->regmap, tacho->reg, ®val); in mlxreg_fan_read() 158 if (MLXREG_FAN_GET_FAULT(regval, tacho->mask)) { in mlxreg_fan_read() 173 *val = MLXREG_FAN_GET_FAULT(regval, tacho->mask); in mlxreg_fan_read() 475 fan->tacho[tacho_num].reg = data->reg; in mlxreg_fan_config() 476 fan->tacho[tacho_num].mask = data->mask; in mlxreg_fan_config() 477 fan->tacho[tacho_num].prsnt = data->reg_prsnt; in mlxreg_fan_config() [all …]
|
| A D | kfan.c | 32 bool tacho; member 51 if (!kfan->tacho && (status & KFAN_STATUS_BLOCKED)) in kfan_get_fault() 207 kfan->tacho = true; in kfan_probe() 211 if (kfan->tacho) in kfan_probe()
|
| A D | Makefile | 56 obj-$(CONFIG_SENSORS_ASPEED) += aspeed-pwm-tacho.o
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | reg.h | 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()
|
Completed in 31 milliseconds