Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dcrc32test.c34 static u8 const __aligned(8) test_buf[] __initconst =
680 crc ^= __crc32c_le(test[i].crc, test_buf + in crc32c_test()
689 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test()
717 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, in crc32c_combine_test()
723 crc1 = __crc32c_le(test[i].crc, test_buf + in crc32c_combine_test()
725 crc2 = __crc32c_le(0, test_buf + test[i].start + in crc32c_combine_test()
760 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
763 crc ^= crc32_be(test[i].crc, test_buf + in crc32_test()
772 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
776 if (test[i].crc_be != crc32_be(test[i].crc, test_buf + in crc32_test()
[all …]
Dtest_firmware.c867 void *test_buf; in test_fw_run_batch_request() local
869 test_buf = kzalloc(TEST_FIRMWARE_BUF_SIZE, GFP_KERNEL); in test_fw_run_batch_request()
870 if (!test_buf) in test_fw_run_batch_request()
878 test_buf, in test_fw_run_batch_request()
886 test_buf, in test_fw_run_batch_request()
889 kfree(test_buf); in test_fw_run_batch_request()
891 req->fw_buf = test_buf; in test_fw_run_batch_request()
/linux-6.6.21/fs/xfs/
Dxfs_dahash_test.c18 static uint8_t __initdata __attribute__((__aligned__(8))) test_buf[] = variable
654 hash = xfs_da_hashname(test_buf + test[i].start, in xfs_dahash_test()
659 xname.name = test_buf + test[i].start; in xfs_dahash_test()
/linux-6.6.21/drivers/spi/
Dspi-aspeed-smc.c86 const u8 *golden_buf, u8 *test_buf);
868 const u8 *golden_buf, u8 *test_buf) in aspeed_spi_check_reads() argument
873 memcpy_fromio(test_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); in aspeed_spi_check_reads()
874 if (memcmp(test_buf, golden_buf, CALIBRATE_BUF_SIZE) != 0) { in aspeed_spi_check_reads()
877 test_buf, 0x100); in aspeed_spi_check_reads()
891 const u8 *golden_buf, u8 *test_buf) in aspeed_spi_calibrate() argument
912 pass = aspeed_spi_check_reads(chip, golden_buf, test_buf); in aspeed_spi_calibrate()
943 static bool aspeed_spi_check_calib_data(const u8 *test_buf, u32 size) in aspeed_spi_check_calib_data() argument
945 const u32 *tb32 = (const u32 *)test_buf; in aspeed_spi_check_calib_data()
980 u8 *test_buf = NULL; in aspeed_spi_do_calibration() local
[all …]
/linux-6.6.21/drivers/mmc/core/
Dmmc_ops.c771 u8 *test_buf; in mmc_send_bus_test() local
784 test_buf = testdata_8bit; in mmc_send_bus_test()
786 test_buf = testdata_4bit; in mmc_send_bus_test()
795 memcpy(data_buf, test_buf, len); in mmc_send_bus_test()
824 if ((test_buf[i] ^ data_buf[i]) != 0xff) { in mmc_send_bus_test()
/linux-6.6.21/drivers/net/ethernet/microchip/
Denc28j60.c1255 u8 test_buf[64]; /* limit the test to the first 64 bytes */ in enc28j60_hw_tx() local
1259 if (test_len > sizeof(test_buf)) in enc28j60_hw_tx()
1260 test_len = sizeof(test_buf); in enc28j60_hw_tx()
1263 enc28j60_mem_read(priv, TXSTART_INIT + 1, test_len, test_buf); in enc28j60_hw_tx()
1266 if (priv->tx_skb->data[k] != test_buf[k]) { in enc28j60_hw_tx()
1269 k, priv->tx_skb->data[k], test_buf[k]); in enc28j60_hw_tx()