Searched refs:rx_test (Results 1 – 3 of 3) sorted by relevance
/openbmc/libmctp/tests/ |
H A D | test_i2c.c | 63 struct i2c_test *rx_test = &test_pair[1]; in test_i2c_tx() local 69 rx_test->last_rx_i2c_src = hdr->source >> 1; in test_i2c_tx() 71 mctp_i2c_rx(rx_test->i2c, buf, len); in test_i2c_tx() 80 struct i2c_test *rx_test = &test_pair[1]; in test_i2c_rxmsg() local 86 assert(rx_test->rx_len == 0); in test_i2c_rxmsg() 87 memcpy(rx_test->rx_msg, msg, len); in test_i2c_rxmsg() 88 rx_test->rx_len = len; in test_i2c_rxmsg() 93 size_t tx_len, struct i2c_test *rx_test) in run_tx_test() argument 108 assert(rx_test->rx_len == tx_len); in run_tx_test() 109 assert(memcmp(rx_test->rx_msg, mctp_msg_src, tx_len) == 0); in run_tx_test() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | virtio-net-test.c | 31 static void rx_test(QVirtioDevice *dev, in rx_test() function 155 rx_test(dev, t_alloc, rx, sv[0]); in send_recv_test()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htt.h | 1171 static inline __le32 *htt_rx_test_get_ints(struct htt_rx_test *rx_test) in htt_rx_test_get_ints() argument 1173 return (__le32 *)rx_test->payload; in htt_rx_test_get_ints() 1176 static inline u8 *htt_rx_test_get_chars(struct htt_rx_test *rx_test) in htt_rx_test_get_chars() argument 1178 return rx_test->payload + (rx_test->num_ints * sizeof(__le32)); in htt_rx_test_get_chars() 1717 struct htt_rx_test rx_test; member
|