2 * Copyright (C) ARM Limited 2013-2014. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
17 class Hwmon : public Driver {
24 bool claimCounter(const Counter &counter) const;
25 bool countersEnabled() const;
27 void setupCounter(Counter &counter);
29 int writeCounters(mxml_node_t *root) const;
30 void writeEvents(mxml_node_t *root) const;
33 void read(Buffer * buffer);
36 HwmonCounter *findCounter(const Counter &counter) const;
38 HwmonCounter *counters;
40 // Intentionally unimplemented
42 Hwmon &operator=(const Hwmon &);