Lines Matching refs:TEST_ESP_OK

38     TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8));  in test_read_blob()
45 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY_CRC, &crc, 8)); in test_read_blob()
55 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &half_byte, 4)); in test_read_blob()
59 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &buff, sizeof(buff) * 8)); in test_read_blob()
81 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, 48)); in test_read_cnt()
83 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_MAC_FACTORY, &cnt)); in test_read_cnt()
112 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_TEST1_LEN_8, &test1_len_8, 7)); in test_write_blob()
115 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST1_LEN_8, &val_read1, 8)); in test_write_blob()
120 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_TEST1_LEN_8, &test1_len_8_hi, 8)); in test_write_blob()
127 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST1_LEN_8, &val_read1, 16)); in test_write_blob()
140 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_TEST2_LEN_16, &val_32, 17)); in test_write_blob()
143 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST2_LEN_16, &test_16, 16)); in test_write_blob()
148 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_blob()
152 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_blob()
153 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_blob()
157 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_blob()
158 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_blob()
185 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST3_LEN_6, &test3_len_6)); in test_write_cnt()
188 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, 1)); in test_write_cnt()
189 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST3_LEN_6, &test3_len_6)); in test_write_cnt()
193 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, 1)); in test_write_cnt()
197 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, 2)); in test_write_cnt()
199 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST3_LEN_6, &test3_len_6)); in test_write_cnt()
203 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, 3)); in test_write_cnt()
207 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, 5)); in test_write_cnt()
209 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST3_LEN_6, &test3_len_6)); in test_write_cnt()
221 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST4_LEN_182, 26)); in test_write_cnt()
224 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST4_LEN_182, (i + 1) * 26)); in test_write_cnt()
226 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST4_LEN_182, &test4_len_182)); in test_write_cnt()
238 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST5_LEN_1, &test5_len_1)); in test_write_cnt()
240 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_cnt()
249 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST5_LEN_1, test5_len_1)); in test_write_cnt()
251 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST5_LEN_1, &test5_len_1)); in test_write_cnt()
253 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test5_len_1, 1)); in test_write_cnt()
262 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST2_LEN_16, test2_len_16)); in test_write_cnt()
263 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST2_LEN_16, &test2_len_16)); in test_write_cnt()
265 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST2_LEN_16, &test2_len_16, 16)); in test_write_cnt()
282 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test_bit, 1));
288 TEST_ESP_OK(esp_efuse_write_field_bit(ESP_EFUSE_TEST5_LEN_1));
289 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST5_LEN_1, &test_bit, 1));
296 TEST_ESP_OK(esp_efuse_write_field_bit(ESP_EFUSE_TEST5_LEN_1));
345 TEST_ESP_OK(esp_efuse_write_field_blob(field, arr_w, field_size)); in test_blob()
347 TEST_ESP_OK(esp_efuse_read_field_blob(field, arr_r, field_size)); in test_blob()
359 TEST_ESP_OK(esp_efuse_read_field_cnt(field, &num_bits_r)); in test_blob()
368 TEST_ESP_OK(esp_efuse_write_field_cnt(field, num_bits_w)); in test_blob()
369 TEST_ESP_OK(esp_efuse_read_field_cnt(field, &num_bits_r)); in test_blob()
374 TEST_ESP_OK(esp_efuse_read_field_blob(field, arr_r, field_size)); in test_blob()
385 TEST_ESP_OK(esp_efuse_read_field_cnt(field, &num_bits_r)); in test_cnt_part()
388 TEST_ESP_OK(esp_efuse_write_field_cnt(field, field_size)); in test_cnt_part()
389 TEST_ESP_OK(esp_efuse_read_field_cnt(field, &num_bits_r)); in test_cnt_part()
408 TEST_ESP_OK(esp_efuse_write_field_cnt(field, num_bits_w)); in test_cnt_part()
409 TEST_ESP_OK(esp_efuse_read_field_cnt(field, &num_bits_r)); in test_cnt_part()
414 TEST_ESP_OK(esp_efuse_read_field_blob(field, arr_r, field_size)); in test_cnt_part()
454 TEST_ESP_OK(esp_efuse_write_field_blob(field, arr_temp, field_size)); in test_blob_part()
456 TEST_ESP_OK(esp_efuse_read_field_blob(field, arr_r, field_size)); in test_blob_part()
561 TEST_ESP_OK(esp_efuse_write_block(EFUSE_BLK2, src_key, offset_in_bits, count_useful_reg * 32));
562 TEST_ESP_OK(esp_efuse_read_block(EFUSE_BLK2, dst_key, offset_in_bits, count_useful_reg * 32));
574TEST_ESP_OK(esp_efuse_write_block(EFUSE_BLK2, src_key, offset_in_bits, count_useful_reg * 32 / 2));
575TEST_ESP_OK(esp_efuse_read_block(EFUSE_BLK2, dst_key, offset_in_bits, count_useful_reg * 32 / 2));
617 TEST_ESP_OK(esp_efuse_read_block(num_block, r_buff, 0, count_useful_reg * 32));
654 TEST_ESP_OK(esp_efuse_batch_write_begin()); in task1()
659 TEST_ESP_OK(esp_efuse_batch_write_cancel()); in task1()
669 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8)); in task2()
684 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, test3_len_6)); in task3()
685 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_TEST3_LEN_6, &test3_len_6)); in task3()
728 TEST_ESP_OK(esp_efuse_set_write_protect(blk)); in test_wp()
740 TEST_ESP_OK(esp_efuse_set_read_protect(blk)); in test_rp()
761 TEST_ESP_OK(esp_efuse_set_write_protect(EFUSE_BLK1));
800 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, test3_len_6)); in efuse_burn_task()
813 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_TEST3_LEN_6, &test3_len_6, 6)); in efuse_read_task()
869 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8));
876TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &new_mac, sizeof(new_mac) * 8));
891 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8));
901TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_MAC_FACTORY, &new_mac, sizeof(new_mac) * 8));
903 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_MAC_FACTORY, &mac, sizeof(mac) * 8));
910 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY3, &key, 256));
918 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_KEY3, &new_key, 256));
919 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY3, &key, 256));
924 TEST_ESP_OK(esp_efuse_set_read_protect(EFUSE_BLK7));
925 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY3, &key, 256));
939 TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_SECURE_VERSION, 1));
940 TEST_ESP_OK(esp_efuse_read_field_cnt(ESP_EFUSE_SECURE_VERSION, &read_sec_version));
970 TEST_ESP_OK(esp_efuse_batch_write_begin());
972 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_KEY4, &new_key, 256));
975 TEST_ESP_OK(esp_efuse_set_write_protect(EFUSE_BLK_KEY4));
977 TEST_ESP_OK(esp_efuse_batch_write_commit());
981 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY4, &key, 256));
996 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY5, &key, 256));
999 TEST_ESP_OK(esp_efuse_batch_write_begin());
1000 TEST_ESP_OK(esp_efuse_batch_write_begin());
1001 TEST_ESP_OK(esp_efuse_batch_write_begin());
1002 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_KEY5, &new_key, 256));
1003 TEST_ESP_OK(esp_efuse_set_write_protect(EFUSE_BLK_KEY5));
1005 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY5, &key, 256));
1007 TEST_ESP_OK(esp_efuse_batch_write_commit());
1008 TEST_ESP_OK(esp_efuse_batch_write_commit());
1009 TEST_ESP_OK(esp_efuse_batch_write_commit());
1011 TEST_ESP_OK(esp_efuse_batch_write_begin());
1012 TEST_ESP_OK(esp_efuse_batch_write_begin());
1013 TEST_ESP_OK(esp_efuse_batch_write_begin());
1014 TEST_ESP_OK(esp_efuse_batch_write_begin());
1016 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY5, &key, 256));
1018 TEST_ESP_OK(esp_efuse_batch_write_commit());
1019 TEST_ESP_OK(esp_efuse_batch_write_commit());
1020 TEST_ESP_OK(esp_efuse_batch_write_commit());
1021 TEST_ESP_OK(esp_efuse_batch_write_commit());
1028 TEST_ESP_OK(esp_efuse_batch_write_begin());
1029 TEST_ESP_OK(esp_efuse_write_field_blob(ESP_EFUSE_KEY2, &new_key, 256));
1030 TEST_ESP_OK(esp_efuse_batch_write_commit());
1031 TEST_ESP_OK(esp_efuse_read_field_blob(ESP_EFUSE_KEY2, &key, 256));