Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dpcf8591.c65 #define REG_TO_SIGNED(reg) (((reg) & 0x80) ? ((reg) - 256) : (reg)) macro
282 return 10 * REG_TO_SIGNED(value); in pcf8591_read_channel()