Searched refs:fan_base (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/hwmon/ |
D | npcm750-pwm-fan.c | 193 void __iomem *fan_base; member 280 reg_int = ioread8(NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture() 292 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture() 295 | ioread8(NPCM7XX_FAN_REG_TCKC(data->fan_base, in npcm7xx_fan_start_capture() 299 iowrite8(reg_mode, NPCM7XX_FAN_REG_TCKC(data->fan_base, in npcm7xx_fan_start_capture() 305 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture() 309 | ioread8(NPCM7XX_FAN_REG_TCKC(data->fan_base, in npcm7xx_fan_start_capture() 314 NPCM7XX_FAN_REG_TCKC(data->fan_base, fan)); in npcm7xx_fan_start_capture() 340 NPCM7XX_FAN_REG_TICLR(data->fan_base, i)); in npcm7xx_fan_polling() 344 NPCM7XX_FAN_REG_TCNT1(data->fan_base, i)); in npcm7xx_fan_polling() [all …]
|
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() 272 if (fan && of_property_read_u32(fan, "reg", &pdata->fan_base)) { in gsc_hwmon_get_devtree_pdata() 399 groups = pdata->fan_base ? gsc_hwmon_groups : NULL; in gsc_hwmon_probe()
|
/linux-6.1.9/include/linux/platform_data/ |
D | gsc_hwmon.h | 44 unsigned int fan_base; member
|