Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dcrc32test.c34 static u8 const __aligned(8) test_buf[] __initconst =
680 crc ^= __crc32c_le(test[i].crc, test_buf + in crc32c_test()
690 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test()
719 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, in crc32c_combine_test()
725 crc1 = __crc32c_le(test[i].crc, test_buf + in crc32c_combine_test()
727 crc2 = __crc32c_le(0, test_buf + test[i].start + in crc32c_combine_test()
762 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
765 crc ^= crc32_be(test[i].crc, test_buf + in crc32_test()
775 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
779 if (test[i].crc_be != crc32_be(test[i].crc, test_buf + in crc32_test()
[all …]
/Linux-v4.19/drivers/mmc/core/
Dmmc_ops.c710 u8 *test_buf; in mmc_send_bus_test() local
723 test_buf = testdata_8bit; in mmc_send_bus_test()
725 test_buf = testdata_4bit; in mmc_send_bus_test()
734 memcpy(data_buf, test_buf, len); in mmc_send_bus_test()
763 if ((test_buf[i] ^ data_buf[i]) != 0xff) { in mmc_send_bus_test()
/Linux-v4.19/drivers/net/ethernet/microchip/
Denc28j60.c1257 u8 test_buf[64]; /* limit the test to the first 64 bytes */ in enc28j60_hw_tx() local
1261 if (test_len > sizeof(test_buf)) in enc28j60_hw_tx()
1262 test_len = sizeof(test_buf); in enc28j60_hw_tx()
1265 enc28j60_mem_read(priv, TXSTART_INIT + 1, test_len, test_buf); in enc28j60_hw_tx()
1268 if (priv->tx_skb->data[k] != test_buf[k]) { in enc28j60_hw_tx()
1272 priv->tx_skb->data[k], test_buf[k]); in enc28j60_hw_tx()