Searched +full:lochnagar2 +full:- +full:hwmon (Results 1 – 3 of 3) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - patches@opensource.cirrus.com15 Logic devices on mini-cards, as well as allowing connection of25 [2] include/dt-bindings/pinctrl/lochnagar.h26 [3] include/dt-bindings/clock/lochnagar.h28 And these documents for the required sub-node binding details:32 [7] Hardware Monitor: ../hwmon/cirrus,lochnagar.yaml35 - if:[all …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/hwmon/cirrus,lochnagar.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - patches@opensource.cirrus.com15 Logic devices on mini-cards, as well as allowing connection of various30 - cirrus,lochnagar2-hwmon33 - compatible
1 // SPDX-License-Identifier: GPL-2.05 * Copyright (c) 2016-2019 Cirrus Logic, Inc. and12 #include <linux/hwmon.h>13 #include <linux/hwmon-sysfs.h>57 * float_to_long - Convert ieee754 reading from hardware to an integer66 * will convert that into an integer in a smaller unit such as micro-amps67 * or milli-celsius. The hardware does not return NaN, so consideration of73 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long()79 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long()82 result = (man + (1ull << (-exp - 1))) >> -exp; in float_to_long()[all …]