blob: 3a166b69db2e67634689ee6f01ca59357f0066c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdint.h>
struct rc6 {
struct rc6_stat {
uint64_t rc6_residency;
uint64_t rc6p_residency;
uint64_t rc6pp_residency;
uint64_t timestamp;
} stat[2];
int count;
int error;
uint8_t rc6;
uint8_t rc6p;
uint8_t rc6pp;
uint8_t rc6_combined;
};
int rc6_init(struct rc6 *rc6);
int rc6_update(struct rc6 *rc6);
|