Home
last modified time | relevance | path

Searched refs:fan_base (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hwmon/
H A Dnpcm750-pwm-fan.c197 void __iomem *fan_base; member
284 reg_int = ioread8(NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture()
296 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture()
299 | ioread8(NPCM7XX_FAN_REG_TCKC(data->fan_base, in npcm7xx_fan_start_capture()
303 iowrite8(reg_mode, NPCM7XX_FAN_REG_TCKC(data->fan_base, in npcm7xx_fan_start_capture()
309 NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture()
313 | ioread8(NPCM7XX_FAN_REG_TCKC(data->fan_base, in npcm7xx_fan_start_capture()
318 NPCM7XX_FAN_REG_TCKC(data->fan_base, fan)); in npcm7xx_fan_start_capture()
344 NPCM7XX_FAN_REG_TICLR(data->fan_base, i)); in npcm7xx_fan_polling()
348 NPCM7XX_FAN_REG_TCNT1(data->fan_base, i)); in npcm7xx_fan_polling()
[all …]
H A Dgsc-hwmon.c59 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()
268 if (fan && of_property_read_u32(fan, "reg", &pdata->fan_base)) { in gsc_hwmon_get_devtree_pdata()
392 groups = pdata->fan_base ? gsc_hwmon_groups : NULL; in gsc_hwmon_probe()
/linux/include/linux/platform_data/
H A Dgsc_hwmon.h42 unsigned int fan_base; member