Home
last modified time | relevance | path

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

/linux/drivers/iio/test/
H A Diio-test-format.c10 #define IIO_TEST_FORMAT_EXPECT_EQ(_test, _buf, _ret, _val) do { \ macro
26 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "42\n"); in iio_test_iio_format_value_integer()
30 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-23\n"); in iio_test_iio_format_value_integer()
34 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0\n"); in iio_test_iio_format_value_integer()
38 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "2147483647\n"); in iio_test_iio_format_value_integer()
42 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-2147483648\n"); in iio_test_iio_format_value_integer()
59 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000010\n"); in iio_test_iio_format_value_fixedpoint()
62 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000010 dB\n"); in iio_test_iio_format_value_fixedpoint()
65 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000000010\n"); in iio_test_iio_format_value_fixedpoint()
72 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000012\n"); in iio_test_iio_format_value_fixedpoint()
[all …]