Home
last modified time | relevance | path

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

/external/nos/host/generic/libnos_datagram/
Dcitadel.c55 static uint8_t in_buf[MAX_DEVICE_TRANSFER];
76 if (len > MAX_DEVICE_TRANSFER) { in read_datagram()
78 len, MAX_DEVICE_TRANSFER); in read_datagram()
106 static uint8_t out_buf[MAX_DEVICE_TRANSFER];
126 if (len > MAX_DEVICE_TRANSFER) { in write_datagram()
128 MAX_DEVICE_TRANSFER); in write_datagram()
/external/nos/host/generic/libnos_datagram/include/nos/
Ddevice.h27 #define MAX_DEVICE_TRANSFER 2044 macro
/external/nos/host/generic/libnos_transport/test/
Dtest.cpp539 std::vector<uint8_t> data(MAX_DEVICE_TRANSFER + 24, 0xea); in TEST_F()
548 EXPECT_RECV_DATA(app_id, reply_len, data.data(), MAX_DEVICE_TRANSFER); in TEST_F()
549 EXPECT_RECV_MORE_DATA(app_id, 24, data.data() + MAX_DEVICE_TRANSFER, 24); in TEST_F()
554 EXPECT_THAT(reply_len, Eq(MAX_DEVICE_TRANSFER + 24)); in TEST_F()
/external/nos/host/generic/libnos_transport/
Dtransport.c287 const uint16_t ulen = MIN(arg_len, MAX_DEVICE_TRANSFER); in send_command()
419 const uint16_t gimme = MIN(left, MAX_DEVICE_TRANSFER); in receive_reply()