| /OK3568_Linux_fs/kernel/lib/ |
| H A D | crc32test.c | 34 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 …]
|
| H A D | test_firmware.c | 773 void *test_buf; in test_fw_run_batch_request() local 775 test_buf = kzalloc(TEST_FIRMWARE_BUF_SIZE, GFP_KERNEL); in test_fw_run_batch_request() 776 if (!test_buf) in test_fw_run_batch_request() 784 test_buf, in test_fw_run_batch_request() 792 test_buf, in test_fw_run_batch_request() 795 kfree(test_buf); in test_fw_run_batch_request()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | flash_vendor_storage.c | 212 u8 test_buf[512]; in flash_vendor_test() local 214 memset(test_buf, 0, 512); in flash_vendor_test() 216 memset(test_buf, i, i + 1); in flash_vendor_test() 217 flash_vendor_write(i, test_buf, i + 1); in flash_vendor_test() 219 memset(test_buf, 0, 512); in flash_vendor_test() 221 flash_vendor_read(i, test_buf, i + 1); in flash_vendor_test() 223 print_hex("data:", test_buf, 1, i + 1); in flash_vendor_test() 226 memset(test_buf, 0, 512); in flash_vendor_test() 228 flash_vendor_read(i, test_buf, i + 1); in flash_vendor_test() 230 print_hex("data:", test_buf, 1, i + 1); in flash_vendor_test()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | sdp_basic.c | 434 unsigned char *test_buf = NULL; in sdp_basic_test() local 452 test_buf = malloc(size); in sdp_basic_test() 454 if (!test_buf || !ref_buf) { in sdp_basic_test() 484 memcpy(test_buf, ref_buf, size); in sdp_basic_test() 489 if (inject_sdp_data(ctx, test_buf, offset, size, shm_ref, ta)) in sdp_basic_test() 497 if (dump_sdp_data(ctx, test_buf, offset, size, shm_ref, ta)) in sdp_basic_test() 501 if (check_sdp_dumped(ctx, ref_buf, size, test_buf)) { in sdp_basic_test() 517 free(test_buf); in sdp_basic_test()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_ch_info.c | 421 if (!ch_rpt->test_buf) in halbb_ch_info_print_buf() 424 buf_tmp = ch_rpt->test_buf; in halbb_ch_info_print_buf() 470 if (ch_rpt->test_buf) in halbb_ch_info_reset() 471 halbb_mem_set(bb, ch_rpt->test_buf, 0, (TEST_CH_INFO_MAX_SEG * TEST_CH_SEG_LEN)); in halbb_ch_info_reset() 479 if (ch_rpt->test_buf) in halbb_ch_info_deinit() 480 halbb_mem_free(bb, ch_rpt->test_buf, (TEST_CH_INFO_MAX_SEG * TEST_CH_SEG_LEN)); in halbb_ch_info_deinit() 661 if (!ch_rpt->test_buf) in halbb_ch_info_dbg() 662 ch_rpt->test_buf = (u8 *)halbb_mem_alloc(bb, (TEST_CH_INFO_MAX_SEG * TEST_CH_SEG_LEN)); in halbb_ch_info_dbg() 698 ch_rpt->test_buf_curr = ch_rpt->test_buf; in halbb_ch_info_dbg() 748 ch_rpt->test_buf_curr = ch_rpt->test_buf; in halbb_ch_info_dbg()
|
| H A D | halbb_ch_info.h | 84 u8 *test_buf; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_ch_info.c | 421 if (!ch_rpt->test_buf) in halbb_ch_info_print_buf() 424 buf_tmp = ch_rpt->test_buf; in halbb_ch_info_print_buf() 470 if (ch_rpt->test_buf) in halbb_ch_info_reset() 471 halbb_mem_set(bb, ch_rpt->test_buf, 0, (TEST_CH_INFO_MAX_SEG * TEST_CH_SEG_LEN)); in halbb_ch_info_reset() 479 if (ch_rpt->test_buf) in halbb_ch_info_deinit() 480 halbb_mem_free(bb, ch_rpt->test_buf, (TEST_CH_INFO_MAX_SEG * TEST_CH_SEG_LEN)); in halbb_ch_info_deinit() 661 if (!ch_rpt->test_buf) in halbb_ch_info_dbg() 662 ch_rpt->test_buf = (u8 *)halbb_mem_alloc(bb, (TEST_CH_INFO_MAX_SEG * TEST_CH_SEG_LEN)); in halbb_ch_info_dbg() 698 ch_rpt->test_buf_curr = ch_rpt->test_buf; in halbb_ch_info_dbg() 748 ch_rpt->test_buf_curr = ch_rpt->test_buf; in halbb_ch_info_dbg()
|
| H A D | halbb_ch_info.h | 84 u8 *test_buf; member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/ |
| H A D | ui.h | 138 const char *test_buf); 141 const char *test_buf);
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | pcba_core.c | 536 char test_buf[10]; in parse_test_result() local 585 test_buf[i++] = ch; in parse_test_result() 593 if(0 == strcmp(test_buf, "PASS")) { in parse_test_result() 596 } else if (0 == strcmp(test_buf, "FAIL")) { in parse_test_result()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | mmc_ops.c | 763 u8 *test_buf; in mmc_send_bus_test() local 776 test_buf = testdata_8bit; in mmc_send_bus_test() 778 test_buf = testdata_4bit; in mmc_send_bus_test() 787 memcpy(data_buf, test_buf, len); in mmc_send_bus_test() 816 if ((test_buf[i] ^ data_buf[i]) != 0xff) { in mmc_send_bus_test()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/microchip/ |
| H A D | enc28j60.c | 1255 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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_cmd.c | 5237 u8 test_buf[LEN_TEST_BUF];
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_cmd.c | 5215 u8 test_buf[LEN_TEST_BUF];
|