summaryrefslogtreecommitdiff
path: root/bpf.h
AgeCommit message (Expand)AuthorFilesLines
2013-07-09configure: fix multiple issues in build configurationDaniel Borkmann1-1/+2
2013-06-04bpf: split up instructions and extensions from headerDaniel Borkmann1-98/+2
2013-06-04misc: cleanup header commentsDaniel Borkmann1-6/+0
2013-05-24misc: fix some minor compile warnings all overDaniel Borkmann1-2/+3
2013-03-19bpfc: filter: add poff ancillary operationDaniel Borkmann1-0/+3
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+135
248d5'>Documentation parent1001354ca34179f3db924eb66672442a173147dc (diff)
hwmon: (adm9240) handle temperature readings below 0
Unlike the temperature thresholds the temperature data is a 9-bit signed value. This allows and additional 0.5 degrees of precision on the reading but makes handling negative values slightly harder. In order to have sign-extension applied correctly the 9-bit value is stored in the upper bits of a signed 16-bit value. When presenting this in sysfs the value is shifted and scaled appropriately. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation')