/hal_espressif-latest/components/spi_flash/esp32s3/ |
D | opi_flash_cmd_format_mxic.h | 17 .cmd = MXIC_CMD16(CMD_RDID), \ 28 .cmd = MXIC_CMD16(CMD_RDSR), \ 39 .cmd = MXIC_CMD16(CMD_WREN), \ 50 .cmd = MXIC_CMD16(CMD_SECTOR_ERASE_4B), \ 61 .cmd = MXIC_CMD16(CMD_LARGE_BLOCK_ERASE_4B), \ 72 .cmd = MXIC_CMD16(CMD_8READ), \ 83 .cmd = MXIC_CMD16(CMD_PROGRAM_PAGE_4B), \ 94 .cmd = MXIC_CMD16(CMD_8READ), \ 104 .cmd = MXIC_CMD16(CMD_RDID), \ 115 .cmd = MXIC_CMD16(CMD_RDSR), \ [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | smp_l2c.c | 160 UINT8 cmd ; in smp_data_received() local 163 STREAM_TO_UINT8(cmd, p); in smp_data_received() 166 if ((SMP_OPCODE_MAX < cmd) || (SMP_OPCODE_MIN > cmd)) { in smp_data_received() 167 SMP_TRACE_WARNING( "Ignore received command with RESERVED code 0x%02x\n", cmd); in smp_data_received() 173 if (SMP_OPCODE_PAIRING_REQ == cmd || SMP_OPCODE_SEC_REQ == cmd) { in smp_data_received() 191 if (cmd == SMP_OPCODE_CONFIRM) { in smp_data_received() 194 __FUNCTION__, cmd, p_cb->peer_auth_req, p_cb->loc_auth_req); in smp_data_received() 198 cmd = SMP_OPCODE_PAIR_COMMITM; in smp_data_received() 202 p_cb->rcvd_cmd_code = cmd; in smp_data_received() 204 smp_sm_event(p_cb, cmd, p); in smp_data_received() [all …]
|
/hal_espressif-latest/tools/esptool_py/test/efuse_scripts/ |
D | efuse_burn1.py | 13 for cmd in config["burn_efuses1"]: 14 cmd = cmd.format(index=args.index) variable 15 print(cmd) 16 espefuse(esp, efuses, args, cmd)
|
D | efuse_burn2.py | 13 for cmd in config["burn_efuses2"]: 14 cmd = cmd.format(index=args.index) variable 15 print(cmd) 16 espefuse(esp, efuses, args, cmd)
|
/hal_espressif-latest/components/driver/spi/sdspi/ |
D | sdspi_transaction.c | 44 static void r1_response_to_err(uint8_t r1, int cmd, esp_err_t *out_err) in r1_response_to_err() argument 47 ESP_LOGD(TAG, "cmd=%d, R1 response not found", cmd); in r1_response_to_err() 50 ESP_LOGD(TAG, "cmd=%d, R1 response: command CRC error", cmd); in r1_response_to_err() 53 ESP_LOGD(TAG, "cmd=%d, R1 response: command not supported", cmd); in r1_response_to_err() 56 ESP_LOGD(TAG, "cmd=%d, R1 response: alignment error", cmd); in r1_response_to_err() 59 ESP_LOGD(TAG, "cmd=%d, R1 response: size error", cmd); in r1_response_to_err() 67 ESP_LOGD(TAG, "cmd=%d, R1 response: unexpected value 0x%02x", cmd, r1); in r1_response_to_err() 72 static void r1_sdio_response_to_err(uint8_t r1, int cmd, esp_err_t *out_err) in r1_sdio_response_to_err() argument 75 ESP_LOGI(TAG, "cmd=%d, R1 response not found", cmd); in r1_sdio_response_to_err() 78 ESP_LOGI(TAG, "cmd=%d, R1 response: command CRC error", cmd); in r1_sdio_response_to_err() [all …]
|
D | sdspi_host.c | 68 static esp_err_t start_command_read_blocks(slot_info_t *slot, sdspi_hw_cmd_t *cmd, 71 static esp_err_t start_command_write_blocks(slot_info_t *slot, sdspi_hw_cmd_t *cmd, 74 static esp_err_t start_command_default(slot_info_t *slot, int flags, sdspi_hw_cmd_t *cmd); 76 static esp_err_t shift_cmd_response(sdspi_hw_cmd_t *cmd, int sent_bytes); 445 esp_err_t sdspi_host_start_command(sdspi_dev_handle_t handle, sdspi_hw_cmd_t *cmd, void *data, in sdspi_host_start_command() argument 456 int cmd_index = cmd->cmd_index; in sdspi_host_start_command() 458 memcpy(&cmd_arg, cmd->arguments, sizeof(cmd_arg)); in sdspi_host_start_command() 461 __func__, handle, cmd_index, cmd_arg, flags, data, data_size, cmd->crc7); in sdspi_host_start_command() 480 … ret = start_command_write_blocks(slot, cmd, data, data_size, multi_block, stop_transmission); in sdspi_host_start_command() 482 ret = start_command_read_blocks(slot, cmd, data, data_size, stop_transmission); in sdspi_host_start_command() [all …]
|
/hal_espressif-latest/tools/esptool_py/espefuse/ |
D | __init__.py | 144 cmd = [] 149 if cmd != []: 150 groups.append(cmd) 151 cmd = [] 152 cmd.append(item) 153 if cmd: 154 groups.append(cmd) 303 sum(cmd in SUPPORTED_BURN_COMMANDS for cmd in used_cmds) > 1 339 sum(cmd in SUPPORTED_BURN_COMMANDS for cmd in used_cmds) > 0 340 and sum(cmd in SUPPORTED_READ_COMMANDS for cmd in used_cmds) > 0
|
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/ |
D | serial_handler.py | 144 def handle_commands(self, cmd, chip, run_make_func, console_reader, serial_reader): argument 155 if cmd in [CMD_RESET, 162 if cmd == CMD_STOP: 165 elif cmd == CMD_RESET: 172 elif cmd == CMD_MAKE: 174 elif cmd == CMD_APP_FLASH: 176 elif cmd == CMD_OUTPUT_TOGGLE: 178 elif cmd == CMD_TOGGLE_LOGGING: 180 elif cmd == CMD_TOGGLE_TIMESTAMPS: 182 elif cmd == CMD_ENTER_BOOT: [all …]
|
D | gdbhelper.py | 44 cmd = ['%sgdb' % self.toolchain_prefix, 51 process = subprocess.Popen(cmd, cwd='.') 63 red_print('%s: %s' % (' '.join(cmd), e)) 112 cmd = [self.toolchain_prefix + 'gdb', 121 output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
|
/hal_espressif-latest/components/esp_hw_support/ |
D | sleep_modem.c | 180 phy_i2c_master_command_attribute_t cmd; in sleep_modem_wifi_modem_state_init() local 184 phy_i2c_master_mem_cfg(&cmd); in sleep_modem_wifi_modem_state_init() 186 …"Modem link i2c master configuration: (%d,%d,%d), (%d,%d,%d)", cmd.config[0].host_id, cmd.config[0… in sleep_modem_wifi_modem_state_init() 187 cmd.config[0].end, cmd.config[1].host_id, cmd.config[1].start, cmd.config[1].end); in sleep_modem_wifi_modem_state_init() 231 …fi_modem_config[7].write_wait.value = I2C_BURST_VAL(cmd.config[1].host_id, cmd.config[1].start, c… in sleep_modem_wifi_modem_state_init() 232 …fi_modem_config[18].write_wait.value = I2C_BURST_VAL(cmd.config[0].host_id, cmd.config[0].start, c… in sleep_modem_wifi_modem_state_init()
|
/hal_espressif-latest/components/bt/porting/include/ |
D | ble_hci_trans.h | 50 typedef int ble_hci_trans_rx_cmd_fn(uint8_t *cmd, void *arg); 60 int(*_ble_hci_trans_hs_cmd_tx)(uint8_t *cmd); 101 extern int r_ble_hci_trans_hs_cmd_tx(uint8_t *cmd); 231 int ble_hci_trans_hs_cmd_tx(uint8_t *cmd); 252 int esp_ble_hci_trans_hs_cmd_tx(uint8_t *cmd);
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/ |
D | rom_functions.h | 223 .cmd = CMD_RDID, \ 234 .cmd = CMD_RDSR, \ 245 .cmd = CMD_WREN, \ 256 .cmd = CMD_SECTOR_ERASE_4B, \ 267 .cmd = CMD_LARGE_BLOCK_ERASE_4B, \ 278 .cmd = CMD_FSTRD4B, \ 289 .cmd = CMD_PROGRAM_PAGE_4B, \ 300 .cmd = CMD_FSTRD4B, \ 310 uint16_t cmd; member 322 uint16_t cmd; member [all …]
|
/hal_espressif-latest/west/ |
D | tools.py | 37 def cmd_check(cmd, cwd=None, stderr=subprocess.STDOUT): argument 38 return subprocess.check_output(cmd, cwd=cwd, stderr=stderr) 41 def cmd_exec(cmd, cwd=None, shell=False): argument 42 return subprocess.check_call(cmd, cwd=cwd, shell=shell) 184 …cmd = [sys.executable, str(monitor_path), "-p", esp_port, "-b", args.baud, str(elf_path), "--eol",… 188 cmd.append("-d") 190 cmd_exec(cmd, cwd=cmd_path)
|
/hal_espressif-latest/components/wpa_supplicant/src/ap/ |
D | eap_user_db.c | 140 char id_str[256], cmd[300]; in eap_user_sqlite_get() local 187 res = os_snprintf(cmd, sizeof(cmd), in eap_user_sqlite_get() 190 if (os_snprintf_error(sizeof(cmd), res)) in eap_user_sqlite_get() 193 wpa_printf(MSG_DEBUG, "DB: %s", cmd); in eap_user_sqlite_get() 194 if (sqlite3_exec(db, cmd, get_user_cb, &hapd->tmp_eap_user, NULL) != in eap_user_sqlite_get() 203 os_snprintf(cmd, sizeof(cmd), in eap_user_sqlite_get() 205 wpa_printf(MSG_DEBUG, "DB: %s", cmd); in eap_user_sqlite_get() 206 if (sqlite3_exec(db, cmd, get_wildcard_cb, &hapd->tmp_eap_user, in eap_user_sqlite_get()
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/ |
D | stub_commands.c | 250 const write_reg_args_t *cmd = &cmds[i]; in handle_write_reg() local 251 ets_delay_us(cmd->delay_us); in handle_write_reg() 252 uint32_t v = cmd->value & cmd->mask; in handle_write_reg() 253 if (cmd->mask != UINT32_MAX) { in handle_write_reg() 254 v |= READ_REG(cmd->addr) & ~cmd->mask; in handle_write_reg() 256 WRITE_REG(cmd->addr, v); in handle_write_reg()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/a2dp/ |
D | btc_a2dp_control.c | 42 static inline void a2dp_cmd_acknowledge(int cmd, int status) in a2dp_cmd_acknowledge() argument 46 param.media_ctrl_stat.cmd = cmd; in a2dp_cmd_acknowledge() 61 int cmd = btc_aa_ctrl_cb.a2dp_cmd_pending; in btc_a2dp_control_command_ack() local 64 a2dp_cmd_acknowledge(cmd, status); in btc_a2dp_control_command_ack()
|
/hal_espressif-latest/components/bt/porting/transport/driver/vhci/ |
D | hci_driver_standard.c | 57 uint8_t *cmd; in hci_driver_vhci_host_tx() local 66 cmd = r_ble_hci_trans_buf_alloc(ESP_HCI_INTERNAL_BUF_CMD); in hci_driver_vhci_host_tx() 67 assert(cmd); in hci_driver_vhci_host_tx() 68 memcpy(cmd, data + 1, length - 1); in hci_driver_vhci_host_tx() 69 data = cmd; in hci_driver_vhci_host_tx()
|
/hal_espressif-latest/components/hal/esp32/include/hal/ |
D | spi_flash_ll.h | 77 return (dev->cmd.val == 0); in spi_flash_ll_cmd_is_done() 87 dev->cmd.flash_ce = 1; in spi_flash_ll_erase_chip() 98 dev->cmd.flash_se = 1; in spi_flash_ll_erase_sector() 108 dev->cmd.flash_be = 1; in spi_flash_ll_erase_block() 120 dev->cmd.flash_wrdi = 1; in spi_flash_ll_set_write_protect() 122 dev->cmd.flash_wren = 1; in spi_flash_ll_set_write_protect() 195 dev->cmd.flash_pp = 1; in spi_flash_ll_program_page() 206 dev->cmd.usr = 1; in spi_flash_ll_user_start()
|
/hal_espressif-latest/components/hal/esp32c6/include/hal/ |
D | spimem_flash_ll.h | 62 return (dev->cmd.val == 0); in spimem_flash_ll_cmd_is_done() 72 dev->cmd.flash_ce = 1; in spimem_flash_ll_erase_chip() 83 dev->cmd.flash_se = 1; in spimem_flash_ll_erase_sector() 93 dev->cmd.flash_be = 1; in spimem_flash_ll_erase_block() 246 dev->cmd.flash_wrdi = 1; in spimem_flash_ll_set_write_protect() 248 dev->cmd.flash_wren = 1; in spimem_flash_ll_set_write_protect() 311 dev->cmd.flash_pp = 1; in spimem_flash_ll_program_page() 322 dev->cmd.usr = 1; in spimem_flash_ll_user_start() 334 return dev->cmd.mst_st == 0; in spimem_flash_ll_host_idle()
|
/hal_espressif-latest/components/hal/esp32h2/include/hal/ |
D | spimem_flash_ll.h | 63 return (dev->cmd.val == 0); in spimem_flash_ll_cmd_is_done() 73 dev->cmd.flash_ce = 1; in spimem_flash_ll_erase_chip() 84 dev->cmd.flash_se = 1; in spimem_flash_ll_erase_sector() 94 dev->cmd.flash_be = 1; in spimem_flash_ll_erase_block() 247 dev->cmd.flash_wrdi = 1; in spimem_flash_ll_set_write_protect() 249 dev->cmd.flash_wren = 1; in spimem_flash_ll_set_write_protect() 312 dev->cmd.flash_pp = 1; in spimem_flash_ll_program_page() 323 dev->cmd.usr = 1; in spimem_flash_ll_user_start() 335 return dev->cmd.mst_st == 0; in spimem_flash_ll_host_idle()
|
/hal_espressif-latest/components/hal/esp32s2/include/hal/ |
D | efuse_ll.h | 127 return EFUSE.cmd.read_cmd; in efuse_ll_get_read_cmd() 132 return EFUSE.cmd.pgm_cmd; in efuse_ll_get_pgm_cmd() 137 EFUSE.cmd.read_cmd = 1; in efuse_ll_set_read_cmd() 143 EFUSE.cmd.val = ((block << EFUSE_BLK_NUM_S) & EFUSE_BLK_NUM_M) | EFUSE_PGM_CMD; in efuse_ll_set_pgm_cmd()
|
D | spimem_flash_ll.h | 61 return (dev->cmd.val == 0); in spimem_flash_ll_cmd_is_done() 71 dev->cmd.flash_ce = 1; in spimem_flash_ll_erase_chip() 82 dev->cmd.flash_se = 1; in spimem_flash_ll_erase_sector() 92 dev->cmd.flash_be = 1; in spimem_flash_ll_erase_block() 241 dev->cmd.flash_wrdi = 1; in spimem_flash_ll_set_write_protect() 243 dev->cmd.flash_wren = 1; in spimem_flash_ll_set_write_protect() 306 dev->cmd.flash_pp = 1; in spimem_flash_ll_program_page() 317 dev->cmd.usr = 1; in spimem_flash_ll_user_start()
|
/hal_espressif-latest/components/hal/esp32c2/include/hal/ |
D | spimem_flash_ll.h | 61 return (dev->cmd.val == 0); in spimem_flash_ll_cmd_is_done() 71 dev->cmd.flash_ce = 1; in spimem_flash_ll_erase_chip() 82 dev->cmd.flash_se = 1; in spimem_flash_ll_erase_sector() 92 dev->cmd.flash_be = 1; in spimem_flash_ll_erase_block() 245 dev->cmd.flash_wrdi = 1; in spimem_flash_ll_set_write_protect() 247 dev->cmd.flash_wren = 1; in spimem_flash_ll_set_write_protect() 310 dev->cmd.flash_pp = 1; in spimem_flash_ll_program_page() 321 dev->cmd.usr = 1; in spimem_flash_ll_user_start()
|
/hal_espressif-latest/components/hal/esp32c3/include/hal/ |
D | spimem_flash_ll.h | 61 return (dev->cmd.val == 0); in spimem_flash_ll_cmd_is_done() 71 dev->cmd.flash_ce = 1; in spimem_flash_ll_erase_chip() 82 dev->cmd.flash_se = 1; in spimem_flash_ll_erase_sector() 92 dev->cmd.flash_be = 1; in spimem_flash_ll_erase_block() 245 dev->cmd.flash_wrdi = 1; in spimem_flash_ll_set_write_protect() 247 dev->cmd.flash_wren = 1; in spimem_flash_ll_set_write_protect() 310 dev->cmd.flash_pp = 1; in spimem_flash_ll_program_page() 321 dev->cmd.usr = 1; in spimem_flash_ll_user_start()
|
/hal_espressif-latest/components/bt/host/nimble/esp-hci/src/ |
D | esp_nimble_hci.c | 74 int ble_hci_trans_hs_cmd_tx(uint8_t *cmd) in ble_hci_trans_hs_cmd_tx() argument 79 assert(cmd != NULL); in ble_hci_trans_hs_cmd_tx() 80 *cmd = BLE_HCI_UART_H4_CMD; in ble_hci_trans_hs_cmd_tx() 81 len = BLE_HCI_CMD_HDR_LEN + cmd[3] + 1; in ble_hci_trans_hs_cmd_tx() 87 esp_vhci_host_send_packet_wrapper(cmd, len); in ble_hci_trans_hs_cmd_tx() 92 ble_transport_free(cmd); in ble_hci_trans_hs_cmd_tx()
|