Lines Matching defs:data
28 int inv_read_data(char *fname, long *data)
46 count = sscanf(buf, "%ld", data);
48 LOGV_IF(EXTRA_VERBOSE, "HAL:Data= %ld", *data);
56 int read_attribute_sensor(int fd, char* data, unsigned int size)
62 count = pread(fd, data, size, 0);
102 int write_attribute_sensor(int fd, long data)
110 sprintf(buf, "%ld", data);
116 LOGV_IF(EXTRA_VERBOSE, "HAL:fd=%d write attribute to %ld", fd, data);
125 int write_attribute_sensor_continuous(int fd, long data)
133 sprintf(buf, "%ld", data);
139 LOGV_IF(EXTRA_VERBOSE, "HAL:fd=%d write attribute to %ld", fd, data);
285 long data;
311 res = sscanf(buf, "%ld", &data);
313 LOGI("HAL DEBUG:sysfs:cat %s = %ld", full_path, data);