Lines Matching defs:data
73 * We want the data in next sample to also be properly aligned so
75 * works for channel data which size is 2^n bytes.
88 * of left aligned data
111 * of left aligned data
134 * of left aligned data
157 * of left aligned data
177 * @data: pointer to the start of the scan
183 static void process_scan(char *data, struct iio_channel_info *channels,
192 print1byte(*(uint8_t *)(data + channels[k].location),
196 print2byte(*(uint16_t *)(data + channels[k].location),
200 print4byte(*(uint32_t *)(data + channels[k].location),
204 print8byte(*(uint64_t *)(data + channels[k].location),
256 "Capture, convert and output data from IIO device buffer\n"
261 " -e Disable wait for event (new data)\n"
358 char *data = NULL;
631 * Set the device trigger to be the data ready trigger found
697 data = malloc(total_buf_len);
698 if (!data) {
710 read_size = read(fd, data, 1);
744 read_size = read(buf_fd, data, toread * scan_size);
754 process_scan(data + scan_size * i, channels,
766 free(data);