Lines Matching refs:datas
28 uint8_t datas[3]; in ZTEST() local
41 (void)memset(datas, 0, 3); in ZTEST()
42 datas[0] = REG_CONF_PORT0; in ZTEST()
43 datas[1] = test_data[0]; in ZTEST()
44 datas[2] = test_data[1]; in ZTEST()
45 ret = i2c_write_dt(&i2c, datas, 3); in ZTEST()
49 (void)memset(datas, 0, 3); in ZTEST()
50 datas[0] = REG_CONF_PORT0; in ZTEST()
51 ret = i2c_write_dt(&i2c, datas, 1); in ZTEST()
54 (void)memset(datas, 0, 3); in ZTEST()
55 ret = i2c_read_dt(&i2c, datas, 2); in ZTEST()
59 ret = memcmp(datas, test_data, 2); in ZTEST()