Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/platform_data/
Dcros_ec_proto.h48 EC_MSG_TX_HEADER_BYTES = 3, enumerator
50 EC_MSG_TX_PROTO_BYTES = EC_MSG_TX_HEADER_BYTES +
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_proto.c104 csum += out[EC_MSG_TX_HEADER_BYTES + i] = msg->data[i]; in prepare_tx_legacy()
105 out[EC_MSG_TX_HEADER_BYTES + msg->outsize] = csum; in prepare_tx_legacy()
Dcros_ec_proto_test.c48 KUNIT_EXPECT_EQ(test, EC_MSG_TX_HEADER_BYTES, 3); in cros_ec_proto_test_prepare_tx_legacy_normal()
49 KUNIT_EXPECT_EQ(test, ec_dev->dout[EC_MSG_TX_HEADER_BYTES + 0], 0xde); in cros_ec_proto_test_prepare_tx_legacy_normal()
50 KUNIT_EXPECT_EQ(test, ec_dev->dout[EC_MSG_TX_HEADER_BYTES + 1], 0xad); in cros_ec_proto_test_prepare_tx_legacy_normal()
51 KUNIT_EXPECT_EQ(test, ec_dev->dout[EC_MSG_TX_HEADER_BYTES + 2], 0xbe); in cros_ec_proto_test_prepare_tx_legacy_normal()
52 KUNIT_EXPECT_EQ(test, ec_dev->dout[EC_MSG_TX_HEADER_BYTES + 3], 0xef); in cros_ec_proto_test_prepare_tx_legacy_normal()
54 KUNIT_EXPECT_EQ(test, ec_dev->dout[EC_MSG_TX_HEADER_BYTES + i], 0); in cros_ec_proto_test_prepare_tx_legacy_normal()
64 ec_dev->dout[EC_MSG_TX_HEADER_BYTES + EC_PROTO2_MAX_PARAM_SIZE], in cros_ec_proto_test_prepare_tx_legacy_normal()