Lines Matching refs:tmp1
40 const struct iio_channel *tmp1 = *(struct iio_channel **)p1; in iio_channel_compare() local
44 if (iio_channel_is_scan_element(tmp1) && !iio_channel_is_scan_element(tmp2)) in iio_channel_compare()
46 if (!iio_channel_is_scan_element(tmp1) && iio_channel_is_scan_element(tmp2)) in iio_channel_compare()
49 if (iio_channel_is_scan_element(tmp1) && iio_channel_is_scan_element(tmp2)){ in iio_channel_compare()
50 if (iio_channel_get_index(tmp1) > iio_channel_get_index(tmp2)) in iio_channel_compare()
55 if (strcmp(tmp1->id, tmp2->id) == 0) in iio_channel_compare()
56 return !iio_channel_is_output(tmp1); in iio_channel_compare()
59 return strcmp(tmp1->id, tmp2->id); in iio_channel_compare()
64 const struct iio_channel_attr *tmp1 = (struct iio_channel_attr *)p1; in iio_channel_attr_compare() local
67 return strcmp(tmp1->name, tmp2->name); in iio_channel_attr_compare()
72 const struct iio_device *tmp1 = *(struct iio_device **)p1; in iio_device_compare() local
75 return strcmp(tmp1->id, tmp2->id); in iio_device_compare()
80 const char *tmp1 = *(const char **)p1; in iio_device_attr_compare() local
83 return strcmp(tmp1, tmp2); in iio_device_attr_compare()
88 const char *tmp1 = *(const char **)p1; in iio_buffer_attr_compare() local
91 return strcmp(tmp1, tmp2); in iio_buffer_attr_compare()