Searched refs:fan_base (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | npcm750-pwm-fan.c | 197 void __iomem *fan_base; member 297 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture() 310 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture() 345 NPCM7XX_FAN_REG_TICLR(data->fan_base, i)); in npcm7xx_fan_polling() 418 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_compute() 423 NPCM7XX_FAN_REG_TCKC(data->fan_base, fan)); in npcm7xx_fan_compute() 460 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_check_cmp() 470 NPCM7XX_FAN_REG_TCKC(data->fan_base, fan)); in npcm7xx_check_cmp() 739 NPCM7XX_FAN_REG_TCKC(data->fan_base, md)); in npcm7xx_fan_init() 972 if (IS_ERR(data->fan_base)) in npcm7xx_pwm_fan_probe() [all …]
|
H A D | gsc-hwmon.c | 59 u8 reg = hwmon->pdata->fan_base + (2 * attr->index); in pwm_auto_point_temp_show() 77 u8 reg = hwmon->pdata->fan_base + (2 * attr->index); in pwm_auto_point_temp_store() 269 if (fan && of_property_read_u32(fan, "reg", &pdata->fan_base)) { in gsc_hwmon_get_devtree_pdata() 397 groups = pdata->fan_base ? gsc_hwmon_groups : NULL; in gsc_hwmon_probe()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | gsc_hwmon.h | 42 unsigned int fan_base; member
|