Home
last modified time | relevance | path

Searched full:reason (Results 1 – 25 of 251) sorted by relevance

1234567891011

/hal_espressif-latest/components/esp_system/
Dcrosscore_int.c38 static volatile uint32_t reason[portNUM_PROCESSORS]; variable
51 //A pointer to the correct reason array item is passed to this ISR. in esp_crosscore_isr()
73 //Grab the reason and clear it. in esp_crosscore_isr()
114 reason[esp_cpu_get_core_id()]=0; in esp_crosscore_int_init()
119 …r_alloc(ETS_FROM_CPU_INTR0_SOURCE, ESP_INTR_FLAG_IRAM, esp_crosscore_isr, (void*)&reason[0], NULL); in esp_crosscore_int_init()
121 …r_alloc(ETS_FROM_CPU_INTR1_SOURCE, ESP_INTR_FLAG_IRAM, esp_crosscore_isr, (void*)&reason[1], NULL); in esp_crosscore_int_init()
124 …r_alloc(ETS_FROM_CPU_INTR0_SOURCE, ESP_INTR_FLAG_IRAM, esp_crosscore_isr, (void*)&reason[0], NULL); in esp_crosscore_int_init()
131 //Mark the reason we interrupt the other CPU in esp_crosscore_int_send()
133 reason[core_id] |= reason_mask; in esp_crosscore_int_send()
Dpanic.c249 info->reason = NULL; in esp_panic_handler()
276 if (info->reason) { in esp_panic_handler()
280 panic_print_str(info->reason); in esp_panic_handler()
301 panic_reason_str = (char *)info->reason; in esp_panic_handler()
350 * message reason would be kept. */ in esp_panic_handler()
436 break; // do not touch the previously set reset reason hint in esp_panic_handler()
470 /* Weak versions of reset reason hint functions.
471 * If these weren't provided, reset reason code would be linked into the app
/hal_espressif-latest/components/esp_system/port/arch/riscv/
Dpanic_arch.c58 /* Reason of the panic found, print the reason. */ in test_and_print_register_bits()
262 "Unknown reason", in panic_soc_fill_info()
273 info->reason = pseudo_reason[0]; in panic_soc_fill_info()
286 info->reason = pseudo_reason[PANIC_RSN_CACHEERR]; in panic_soc_fill_info()
291 * and update the reason/message accordingly. */ in panic_soc_fill_info()
301 info->reason = pseudo_reason[PANIC_RSN_INTWDT_CPU0 + core]; in panic_soc_fill_info()
305 info->reason = pseudo_reason[PANIC_RSN_MEMPROT]; in panic_soc_fill_info()
319 static const char *reason[] = { in panic_arch_fill_info() local
338 if (regs->mcause < (sizeof(reason) / sizeof(reason[0]))) { in panic_arch_fill_info()
339 if (reason[regs->mcause] != NULL) { in panic_arch_fill_info()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dmbo.c35 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument
37 if (reason > MBO_NON_PREF_CHAN_REASON_INT_INTERFERENCE) in wpas_mbo_validate_non_pref_chan()
139 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); in wpas_mbo_non_pref_chan_attr_body()
208 non_pref->reason != start_pref->reason || in wpas_mbo_non_pref_chan_attrs()
338 * preference and reason. To make it easy for the functions that build
340 * by their oper_class and reason.
348 if (a->reason != b->reason) in wpa_non_pref_chan_cmp()
349 return (int) a->reason - (int) b->reason; in wpa_non_pref_chan_cmp()
410 chan->reason = _reason; in wpas_mbo_update_non_pref_chan()
413 chan->chan, chan->reason)) { in wpas_mbo_update_non_pref_chan()
[all …]
/hal_espressif-latest/tools/esptool_py/test/
Dtest_espefuse.py215 arg_chip == "esp32p4", reason="No Custom MAC Address defined yet"
298 @pytest.mark.skipif(arg_chip != "esp32", reason="when the purpose of BLOCK2 is set")
372 reason="system parameters efuse read-protection is supported only by esp32, "
442 @pytest.mark.skipif(arg_chip == "esp32p4", reason="No Custom MAC Address defined yet")
471 arg_chip != "esp32", reason="3/4 coding scheme is only in esp32"
500 reason=f"{arg_chip} does not support set_flash_voltage",
567 @pytest.mark.skipif(arg_chip != "esp32c3", reason="Not necessary for all chips")
666 reason="IO pins 30 & 31 cannot be set for SPI flash only on esp32",
686 arg_chip == "esp32p4", reason="No Custom MAC Address defined yet"
795 arg_chip != "esp32", reason="3/4 coding scheme is only in esp32"
[all …]
Dtest_esptool.py288 @pytest.mark.skipif(arg_chip != "esp32", reason="ESP32 only")
461 int(os.getenv("ESPTOOL_TEST_FLASH_SIZE", "0")) < 32, reason="needs 32MB flash"
475 int(os.getenv("ESPTOOL_TEST_FLASH_SIZE", "0")) < 32, reason="needs 32MB flash"
505 @pytest.mark.skipif(arg_chip == "esp8266", reason="Added in ESP32")
623 arg_chip == "esp8266", reason="chip_id field exist in ESP32 and later images"
626 arg_chip == "esp32s3", reason="This is a valid ESP32-S3 image, would pass"
638 arg_chip == "esp8266", reason="chip_id field exist in ESP32 and later images"
641 arg_chip != "esp32s3", reason="This check happens only on a valid image"
652 arg_chip != "esp32c3", reason="This check happens only on a valid image"
680 @pytest.mark.skipif(arg_preload_port is False, reason="USB-JTAG/Serial only")
[all …]
/hal_espressif-latest/components/esp_system/port/arch/xtensa/
Dpanic_arch.c128 panic_print_str("Debug exception reason: "); in print_debug_exception_details()
137 //reason caused by watchdog 0 and one caused by watchdog 1 by setting bit 8 of the in print_debug_exception_details()
367 static const char *reason[] = { in panic_arch_fill_info() local
380 if (frame->exccause < (sizeof(reason) / sizeof(char *))) { in panic_arch_fill_info()
381 info->reason = (reason[frame->exccause]); in panic_arch_fill_info()
383 info->reason = "Unknown"; in panic_arch_fill_info()
412 "Unknown reason", in panic_soc_fill_info()
422 info->reason = pseudo_reason[0]; in panic_soc_fill_info()
426 info->reason = pseudo_reason[frame->exccause]; in panic_soc_fill_info()
441 info->reason = "Memory protection fault"; in panic_soc_fill_info()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c868 tGATT_STATUS reason = GATT_SUCCESS; in gatts_validate_packet_format() local
880 reason = GATT_INVALID_HANDLE; in gatts_validate_packet_format()
893 reason = GATT_INVALID_PDU; in gatts_validate_packet_format()
898 reason = GATT_INVALID_PDU; in gatts_validate_packet_format()
902 reason = GATT_INVALID_PDU; in gatts_validate_packet_format()
910 return reason; in gatts_validate_packet_format()
925 UINT8 reason = GATT_INVALID_PDU; in gatts_process_primary_service_req() local
932 reason = gatts_validate_packet_format(op_code, &len, &p_data, &uuid, &s_hdl, &e_hdl); in gatts_process_primary_service_req()
934 if (reason == GATT_SUCCESS) { in gatts_process_primary_service_req()
938 reason = GATT_INVALID_PDU; in gatts_process_primary_service_req()
[all …]
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/include/
Desp_mbo.h22 NON_PREF_CHAN_REASON_UNSPECIFIED = 0, /**< Unspecified reason for non-preference */
32 …* including the reason for its non-preference, the operating class, channel number, and preference…
35 enum non_pref_chan_reason reason; /**< Reason for the channel being non-preferred */ member
/hal_espressif-latest/components/spi_flash/
D.build-test-rules.yml7reason: target esp32c6 cannot pass atomic build, target esp32h2 currently doesn't support GPSPI.
13 reason: all targets according to the README file
19 reason: No runners # IDF-5634
/hal_espressif-latest/components/esp_hw_support/
D.build-test-rules.yml7 reason: Neither GDMA nor CPDMA is supported on ESP32
28 reason: Unsupported on C6 for now. TODO IDF-5645
34 reason: H2 fails IDF-6898
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_act.c456 UINT8 reason; in smp_proc_sec_req() local
478 reason = SMP_PAIR_AUTH_FAIL; in smp_proc_sec_req()
479 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason); in smp_proc_sec_req()
560 UINT8 reason = SMP_ENC_KEY_SIZE; in smp_proc_pair_cmd() local
579 reason = SMP_INVALID_PARAMETERS; in smp_proc_pair_cmd()
580 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason); in smp_proc_pair_cmd()
603 reason = SMP_PAIR_AUTH_FAIL; in smp_proc_pair_cmd()
604 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason); in smp_proc_pair_cmd()
619 reason = SMP_PAIR_AUTH_FAIL; in smp_proc_pair_cmd()
620 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason); in smp_proc_pair_cmd()
[all …]
Dsmp_l2c.c40 static void smp_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason,
45 …tic void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason,
102 static void smp_connect_callback (UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, in smp_connect_callback() argument
138 int_data.reason = reason; in smp_connect_callback()
228 UINT8 reason = SMP_SUCCESS; in smp_tx_complete_callback() local
231 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason); in smp_tx_complete_callback()
234 smp_br_state_machine_event(p_cb, SMP_BR_AUTH_CMPL_EVT, &reason); in smp_tx_complete_callback()
251 UINT16 reason, tBT_TRANSPORT transport) in smp_br_connect_callback() argument
284 int_data.reason = reason; in smp_br_connect_callback()
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/
Dreset_reason.c72 /* Reset reason hint is stored in RTC_RESET_CAUSE_REG, a.k.a. RTC_CNTL_STORE6_REG,
74 * deep sleep wake stub entry address and for reset reason hint, since wake stub
75 * is only used for deep sleep reset, and in this case the reason provided by
/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/
Dhidh_conn.c185 p_dev->conn.disc_reason = HID_ERR_AUTH_FAILED; /* Save reason for disconnecting */ in hidh_sec_check_complete_term()
253 …se disconnection occurs before security is completed, then set CLOSE_EVT reason code to 'connectio… in hidh_l2cif_connect_ind()
335 p_dev->conn.disc_reason = HID_ERR_AUTH_FAILED; /* Save reason for disconnecting */ in hidh_sec_check_complete_orig()
356 UINT32 reason; in hidh_l2cif_connect_cfm() local
391 reason = HID_L2CAP_CONN_FAIL | (UINT32) result ; in hidh_l2cif_connect_cfm()
392 … hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, reason, NULL ) ; in hidh_l2cif_connect_cfm()
400 …se disconnection occurs before security is completed, then set CLOSE_EVT reason code to "connectio… in hidh_l2cif_connect_cfm()
430 UINT32 reason; in hidh_l2cif_config_ind() local
463 …p_hcon->disc_reason = HID_L2CAP_CONN_FAIL; /* Reset initial reason for CLOSE_EVT: Connection Atte… in hidh_l2cif_config_ind()
466 reason = HID_L2CAP_REQ_FAIL ; in hidh_l2cif_config_ind()
[all …]
/hal_espressif-latest/components/esp_system/port/soc/esp32/
Dreset_reason.c73 /* Reset reason hint is stored in RTC_RESET_CAUSE_REG, a.k.a. RTC_CNTL_STORE6_REG,
75 * deep sleep wake stub entry address and for reset reason hint, since wake stub
76 * is only used for deep sleep reset, and in this case the reason provided by
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
Dreset_reason.c72 /* Reset reason hint is stored in RTC_RESET_CAUSE_REG, a.k.a. RTC_CNTL_STORE6_REG,
74 * deep sleep wake stub entry address and for reset reason hint, since wake stub
75 * is only used for deep sleep reset, and in this case the reason provided by
/hal_espressif-latest/components/esp_system/port/soc/esp32c3/
Dreset_reason.c75 /* Reset reason hint is stored in RTC_RESET_CAUSE_REG, a.k.a. RTC_CNTL_STORE6_REG,
77 * deep sleep wake stub entry address and for reset reason hint, since wake stub
78 * is only used for deep sleep reset, and in this case the reason provided by
/hal_espressif-latest/components/esp_system/port/soc/esp32c6/
Dreset_reason.c85 /* Reset reason hint is stored in RTC_RESET_CAUSE_REG, a.k.a. RTC_CNTL_STORE6_REG,
87 * deep sleep wake stub entry address and for reset reason hint, since wake stub
88 * is only used for deep sleep reset, and in this case the reason provided by
/hal_espressif-latest/components/esp_system/port/soc/esp32h2/
Dreset_reason.c85 /* Reset reason hint is stored in RTC_RESET_CAUSE_REG, a.k.a. RTC_CNTL_STORE6_REG,
87 * deep sleep wake stub entry address and for reset reason hint, since wake stub
88 * is only used for deep sleep reset, and in this case the reason provided by
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/usb/
Dcpio.h66 * is only called once, with reason=CPIO_RNS_FILE_ALL. fileinfo will contain the information
71 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
85 * calls with a reason of CPIO_RSN_FILE_INITIAL and CPIO_RSN_FILE_MORE will have a buffer
89 typedef void (*cpio_callback_t)(cpio_callback_reason_t reason, cpio_file_t *fileinfo, size_t buff_o…
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/usb/
Dcpio.h66 * is only called once, with reason=CPIO_RNS_FILE_ALL. fileinfo will contain the information
71 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
85 * calls with a reason of CPIO_RSN_FILE_INITIAL and CPIO_RSN_FILE_MORE will have a buffer
89 typedef void (*cpio_callback_t)(cpio_callback_reason_t reason, cpio_file_t *fileinfo, size_t buff_o…
/hal_espressif-latest/components/esp_rom/
D.build-test-rules.yml7 reason: lack of memory for testing miniz compressing
12 reason: only test on linux
/hal_espressif-latest/components/esp_event/
D.build-test-rules.yml6 reason: only test on linux
11 reason: covers all major arch types, xtensa vs riscv, single vs dual-core
/hal_espressif-latest/components/esp_netif/
D.build-test-rules.yml7 reason: Not needed to test on all targets (chosen two, one for each architecture)
13 reason: test uses internal EMAC

1234567891011