/Zephyr-latest/drivers/modem/ |
D | modem_cmd_handler.c | 241 for (j = 0; j < ARRAY_SIZE(data->cmds); j++) { in find_cmd_match() 242 if (!data->cmds[j] || data->cmds_len[j] == 0U) { in find_cmd_match() 248 if (strlen(data->cmds[j][i].cmd) == 0 || in find_cmd_match() 249 strncmp(data->match_buf, data->cmds[j][i].cmd, in find_cmd_match() 250 data->cmds[j][i].cmd_len) == 0) { in find_cmd_match() 251 return &data->cmds[j][i]; in find_cmd_match() 264 for (j = 0; j < ARRAY_SIZE(data->cmds); j++) { in find_cmd_direct_match() 265 if (!data->cmds[j] || data->cmds_len[j] == 0U) { in find_cmd_direct_match() 271 if (data->cmds[j][i].direct && in find_cmd_direct_match() 272 (data->cmds[j][i].cmd[0] == '\0' || in find_cmd_direct_match() [all …]
|
D | modem_cmd_handler.h | 100 const struct modem_cmd *cmds[CMD_MAX]; member 247 const struct setup_cmd *cmds, size_t cmds_len, 264 const struct setup_cmd *cmds,
|
D | simcom-sim7080.c | 1157 struct modem_cmd cmds[] = { MODEM_CMD("+CREG: ", on_cmd_cereg, 2U, ",") }; in modem_pdp_activate() local 1160 struct modem_cmd cmds[] = { MODEM_CMD("+CEREG: ", on_cmd_cereg, 2U, ",") }; in modem_pdp_activate() local 1196 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buf, in modem_pdp_activate() 1550 struct modem_cmd cmds[] = { MODEM_CMD("+CGNSINF: ", on_cmd_cgnsinf, 0U, NULL) }; in mdm_sim7080_query_gnss() local 1557 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CGNSINF", in mdm_sim7080_query_gnss() 1645 struct modem_cmd cmds[] = { MODEM_CMD("+FTPGET: 2,", on_cmd_ftpget, 1U, "") }; in mdm_sim7080_ftp_get_read() local 1675 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buffer, in mdm_sim7080_ftp_get_read() 2158 struct modem_cmd cmds[] = { MODEM_CMD("+CMGL: ", on_cmd_cmgl, 4U, ",\r") }; in mdm_sim7080_read_sms() local 2163 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), "AT+CMGL=4", in mdm_sim7080_read_sms()
|
D | ublox-sara-r4.c | 1034 static const struct modem_cmd cmds[] = { in modem_rssi_query_work() local 1051 cmds, ARRAY_SIZE(cmds), in modem_rssi_query_work()
|
/Zephyr-latest/scripts/west_commands/ |
D | sdk.py | 369 cmds = [str(setup)] 373 cmds.extend([f"{optsep}t", "all"]) 376 cmds.extend([f"{optsep}t", tc]) 379 cmds.extend([f"{optsep}h"]) 381 if args.interactive or len(cmds) != 1: 382 self.dbg("Run: ", cmds) 383 result = subprocess.run(cmds) 471 cmds = [ 476 output = zcmake.run_cmake(cmds, capture_output=True)
|
/Zephyr-latest/include/zephyr/drivers/ |
D | mipi_dbi.h | 158 const struct mipi_dbi_config *config, uint8_t *cmds, 226 uint8_t *cmds, size_t num_cmd, in mipi_dbi_command_read() argument 235 return api->command_read(dev, config, cmds, num_cmd, response, len); in mipi_dbi_command_read()
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_spi.c | 333 uint8_t *cmds, size_t num_cmds, in mipi_dbi_spi_read_helper_3wire() argument 366 data->spi_byte = cmds[i]; in mipi_dbi_spi_read_helper_3wire() 386 uint8_t *cmds, size_t num_cmds, in mipi_dbi_spi_read_helper_4wire() argument 410 buffer.buf = cmds; in mipi_dbi_spi_read_helper_4wire() 442 uint8_t *cmds, size_t num_cmds, in mipi_dbi_spi_command_read() argument 455 cmds, num_cmds, in mipi_dbi_spi_command_read() 462 cmds, num_cmds, in mipi_dbi_spi_command_read()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_raw.h | 116 void bt_hci_raw_cmd_ext_register(struct bt_hci_raw_cmd_ext *cmds, size_t size);
|
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/uart/src/ |
D | main.c | 173 struct ec_host_cmd_request_header cmds[] = { in ZTEST() local 183 for (int i = 0; i < ARRAY_SIZE(cmds); i++) { in ZTEST() 185 cmd->prtcl_ver = cmds[i].prtcl_ver; in ZTEST() 186 cmd->data_len = cmds[i].data_len; in ZTEST()
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_cdns.c | 548 struct cdns_i3c_cmd cmds[I3C_MAX_MSGS]; member 1264 if (xfer->cmds[i].hdr == I3C_DATA_RATE_SDR) { in cdns_i3c_start_transfer() 1265 if (!(xfer->cmds[i].cmd0 & CMD0_FIFO_RNW)) { in cdns_i3c_start_transfer() 1266 cdns_i3c_write_tx_fifo(config, xfer->cmds[i].buf, in cdns_i3c_start_transfer() 1267 xfer->cmds[i].len); in cdns_i3c_start_transfer() 1269 } else if (xfer->cmds[i].hdr == I3C_DATA_RATE_HDR_DDR) { in cdns_i3c_start_transfer() 1271 cdns_i3c_write_tx_fifo(config, &xfer->cmds[i].ddr_header, in cdns_i3c_start_transfer() 1274 if (!(DDR_DATA(xfer->cmds[i].ddr_header) & HDR_CMD_RD)) { in cdns_i3c_start_transfer() 1275 uint8_t *buf = (uint8_t *)xfer->cmds[i].buf; in cdns_i3c_start_transfer() 1283 for (int j = 2; j < ((xfer->cmds[i].len - 2) * 2); j += 2) { in cdns_i3c_start_transfer() [all …]
|
/Zephyr-latest/drivers/sensor/tdk/icp10125/ |
D | icp10125.c | 191 static int icp10125_measure(const struct i2c_dt_spec *i2c, const struct icp10125_cmd *cmds, in icp10125_measure() argument 197 rc = i2c_write_dt(i2c, (uint8_t *)&cmds[mode], sizeof(cmds[mode])); in icp10125_measure()
|
/Zephyr-latest/drivers/wifi/esp_at/ |
D | esp_offload.c | 270 static const struct modem_cmd cmds[] = { in _sock_send() local 306 cmds, ARRAY_SIZE(cmds), cmd_buf, in _sock_send() 608 static const struct modem_cmd cmds[] = { in esp_recvdata_work() local 620 ret = esp_cmd_send(data, cmds, ARRAY_SIZE(cmds), cmd, ESP_CMD_TIMEOUT); in esp_recvdata_work()
|
D | esp.c | 651 static const struct modem_cmd cmds[] = { in esp_ip_addr_work() local 658 ret = esp_cmd_send(dev, cmds, ARRAY_SIZE(cmds), "AT+"_CIPSTA"?", in esp_ip_addr_work() 1022 static const struct modem_cmd cmds[] = { in esp_mgmt_iface_status_work() local 1026 ret = esp_cmd_send(data, cmds, ARRAY_SIZE(cmds), "AT+CWJAP?", in esp_mgmt_iface_status_work() 1069 static const struct modem_cmd cmds[] = { in esp_mgmt_scan_work() local 1080 cmds, ARRAY_SIZE(cmds), in esp_mgmt_scan_work() 1133 static const struct modem_cmd cmds[] = { in esp_mgmt_connect_work() local 1144 ret = esp_cmd_send(dev, cmds, ARRAY_SIZE(cmds), dev->conn_cmd, in esp_mgmt_connect_work()
|
/Zephyr-latest/scripts/west_commands/tests/ |
D | test_nrf.py | 525 cmds = (['nrfutil', '--json', 'device', 'x-execute-batch', '--batch-path', 529 cmds = expected 532 if callable(cmds): 534 [call(x) for x in cmds(tmpdir, runner_config.hex_file)]) 536 assert call_args == [call(x) for x in cmds]
|
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/ |
D | main.c | 181 static const struct cmd_handler cmds[] = { variable 230 zassert_true(cmd_handle(dev, buf, cmds, ARRAY_SIZE(cmds)) == 0, in driver_send()
|
/Zephyr-latest/scripts/west_commands/completion/ |
D | west-completion.bash | 429 __set_comp ${cmds[*]} 645 __set_comp ${cmds[*]} 1235 local cmds=(${builtin_cmds[*]} ${zephyr_ext_cmds[*]})
|
D | west-completion.zsh | 76 "1: :->cmds" \ 80 cmds) 329 "1: :->cmds" \ 333 cmds) 334 _values "west blob cmds" $blob_cmds
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_raw.c | 348 void bt_hci_raw_cmd_ext_register(struct bt_hci_raw_cmd_ext *cmds, size_t size) in bt_hci_raw_cmd_ext_register() argument 351 cmd_ext = cmds; in bt_hci_raw_cmd_ext_register()
|
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 210 static const struct cmd_handler cmds[] = { variable 245 zassert_true(cmd_handle(dev, buf, cmds, ARRAY_SIZE(cmds)) == 0, "Unknown HCI command"); in driver_send()
|
/Zephyr-latest/doc/develop/west/ |
D | index.rst | 44 zephyr-cmds.rst
|
D | basics.rst | 191 See :ref:`west-built-in-cmds`. 202 - :ref:`west-zephyr-ext-cmds`
|
D | zephyr-cmds.rst | 1 .. _west-zephyr-ext-cmds:
|
D | extensions.rst | 15 :ref:`ones described here <west-zephyr-ext-cmds>` , are extensions. That's why
|
D | built-in.rst | 1 .. _west-built-in-cmds:
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | bmi160.c | 194 } cmds[] = { in bmi160_pmu_set() local 201 for (i = 0; i < ARRAY_SIZE(cmds); i++) { in bmi160_pmu_set() 205 if (bmi160_byte_write(dev, BMI160_REG_CMD, cmds[i].cmd) < 0) { in bmi160_pmu_set() 213 k_busy_wait(cmds[i].delay_us); in bmi160_pmu_set()
|