Home
last modified time | relevance | path

Searched refs:num_b (Results 1 – 2 of 2) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp106 int num_b = 0; in write_attribute_sensor() local
111 num_b = write(fd, buf, strlen(buf) + 1); in write_attribute_sensor()
112 if (num_b <= 0) { in write_attribute_sensor()
121 return num_b; in write_attribute_sensor()
129 int num_b = 0; in write_attribute_sensor_continuous() local
134 num_b = write(fd, buf, strlen(buf) + 1); in write_attribute_sensor_continuous()
135 if (num_b <= 0) { in write_attribute_sensor_continuous()
143 return num_b; in write_attribute_sensor_continuous()
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp106 int num_b = 0; in write_attribute_sensor() local
111 num_b = write(fd, buf, strlen(buf) + 1); in write_attribute_sensor()
112 if (num_b <= 0) { in write_attribute_sensor()
121 return num_b; in write_attribute_sensor()
129 int num_b = 0; in write_attribute_sensor_continuous() local
134 num_b = write(fd, buf, strlen(buf) + 1); in write_attribute_sensor_continuous()
135 if (num_b <= 0) { in write_attribute_sensor_continuous()
143 return num_b; in write_attribute_sensor_continuous()