Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c54 } __packed * const host_to_dut = (void *)&host_to_dut_buffer; variable
68 host_to_dut->header.checksum = 0; in update_host_to_dut_checksum()
73 i < sizeof(host_to_dut->header) + host_to_dut->header.data_len; in update_host_to_dut_checksum()
77 host_to_dut->header.checksum = (uint8_t)(-checksum); in update_host_to_dut_checksum()
167 host_to_dut->header.prtcl_ver = 3; in ZTEST()
168 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
169 host_to_dut->header.cmd_ver = 0; in ZTEST()
170 host_to_dut->header.reserved = 0; in ZTEST()
171 host_to_dut->header.data_len = sizeof(host_to_dut->add); in ZTEST()
172 host_to_dut->add.in_data = 0x10203040; in ZTEST()
[all …]