Home
last modified time | relevance | path

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

/external/nos/test/system-test-harness/src/
Dtransport_tests.cc96 static int nos_device_write(const struct nos_device *dev, uint32_t command, in nos_device_write() function
268 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
284 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
301 ASSERT_EQ(nos_device_write(dev, command, data, sizeof(data)), 0); in TEST_F()
307 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
325 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
358 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
362 ASSERT_EQ(nos_device_write(dev, command, nullptr, 0), 0); in TEST_F()
380 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
388 ASSERT_EQ(nos_device_write(dev, command, &command_info, sizeof(command_info)), 0); in TEST_F()
[all …]
/external/nos/host/generic/libnos_transport/
Dtransport.c121 static int nos_device_write(const struct nos_device *dev, uint32_t command, in nos_device_write() function
212 if (nos_device_write(ctx->dev, command, NULL, 0) != 0) { in clear_status()
291 if (nos_device_write(ctx->dev, command, args, ulen) != 0) { in send_command()
329 if (0 != nos_device_write(ctx->dev, command, &command_info, sizeof(command_info))) { in send_command()