Searched refs:device (Results 1 - 1 of 1) sorted by relevance

/k10sensor/src/
H A Dk10sensor_info.c61 int device = open("/dev/cpu/self/cpuid", O_RDONLY); local
62 if (device == -1) {
65 if (pread(device, regs, sizeof (regs), 0x80000001) != sizeof (regs)) {
66 (void) close(device);
69 (void) close(device);

Completed in 8 milliseconds