Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hwmon/
Dnsa320-hwmon.c41 unsigned long mcu_data; member
68 u32 mcu_data; in nsa320_hwmon_update() local
74 mcu_data = hwmon->mcu_data; in nsa320_hwmon_update()
76 if (time_after(jiffies, hwmon->last_updated + HZ) || mcu_data == 0) { in nsa320_hwmon_update()
80 mcu_data = 0; in nsa320_hwmon_update()
87 mcu_data |= mask; in nsa320_hwmon_update()
91 dev_dbg(dev, "Read raw MCU data %08x\n", mcu_data); in nsa320_hwmon_update()
93 if ((mcu_data >> 24) != MAGIC_NUMBER) { in nsa320_hwmon_update()
94 dev_dbg(dev, "Read invalid MCU data %08x\n", mcu_data); in nsa320_hwmon_update()
95 mcu_data = -EIO; in nsa320_hwmon_update()
[all …]