Lines Matching refs:compassSysFs
35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*)
93 compassSysFs.compass_orient, getTimestamp());
95 fptr = fopen(compassSysFs.compass_orient, "r");
156 res = write_sysfs_int(compassSysFs.compass_enable, en);
168 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp());
172 tempFd = open(compassSysFs.compass_rate, O_RDWR);
228 compassSysFs.compass_scale, getTimestamp());
229 inv_read_data(compassSysFs.compass_scale, &sensitivity);
345 dptr = (char**)&compassSysFs;
373 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable");
374 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate");
375 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale");
376 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix");
378 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/compass_enable");
379 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/compass_rate");
380 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/in_magn_scale");
381 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix");
386 dptr = (char**)&compassSysFs;