Home
last modified time | relevance | path

Searched full:cmd (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/hal_espressif-latest/components/driver/spi/sdspi/
Dsdspi_transaction.c44 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 …]
Dsdspi_host.c68 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
455 // save some parts of cmd, as its contents will be overwritten in sdspi_host_start_command()
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()
460 …ESP_LOGV(TAG, "%s: slot=%i, CMD%d, arg=0x%08"PRIx32" flags=0x%x, data=%p, data_size=%"PRIu32" crc=… in sdspi_host_start_command()
461 __func__, handle, cmd_index, cmd_arg, flags, data, data_size, cmd->crc7); in sdspi_host_start_command()
[all …]
/hal_espressif-latest/components/spi_flash/esp32s3/
Dopi_flash_cmd_format_mxic.h17 .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/tools/esptool_py/test/efuse_scripts/
Defuse_burn1.py13 for cmd in config["burn_efuses1"]:
14 cmd = cmd.format(index=args.index) variable
15 print(cmd)
16 espefuse(esp, efuses, args, cmd)
Defuse_burn2.py13 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/bt/host/bluedroid/stack/smp/
Dsmp_l2c.c160 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()
192 SMP_TRACE_DEBUG ("in %s cmd = 0x%02x, peer_auth_req = 0x%02x," 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()
[all …]
/hal_espressif-latest/tools/esptool_py/espefuse/
D__init__.py128 where each item is a cmd with all its args.
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
[all …]
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dserial_handler.py144 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 …]
Dgdbhelper.py44 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)
Doutput_helpers.py62 # cmd = ['%saddr2line' % toolchain_prefix, '-pfiaC', '-e', elf_file, pc_addr]
75 cmd = [toolchain_path, '-pfiaC', '-e', elf_file, pc_addr]
78 translation = subprocess.check_output(cmd, cwd='.')
82 red_print('%s: %s' % (' '.join(cmd), e))
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dexecute-scripts-cmd.rst1 .. _execute-scripts-cmd:
94 cmd = 'burn_custom_mac {}'.format(mac_val)
95 print(cmd)
96 espefuse(esp, efuses, args, cmd)
99 cmd = 'burn_efuse UNIQUE_ID {}'.format(unique_id_val)
100 print(cmd)
101 espefuse(esp, efuses, args, cmd)
117 cmd = 'burn_custom_mac mac'
118 print(cmd)
119 espefuse(esp, efuses, args, cmd)
Dindex.rst32 dump <dump-cmd>
33 summary <summary-cmd>
34 burn_efuse <burn-efuse-cmd>
35 burn_block_data <burn-block-data-cmd>
36 burn_bit <burn-bit-cmd>
37 read_protect_efuse and write_protect_efuse <read-write-protections-cmd>
38 burn_key <burn-key-cmd>
39 burn_key_digest <burn-key-digest-cmd>
40 burn_custom_mac <burn-custom-mac-cmd>
41 get_custom_mac <get-custom-mac-cmd>
[all …]
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/
Drom_functions.h223 .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/components/esp_hw_support/
Dsleep_modem.c180 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/wpa_supplicant/src/ap/
Deap_user_db.c140 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/west/
Dtools.py37 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)
184cmd = [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/bt/porting/include/
Dble_hci_trans.h50 typedef int ble_hci_trans_rx_cmd_fn(uint8_t *cmd, void *arg);
60 int(*_ble_hci_trans_hs_cmd_tx)(uint8_t *cmd);
72 * @param cmd The HCI event to send. This buffer must be
95 * @param cmd The HCI command to send. This buffer must be
101 extern int r_ble_hci_trans_hs_cmd_tx(uint8_t *cmd);
204 * @param cmd The HCI event to send. This buffer must be
225 * @param cmd The HCI command to send. This buffer must be
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/
Dstub_commands.c250 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/porting/transport/driver/vhci/
Dhci_driver_standard.c57 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/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_control.c42 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()
98 APPL_TRACE_WARNING("un-acked a2dp cmd: %u", btc_aa_ctrl_cb.a2dp_cmd_pending); in btc_a2dp_control_media_ctrl()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_5_gap.c405 BTM_TRACE_ERROR("LE EA SetParams: cmd err=0x%x", err); in BTM_BleSetExtendedAdvParams()
416 BTM_TRACE_ERROR("LE EA SetParams: cmd err=0x%x", err); in BTM_BleSetExtendedAdvParams()
460 BTM_TRACE_ERROR("LE EA SetAdvData: cmd err=0x%x", err); in BTM_BleConfigExtendedAdvDataRaw()
466 BTM_TRACE_ERROR("LE EA SetScanRspData: cmd err=0x%x", err); in BTM_BleConfigExtendedAdvDataRaw()
526 BTM_TRACE_ERROR("LE EA En=%d: cmd err=0x%x", enable, err); in BTM_BleStartExtAdv()
537 BTM_TRACE_ERROR("LE EA En=%d: cmd err=0x%x", enable, err); in BTM_BleStartExtAdv()
635 BTM_TRACE_ERROR("LE EAS Rm: cmd err=0x%x", err); in BTM_BleExtAdvSetRemove()
663 BTM_TRACE_ERROR("LE EAS Clr: cmd err=0x%x", err); in BTM_BleExtAdvSetClear()
707 BTM_TRACE_ERROR("LE PA SetParams: cmd err=0x%x", err); in BTM_BlePeriodicAdvSetParams()
760 BTM_TRACE_ERROR("LE PA SetData: cmd err=0x%x", err); in BTM_BlePeriodicAdvCfgDataRaw()
[all …]
/hal_espressif-latest/components/bt/host/nimble/esp-hci/src/
Desp_nimble_hci.c74 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()
/hal_espressif-latest/tools/esptool_py/test/
Dtest_espefuse.py136 def espefuse_not_virt_py(self, cmd, check_msg=None, ret_code=0): argument
137 full_cmd = " ".join((f"{sys.executable} -m espefuse", cmd))
140 def espefuse_py(self, cmd, do_not_confirm=True, check_msg=None, ret_code=0): argument
142 [self.base_cmd, "--do-not-confirm" if do_not_confirm else "", cmd]
151 def _run_command(self, cmd, check_msg, ret_code): argument
154 cmd.split(),
166 print(cmd)
250 cmd = "read_protect_efuse \
258 cmd = "read_protect_efuse \
271 cmd = "read_protect_efuse \
[all …]
/hal_espressif-latest/components/esp_psram/esp32/
Desp_psram_impl_quad.c215 uint16_t cmd; /*!< Command value */ member
277 //start sending cmd/addr and optionally, receiving data
340 // Load command,bit15-0 is cmd value. in psram_cmd_config()
341 …SET_PERI_REG_BITS(SPI_USER2_REG(spi_num), SPI_USR_COMMAND_VALUE, pInData->cmd, SPI_USR_COMMAND_VAL… in psram_cmd_config()
423 ps_cmd.cmd = 0; in psram_disable_qio_mode()
444 ps_cmd.cmd = PSRAM_DEVICE_ID; in psram_read_id()
454 ps_cmd.cmd = 0; in psram_read_id()
492 ps_cmd.cmd = 0; in psram_enable_qio_mode()
513 ps_cmd.cmd = 0; in spi_user_psram_write()
539 ps_cmd.cmd = 0; in spi_user_psram_read()
[all …]
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Defuse_ll.h127 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()

12345678910>>...12