Home
last modified time | relevance | path

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

/trusty/user/base/interface/boot_done/generated/
DIBootDone.cpp6 ::tidl::RequestHeader req_hdr = { in set_boot_done()
16 int rc = ::tidl::ipc::send(mChan.get(), &req_hdr, sizeof(req_hdr), &req, in set_boot_done()
21 if (static_cast<size_t>(rc) != sizeof(req_hdr) + sizeof(req)) { in set_boot_done()
134 ::tidl::RequestHeader req_hdr; in on_message()
135 struct iovec req_hdr_iov = {.iov_base = &req_hdr, in on_message()
136 .iov_len = sizeof(req_hdr)}; in on_message()
145 if (static_cast<size_t>(rc) < sizeof(req_hdr)) { in on_message()
149 switch (req_hdr.cmd) { in on_message()
161 rc = read_msg(chan, mi.id, sizeof(req_hdr), &req_msg); in on_message()
179 .cmd = req_hdr.cmd | RESP_BIT, in on_message()
[all …]
/trusty/user/base/lib/rng/
Dtrusty_rng.c71 struct hwrng_req req_hdr = {.len = len}; in trusty_rng_hw_rand() local
74 .iov_base = &req_hdr, in trusty_rng_hw_rand()
75 .iov_len = sizeof(req_hdr), in trusty_rng_hw_rand()
104 if (rc != sizeof(req_hdr)) { in trusty_rng_hw_rand()
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c92 struct hwaes_req req_hdr; member
322 _state->req_hdr = (struct hwaes_req){ in BENCH_SETUP()
340 {&_state->req_hdr, sizeof(_state->req_hdr)}, in BENCH_SETUP()
346 .total_len = sizeof(_state->req_hdr) + sizeof(_state->cmd_hdr) + in BENCH_SETUP()
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c293 struct hwaes_req req_hdr; member
350 struct hwaes_req* req_hdr = (struct hwaes_req*)req_iov->iov[0].iov_base; in make_bad_request() local
351 ASSERT_EQ(resp_hdr.cmd, req_hdr->cmd | HWAES_RESP_BIT); in make_bad_request()
448 _state->req_hdr = (struct hwaes_req){ in TEST_F_SETUP()
463 {&_state->req_hdr, sizeof(_state->req_hdr)}, in TEST_F_SETUP()
468 .total_len = sizeof(_state->req_hdr) + sizeof(_state->cmd_hdr) + in TEST_F_SETUP()
496 _state->req_hdr.reserved = 1U; in TEST_F()
502 _state->req_hdr.cmd = 0U; in TEST_F()