/Zephyr-Core-3.7.0/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-Core-3.7.0/include/zephyr/drivers/ |
D | mipi_dbi.h | 134 const struct mipi_dbi_config *config, uint8_t *cmds, 199 uint8_t *cmds, size_t num_cmd, in mipi_dbi_command_read() argument 208 return api->command_read(dev, config, cmds, num_cmd, response, len); in mipi_dbi_command_read()
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/drivers/i3c/ |
D | i3c_cdns.c | 544 struct cdns_i3c_cmd cmds[I3C_MAX_MSGS]; member 1247 if (xfer->cmds[i].hdr == I3C_DATA_RATE_SDR) { in cdns_i3c_start_transfer() 1248 if (!(xfer->cmds[i].cmd0 & CMD0_FIFO_RNW)) { in cdns_i3c_start_transfer() 1249 cdns_i3c_write_tx_fifo(config, xfer->cmds[i].buf, in cdns_i3c_start_transfer() 1250 xfer->cmds[i].len); in cdns_i3c_start_transfer() 1252 } else if (xfer->cmds[i].hdr == I3C_DATA_RATE_HDR_DDR) { in cdns_i3c_start_transfer() 1254 cdns_i3c_write_tx_fifo(config, &xfer->cmds[i].ddr_header, in cdns_i3c_start_transfer() 1257 if (!(DDR_DATA(xfer->cmds[i].ddr_header) & HDR_CMD_RD)) { in cdns_i3c_start_transfer() 1258 uint8_t *buf = (uint8_t *)xfer->cmds[i].buf; in cdns_i3c_start_transfer() 1266 for (int j = 2; j < ((xfer->cmds[i].len - 2) * 2); j += 2) { in cdns_i3c_start_transfer() [all …]
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/drivers/wifi/esp_at/ |
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() 1014 static const struct modem_cmd cmds[] = { in esp_mgmt_iface_status_work() local 1018 ret = esp_cmd_send(data, cmds, ARRAY_SIZE(cmds), "AT+CWJAP?", in esp_mgmt_iface_status_work() 1061 static const struct modem_cmd cmds[] = { in esp_mgmt_scan_work() local 1072 cmds, ARRAY_SIZE(cmds), in esp_mgmt_scan_work() 1125 static const struct modem_cmd cmds[] = { in esp_mgmt_connect_work() local 1136 ret = esp_cmd_send(dev, cmds, ARRAY_SIZE(cmds), dev->conn_cmd, in esp_mgmt_connect_work()
|
D | esp_offload.c | 241 static const struct modem_cmd cmds[] = { in _sock_send() local 277 cmds, ARRAY_SIZE(cmds), cmd_buf, in _sock_send() 579 static const struct modem_cmd cmds[] = { in esp_recvdata_work() local 591 ret = esp_cmd_send(data, cmds, ARRAY_SIZE(cmds), cmd, ESP_CMD_TIMEOUT); in esp_recvdata_work()
|
/Zephyr-Core-3.7.0/drivers/mipi_dbi/ |
D | mipi_dbi_spi.c | 161 uint8_t *cmds, size_t num_cmds, in mipi_dbi_spi_command_read() argument 192 data->spi_byte = cmds[i]; in mipi_dbi_spi_command_read() 212 buffer.buf = cmds; in mipi_dbi_spi_command_read()
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/scripts/west_commands/completion/ |
D | west-completion.bash | 429 __set_comp ${cmds[*]} 645 __set_comp ${cmds[*]} 1181 local cmds=(${builtin_cmds[*]} ${zephyr_ext_cmds[*]})
|
D | west-completion.zsh | 75 "1: :->cmds" \ 79 cmds) 328 "1: :->cmds" \ 332 cmds) 333 _values "west blob cmds" $blob_cmds
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/ |
D | hci_raw.c | 362 void bt_hci_raw_cmd_ext_register(struct bt_hci_raw_cmd_ext *cmds, size_t size) argument 365 cmd_ext = cmds;
|
D | hci_core.c | 3825 struct bt_hci_rp_vs_read_supported_commands *cmds; in hci_vs_init() member 3886 rp.cmds = (void *)rsp->data; in hci_vs_init() 3887 memcpy(bt_dev.vs_commands, rp.cmds->commands, BT_DEV_VS_CMDS_MAX); in hci_vs_init()
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/doc/develop/west/ |
D | index.rst | 43 zephyr-cmds.rst
|
D | basics.rst | 190 See :ref:`west-built-in-cmds`. 201 - :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-Core-3.7.0/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()
|