Searched refs:test_buf (Results 1 - 7 of 7) sorted by relevance
/linux-master/tools/virtio/ |
H A D | vhost_net_test.c | 52 char *test_buf; member in struct:vdev_info 122 char *sendbuf = dev->test_buf + HDR_LEN; 220 dev->test_buf = dev->buf; 221 dev->res_buf = dev->test_buf + HDR_LEN + TEST_BUF_LEN; 223 memset(dev->test_buf, 0, HDR_LEN + TEST_BUF_LEN); 224 eh = (struct ether_header *)(dev->test_buf + HDR_LEN); 230 dev->test_buf[i + HDR_LEN] = (char)i; 291 sg_init_one(&sl, dev->test_buf, HDR_LEN + TEST_BUF_LEN); 293 dev->test_buf + vq->started,
|
/linux-master/drivers/spi/ |
H A D | spi-aspeed-smc.c | 86 const u8 *golden_buf, u8 *test_buf); 856 const u8 *golden_buf, u8 *test_buf) 861 memcpy_fromio(test_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); 862 if (memcmp(test_buf, golden_buf, CALIBRATE_BUF_SIZE) != 0) { 865 test_buf, 0x100); 879 const u8 *golden_buf, u8 *test_buf) 900 pass = aspeed_spi_check_reads(chip, golden_buf, test_buf); 931 static bool aspeed_spi_check_calib_data(const u8 *test_buf, u32 size) argument 933 const u32 *tb32 = (const u32 *)test_buf; 968 u8 *test_buf local 855 aspeed_spi_check_reads(struct aspeed_spi_chip *chip, const u8 *golden_buf, u8 *test_buf) argument 878 aspeed_spi_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, const u8 *golden_buf, u8 *test_buf) argument 1039 aspeed_spi_ast2600_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, const u8 *golden_buf, u8 *test_buf) argument [all...] |
/linux-master/lib/ |
H A D | test_firmware.c | 867 void *test_buf; local 869 test_buf = kzalloc(TEST_FIRMWARE_BUF_SIZE, GFP_KERNEL); 870 if (!test_buf) 878 test_buf, 886 test_buf, 889 kfree(test_buf); 891 req->fw_buf = test_buf;
|
H A D | crc32test.c | 34 static u8 const __aligned(8) test_buf[] __initconst = 680 crc ^= __crc32c_le(test[i].crc, test_buf + 689 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + 717 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, 723 crc1 = __crc32c_le(test[i].crc, test_buf + 725 crc2 = __crc32c_le(0, test_buf + test[i].start + 760 crc ^= crc32_le(test[i].crc, test_buf + 763 crc ^= crc32_be(test[i].crc, test_buf + 772 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + 776 if (test[i].crc_be != crc32_be(test[i].crc, test_buf [all...] |
/linux-master/drivers/mmc/core/ |
H A D | mmc_ops.c | 771 u8 *test_buf; local 784 test_buf = testdata_8bit; 786 test_buf = testdata_4bit; 795 memcpy(data_buf, test_buf, len); 824 if ((test_buf[i] ^ data_buf[i]) != 0xff) {
|
/linux-master/drivers/net/ethernet/microchip/ |
H A D | enc28j60.c | 1255 u8 test_buf[64]; /* limit the test to the first 64 bytes */ local 1259 if (test_len > sizeof(test_buf)) 1260 test_len = sizeof(test_buf); 1263 enc28j60_mem_read(priv, TXSTART_INIT + 1, test_len, test_buf); 1266 if (priv->tx_skb->data[k] != test_buf[k]) { 1269 k, priv->tx_skb->data[k], test_buf[k]);
|
/linux-master/fs/xfs/ |
H A D | xfs_dahash_test.c | 18 static uint8_t __initdata __attribute__((__aligned__(8))) test_buf[] = variable 654 hash = xfs_da_hashname(test_buf + test[i].start, 659 xname.name = test_buf + test[i].start;
|
Completed in 139 milliseconds