Home
last modified time | relevance | path

Searched refs:cmd (Results 101 – 125 of 523) sorted by relevance

12345678910>>...21

/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_cas.c20 static uint8_t cas_supported_commands(const void *cmd, uint16_t cmd_len, in cas_supported_commands() argument
35 static uint8_t cas_set_member_lock(const void *cmd, uint16_t cmd_len, in cas_set_member_lock() argument
38 const struct btp_cas_set_member_lock_cmd *cp = cmd; in cas_set_member_lock()
48 static uint8_t cas_get_member_rsi(const void *cmd, uint16_t cmd_len, in cas_get_member_rsi() argument
Dbtp_cap.c171 static uint8_t btp_cap_supported_commands(const void *cmd, uint16_t cmd_len, in btp_cap_supported_commands() argument
185 static uint8_t btp_cap_discover(const void *cmd, uint16_t cmd_len, in btp_cap_discover() argument
188 const struct btp_cap_discover_cmd *cp = cmd; in btp_cap_discover()
252 static uint8_t btp_cap_unicast_setup_ase(const void *cmd, uint16_t cmd_len, in btp_cap_unicast_setup_ase() argument
255 const struct btp_cap_unicast_setup_ase_cmd *cp = cmd; in btp_cap_unicast_setup_ase()
303 static uint8_t btp_cap_unicast_audio_start(const void *cmd, uint16_t cmd_len, in btp_cap_unicast_audio_start() argument
308 const struct btp_cap_unicast_audio_start_cmd *cp = cmd; in btp_cap_unicast_audio_start()
361 static uint8_t btp_cap_unicast_audio_update(const void *cmd, uint16_t cmd_len, in btp_cap_unicast_audio_update() argument
366 const struct btp_cap_unicast_audio_update_cmd *cp = cmd; in btp_cap_unicast_audio_update()
428 static uint8_t btp_cap_unicast_audio_stop(const void *cmd, uint16_t cmd_len, in btp_cap_unicast_audio_stop() argument
[all …]
Dbtp_vcp.c66 static uint8_t vcs_supported_commands(const void *cmd, uint16_t cmd_len, in vcs_supported_commands() argument
84 static uint8_t set_volume(const void *cmd, uint16_t cmd_len, in set_volume() argument
87 const struct btp_vcs_set_vol_cmd *cp = cmd; in set_volume()
98 static uint8_t vol_up(const void *cmd, uint16_t cmd_len, in vol_up() argument
110 static uint8_t vol_down(const void *cmd, uint16_t cmd_len, in vol_down() argument
122 static uint8_t mute(const void *cmd, uint16_t cmd_len, in mute() argument
134 static uint8_t unmute(const void *cmd, uint16_t cmd_len, in unmute() argument
196 static uint8_t vocs_supported_commands(const void *cmd, uint16_t cmd_len, in vocs_supported_commands() argument
317 static uint8_t vocs_audio_desc(const void *cmd, uint16_t cmd_len, in vocs_audio_desc() argument
320 const struct btp_vocs_audio_desc_cmd *cp = cmd; in vocs_audio_desc()
[all …]
Dbtp_bap.c63 static uint8_t btp_ascs_supported_commands(const void *cmd, uint16_t cmd_len, in btp_ascs_supported_commands() argument
194 static uint8_t pacs_supported_commands(const void *cmd, uint16_t cmd_len, in pacs_supported_commands() argument
211 static uint8_t pacs_update_characteristic(const void *cmd, uint16_t cmd_len, in pacs_update_characteristic() argument
214 const struct btp_pacs_update_characteristic_cmd *cp = cmd; in pacs_update_characteristic()
253 static uint8_t pacs_set_location(const void *cmd, uint16_t cmd_len, in pacs_set_location() argument
256 const struct btp_pacs_set_location_cmd *cp = cmd; in pacs_set_location()
265 static uint8_t pacs_set_available_contexts(const void *cmd, uint16_t cmd_len, in pacs_set_available_contexts() argument
268 const struct btp_pacs_set_available_contexts_cmd *cp = cmd; in pacs_set_available_contexts()
282 static uint8_t pacs_set_supported_contexts(const void *cmd, uint16_t cmd_len, in pacs_set_supported_contexts() argument
285 const struct btp_pacs_set_supported_contexts_cmd *cp = cmd; in pacs_set_supported_contexts()
[all …]
/Zephyr-latest/include/zephyr/arch/arc/v2/
Darc_connect.h123 uint32_t pad:8, param:16, cmd:8; member
125 uint32_t cmd:8, param:16, pad:8;
166 static inline void z_arc_connect_cmd(uint32_t cmd, uint32_t param) in z_arc_connect_cmd() argument
171 regval.cmd = cmd; in z_arc_connect_cmd()
177 static inline void z_arc_connect_cmd_data(uint32_t cmd, uint32_t param, in z_arc_connect_cmd_data() argument
181 z_arc_connect_cmd(cmd, param); in z_arc_connect_cmd_data()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmcc.c385 static void mcc_send_cmd_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_cmd_cb() argument
389 err, cmd->opcode, cmd->param); in mcc_send_cmd_cb()
393 bt_shell_print("Command opcode: %d, param: %d", cmd->opcode, cmd->param); in mcc_send_cmd_cb()
1075 const struct mpl_cmd cmd = { in cmd_mcc_play() local
1082 err = bt_mcc_send_cmd(default_conn, &cmd); in cmd_mcc_play()
1092 const struct mpl_cmd cmd = { in cmd_mcc_pause() local
1099 err = bt_mcc_send_cmd(default_conn, &cmd); in cmd_mcc_pause()
1110 const struct mpl_cmd cmd = { in cmd_mcc_fast_rewind() local
1117 err = bt_mcc_send_cmd(default_conn, &cmd); in cmd_mcc_fast_rewind()
1128 const struct mpl_cmd cmd = { in cmd_mcc_fast_forward() local
[all …]
/Zephyr-latest/drivers/sdhc/
Dsdhc_cdns_ll.c590 static int sdhc_cdns_send_cmd(struct sdmmc_cmd *cmd, struct sdhc_data *data) in sdhc_cdns_send_cmd() argument
599 __ASSERT(cmd, "Assert %s function call", __func__); in sdhc_cdns_send_cmd()
601 cmd_indx = (cmd->cmd_idx) << CDNS_SRS03_COM_IDX; in sdhc_cdns_send_cmd()
604 switch (cmd->cmd_idx) { in sdhc_cdns_send_cmd()
642 switch (cmd->cmd_idx) { in sdhc_cdns_send_cmd()
676 switch (cmd->resp_type) { in sdhc_cdns_send_cmd()
694 if ((cmd->cmd_idx == SD_WRITE_SINGLE_BLOCK) || (cmd->cmd_idx in sdhc_cdns_send_cmd()
718 sys_write32(cmd->cmd_arg, cdns_params.reg_base + SDHC_CDNS_SRS02); in sdhc_cdns_send_cmd()
739 cmd->resp_data[0] = sys_read32(cdns_params.reg_base + SDHC_CDNS_SRS04); in sdhc_cdns_send_cmd()
741 cmd->resp_data[1] = sys_read32(cdns_params.reg_base + SDHC_CDNS_SRS05); in sdhc_cdns_send_cmd()
[all …]
Dsdhc_cdns.c56 struct sdhc_command *cmd, in sdhc_cdns_request() argument
62 if (cmd == NULL) { in sdhc_cdns_request()
68 cdns_sdmmc_cmd.cmd_idx = cmd->opcode; in sdhc_cdns_request()
69 cdns_sdmmc_cmd.cmd_arg = cmd->arg; in sdhc_cdns_request()
70 cdns_sdmmc_cmd.resp_type = (cmd->response_type & SDHC_NATIVE_RESPONSE_MASK); in sdhc_cdns_request()
85 if (cmd->opcode == SD_READ_SINGLE_BLOCK || cmd->opcode == SD_APP_SEND_SCR || in sdhc_cdns_request()
86 cmd->opcode == SD_READ_MULTIPLE_BLOCK) { in sdhc_cdns_request()
101 cmd->response[i] = cdns_sdmmc_cmd.resp_data[i]; in sdhc_cdns_request()
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/
Dboard.cmake3 board_runner_args(openocd --cmd-load "npcx_write_image")
4 board_runner_args(openocd --cmd-verify "npcx_verify_image")
/Zephyr-latest/boards/nuvoton/npcx9m6f_evb/
Dboard.cmake3 board_runner_args(openocd --cmd-load "npcx_write_image")
4 board_runner_args(openocd --cmd-verify "npcx_verify_image")
/Zephyr-latest/boards/nuvoton/npcx7m6fb_evb/
Dboard.cmake3 board_runner_args(openocd --cmd-load "npcx_write_image")
4 board_runner_args(openocd --cmd-verify "npcx_verify_image")
/Zephyr-latest/subsys/tracing/
Dtracing_backend_usb.c89 uint8_t *cmd = NULL; in tracing_ep_out_cb() local
95 length = tracing_cmd_buffer_alloc(&cmd); in tracing_ep_out_cb()
96 if (cmd) { in tracing_ep_out_cb()
98 usb_read(ep, cmd, length, NULL); in tracing_ep_out_cb()
99 tracing_cmd_handle(cmd, length); in tracing_ep_out_cb()
/Zephyr-latest/tests/subsys/ipc/ipc_sessions/src/
Dmain.c169 zassert_equal(cmd_rsp->cmd, IPC_TEST_CMD_PONG, in execute_test_ping_pong()
170 "Unexpected response cmd value: %u, expected: %u", cmd_rsp->cmd, in execute_test_ping_pong()
201 zassert_equal(cmd_rsp->cmd, IPC_TEST_CMD_ECHO_RSP, in ZTEST()
202 "Unexpected response cmd value: %u, expected: %u", cmd_rsp->cmd, in ZTEST()
309 .base = { .cmd = IPC_TEST_CMD_RXSTART }, in ZTEST()
314 struct test_cmd_xdata cmd_txdata = { .base = { .cmd = IPC_TEST_CMD_XDATA } }; in ZTEST()
336 zassert_equal(cmd_rxstat->base.cmd, IPC_TEST_CMD_XSTAT, in ZTEST()
337 "Unexpected command in response: %u", cmd_rxstat->base.cmd); in ZTEST()
368 zassert_equal(cmd_rxstat->base.cmd, IPC_TEST_CMD_XSTAT, in ZTEST()
369 "Unexpected command in response: %u", cmd_rxstat->base.cmd); in ZTEST()
[all …]
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c83 struct ieee802154_command *cmd = mpdu->command; in test_beacon_request() local
86 zassert_equal(cmd->cfi, IEEE802154_CFI_BEACON_REQUEST, "Not a beacon request."); in test_beacon_request()
97 struct ieee802154_command *cmd = mpdu->command; in test_association_request() local
107 zassert_equal(cmd->cfi, IEEE802154_CFI_ASSOCIATION_REQUEST, in test_association_request()
109 zassert_equal(cmd->assoc_req.ci.alloc_addr, true, in test_association_request()
111 zassert_equal(cmd->assoc_req.ci.association_type, false, in test_association_request()
117 struct ieee802154_command *cmd = mpdu->command; in test_disassociation_notification() local
127 zassert_equal(cmd->cfi, IEEE802154_CFI_DISASSOCIATION_NOTIFICATION, in test_disassociation_notification()
130 cmd->disassoc_note.reason, IEEE802154_DRF_DEVICE_WISH, in test_disassociation_notification()
280 struct ieee802154_command *cmd; in ZTEST() local
[all …]
/Zephyr-latest/boards/common/
Dopenocd-adi-max32.boards.cmake35 board_runner_args(openocd --cmd-pre-init "source [find interface/${MAX32_INTERFACE_CFG}]")
36 board_runner_args(openocd --cmd-pre-init "source [find target/${MAX32_TARGET_CFG}]")
40 board_runner_args(openocd --cmd-pre-init "allow_low_pwr_dbg")
41 board_runner_args(openocd "--cmd-erase=max32xxx mass_erase 0")
/Zephyr-latest/samples/drivers/smbus/
DREADME.rst54 Usage: byte_data_read <device> <addr> <cmd>
56 Usage: byte_data_write <device> <addr> <cmd> <value>
58 Usage: word_data_read <device> <addr> <cmd>
60 Usage: word_data_write <device> <addr> <cmd> <value>
62 Usage: block_write <device> <addr> <cmd> [<byte1>, ...]
64 Usage: block_read <device> <addr> <cmd>
/Zephyr-latest/boards/pimoroni/pico_plus2/
Dboard.cmake3 board_runner_args(openocd --cmd-pre-init "source [find interface/cmsis-dap.cfg]")
4 board_runner_args(openocd --cmd-pre-init "source [find target/rp2350.cfg]")
9 board_runner_args(openocd --cmd-pre-init "set_adapter_speed_if_not_set 5000")
/Zephyr-latest/drivers/flash/
Dflash_stm32_xspi.c71 static int xspi_send_cmd(const struct device *dev, XSPI_RegularCmdTypeDef *cmd) in xspi_send_cmd() argument
76 LOG_DBG("Instruction 0x%x", cmd->Instruction); in xspi_send_cmd()
80 hal_ret = HAL_XSPI_Command(&dev_data->hxspi, cmd, HAL_XSPI_TIMEOUT_DEFAULT_VALUE); in xspi_send_cmd()
90 static int xspi_read_access(const struct device *dev, XSPI_RegularCmdTypeDef *cmd, in xspi_read_access() argument
96 LOG_DBG("Instruction 0x%x", cmd->Instruction); in xspi_read_access()
98 cmd->DataLength = size; in xspi_read_access()
102 hal_ret = HAL_XSPI_Command(&dev_data->hxspi, cmd, HAL_XSPI_TIMEOUT_DEFAULT_VALUE); in xspi_read_access()
124 static int xspi_write_access(const struct device *dev, XSPI_RegularCmdTypeDef *cmd, in xspi_write_access() argument
131 LOG_DBG("Instruction 0x%x", cmd->Instruction); in xspi_write_access()
133 cmd->DataLength = size; in xspi_write_access()
[all …]
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_bus_spi.c105 static int eswifi_spi_request(struct eswifi_dev *eswifi, char *cmd, size_t clen, in eswifi_spi_request() argument
113 LOG_DBG("cmd=%p (%u byte), rsp=%p (%u byte)", cmd, clen, rsp, rlen); in eswifi_spi_request()
135 if (!cmd) { in eswifi_spi_request()
148 cmd[clen] = 0x0a; in eswifi_spi_request()
152 eswifi_spi_write(eswifi, cmd, clen); in eswifi_spi_request()
191 char cmd[] = "MR\r"; in eswifi_spi_read_msg() local
200 ret = eswifi_at_cmd_rsp(eswifi, cmd, &rsp); in eswifi_spi_read_msg()
/Zephyr-latest/scripts/support/
Dquartus-flash.py93 cmd = ["quartus_cpf", "-c", temp_xml.name]
95 subprocess.check_output(cmd)
112 cmd = ["quartus_pgm", "-c", device_id, temp_cdf.name]
114 subprocess.check_output(cmd)
/Zephyr-latest/boards/raspberrypi/rpi_pico2/
Dboard.cmake7 board_runner_args(openocd --cmd-pre-init "source [find interface/${RPI_PICO_DEBUG_ADAPTER}.cfg]")
8 board_runner_args(openocd --cmd-pre-init "source [find target/rp2350.cfg]")
13 board_runner_args(openocd --cmd-pre-init "set_adapter_speed_if_not_set 5000")
/Zephyr-latest/boards/wiznet/w5500_evb_pico2/
Dboard.cmake7 board_runner_args(openocd --cmd-pre-init "source [find interface/${RPI_PICO_DEBUG_ADAPTER}.cfg]")
8 board_runner_args(openocd --cmd-pre-init "source [find target/rp2350.cfg]")
13 board_runner_args(openocd --cmd-pre-init "set_adapter_speed_if_not_set 5000")
/Zephyr-latest/scripts/west_commands/runners/
Dnsim.py76 cmd = (self.nsim_cmd + ['-propsfile', config, self.cfg.elf_file])
77 self.check_call(cmd)
98 cmd = (self.nsim_cmd +
102 self.check_call(cmd)
/Zephyr-latest/lib/posix/options/
Dmmap.c20 int zvfs_ioctl(int fd, int cmd, va_list args);
37 static inline int zvfs_ioctl_wrap(int fd, int cmd, ...) in zvfs_ioctl_wrap() argument
42 va_start(args, cmd); in zvfs_ioctl_wrap()
43 ret = zvfs_ioctl(fd, cmd, args); in zvfs_ioctl_wrap()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hci/
Dhci_vendor.h26 inline int hci_vendor_cmd_handle(uint16_t ocf, struct net_buf *cmd, in hci_vendor_cmd_handle() argument
29 return hci_vendor_cmd_handle_common(ocf, cmd, evt); in hci_vendor_cmd_handle()

12345678910>>...21