Home
last modified time | relevance | path

Searched refs:opcode (Results 51 – 75 of 210) sorted by relevance

123456789

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmcc_test.c355 err, cmd->opcode, cmd->param); in mcc_send_command_cb()
716 cmd.opcode = 0; /* Invalid opcode */ in test_invalid_send_cmd()
720 FAIL("bt_mcc_send_cmd did not fail with invalid opcode %u", cmd.opcode); in test_invalid_send_cmd()
724 cmd.opcode = 0x80; /* Invalid opcode */ in test_invalid_send_cmd()
728 FAIL("bt_mcc_send_cmd did not fail with invalid opcode %u", cmd.opcode); in test_invalid_send_cmd()
752 err, cmd->opcode); in test_send_cmd_wait_flags()
764 cmd.opcode = BT_MCS_OPC_PLAY; in test_cp_play()
783 cmd.opcode = BT_MCS_OPC_PAUSE; in test_cp_pause()
803 cmd.opcode = BT_MCS_OPC_FAST_REWIND; in test_cp_fast_rewind()
832 cmd.opcode = BT_MCS_OPC_FAST_FORWARD; in test_cp_fast_forward()
[all …]
/Zephyr-latest/drivers/sdhc/
Dsdhc_renesas_ra.c146 fsp_err = sdhi_command_send_wait(&priv->sdmmc_ctrl, ra_cmd->opcode, ra_cmd->arg, in sdhc_ra_send_cmd()
171 .opcode = cmd->opcode, in sdhc_ra_request()
201 switch (cmd->opcode) { in sdhc_ra_request()
283 ra_cmd.opcode |= SDHI_PRV_CMD_C_ACMD; in sdhc_ra_request()
303 if (priv->app_cmd && cmd->opcode == SD_APP_SET_BUS_WIDTH) { in sdhc_ra_request()
305 ra_cmd.opcode |= SDHI_PRV_CMD_C_ACMD; in sdhc_ra_request()
312 fsp_err = r_sdhi_read_and_block(&priv->sdmmc_ctrl, ra_cmd.opcode, in sdhc_ra_request()
326 ra_cmd.opcode = cmd->opcode | SDHI_PRV_CMD_C_ACMD; in sdhc_ra_request()
327 fsp_err = r_sdhi_read_and_block(&priv->sdmmc_ctrl, ra_cmd.opcode, ra_cmd.arg, in sdhc_ra_request()
348 ra_cmd.opcode, ra_cmd.arg); in sdhc_ra_request()
[all …]
/Zephyr-latest/drivers/flash/
Dspi_flash_at45.c113 const uint8_t opcode = CMD_READ_ID; in check_jedec_id() local
116 .buf = (void *)&opcode, in check_jedec_id()
117 .len = sizeof(opcode), in check_jedec_id()
122 .len = sizeof(opcode), in check_jedec_id()
160 const uint8_t opcode = CMD_READ_STATUS; in read_status_register() local
163 .buf = (void *)&opcode, in read_status_register()
164 .len = sizeof(opcode), in read_status_register()
169 .len = sizeof(opcode), in read_status_register()
406 static int perform_erase_op(const struct device *dev, uint8_t opcode, in perform_erase_op() argument
412 opcode, in perform_erase_op()
[all …]
Dflash_cadence_qspi_nor_ll.c59 int cad_qspi_set_read_config(struct cad_qspi_params *cad_params, uint32_t opcode, in cad_qspi_set_read_config() argument
68 sys_write32(CAD_QSPI_DEV_OPCODE(opcode) | CAD_QSPI_DEV_INST_TYPE(instr_type) | in cad_qspi_set_read_config()
77 int cad_qspi_set_write_config(struct cad_qspi_params *cad_params, uint32_t opcode, in cad_qspi_set_write_config() argument
85 sys_write32(CAD_QSPI_DEV_OPCODE(opcode) | CAD_QSPI_DEV_ADDR_TYPE(addr_type) | in cad_qspi_set_write_config()
150 int cad_qspi_stig_cmd(struct cad_qspi_params *cad_params, uint32_t opcode, uint32_t dummy) in cad_qspi_stig_cmd() argument
164 CAD_QSPI_FLASHCMD_OPCODE(opcode) | in cad_qspi_stig_cmd()
168 int cad_qspi_stig_read_cmd(struct cad_qspi_params *cad_params, uint32_t opcode, uint32_t dummy, in cad_qspi_stig_read_cmd() argument
185 uint32_t cmd = CAD_QSPI_FLASHCMD_OPCODE(opcode) | CAD_QSPI_FLASHCMD_ENRDDATA(1) | in cad_qspi_stig_read_cmd()
205 int cad_qspi_stig_wr_cmd(struct cad_qspi_params *cad_params, uint32_t opcode, uint32_t dummy, in cad_qspi_stig_wr_cmd() argument
222 uint32_t cmd = CAD_QSPI_FLASHCMD_OPCODE(opcode) | CAD_QSPI_FLASHCMD_ENRDDATA(0) | in cad_qspi_stig_wr_cmd()
[all …]
Dflash_andes_qspi.c34 #define flash_andes_qspi_cmd_read(dev, opcode, dest, length) \ argument
35 flash_andes_qspi_access(dev, opcode, 0, 0, dest, length)
36 #define flash_andes_qspi_cmd_addr_read(dev, opcode, addr, dest, length) \ argument
37 flash_andes_qspi_access(dev, opcode, ANDES_ACCESS_ADDRESSED, addr, \
39 #define flash_andes_qspi_cmd_write(dev, opcode) \ argument
40 flash_andes_qspi_access(dev, opcode, ANDES_ACCESS_WRITE, 0, NULL, 0)
41 #define flash_andes_qspi_cmd_addr_write(dev, opcode, addr, src, length) \ argument
42 flash_andes_qspi_access(dev, opcode, \
132 uint8_t opcode, uint8_t access, off_t addr, in flash_andes_qspi_access() argument
157 if ((opcode == FLASH_ANDES_CMD_4PP) || in flash_andes_qspi_access()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_common.c37 cc->opcode = sys_cpu_to_le16(op); in bt_hci_cmd_complete_create()
52 cs->opcode = sys_cpu_to_le16(op); in bt_hci_cmd_status_create()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_micp.c228 .opcode = BTP_MICP_READ_SUPPORTED_COMMANDS,
234 .opcode = BTP_MICP_CTLR_DISCOVER,
239 .opcode = BTP_MICP_CTLR_MUTE_READ,
244 .opcode = BTP_MICP_CTLR_MUTE,
408 .opcode = BTP_MICS_READ_SUPPORTED_COMMANDS,
414 .opcode = BTP_MICS_DEV_MUTE_DISABLE,
419 .opcode = BTP_MICS_DEV_MUTE_READ,
424 .opcode = BTP_MICS_DEV_MUTE,
429 .opcode = BTP_MICS_DEV_UNMUTE,
Dbtp_cap.c857 .opcode = BTP_CAP_READ_SUPPORTED_COMMANDS,
863 .opcode = BTP_CAP_DISCOVER,
868 .opcode = BTP_CAP_UNICAST_SETUP_ASE,
873 .opcode = BTP_CAP_UNICAST_AUDIO_START,
878 .opcode = BTP_CAP_UNICAST_AUDIO_UPDATE,
883 .opcode = BTP_CAP_UNICAST_AUDIO_STOP,
888 .opcode = BTP_CAP_BROADCAST_SOURCE_SETUP_STREAM,
893 .opcode = BTP_CAP_BROADCAST_SOURCE_SETUP_SUBGROUP,
898 .opcode = BTP_CAP_BROADCAST_SOURCE_SETUP,
903 .opcode = BTP_CAP_BROADCAST_SOURCE_RELEASE,
[all …]
Dbtp_tmap.c70 .opcode = BTP_TMAP_READ_SUPPORTED_COMMANDS,
76 .opcode = BTP_TMAP_DISCOVER,
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmedia_controller.c311 shell_print(ctx_shell, "Player: %p, Command opcode sent: %u", plr, cmd->opcode); in command_send_cb()
773 .opcode = BT_MCS_OPC_PLAY, in cmd_media_play()
790 .opcode = BT_MCS_OPC_PAUSE, in cmd_media_pause()
808 .opcode = BT_MCS_OPC_FAST_REWIND, in cmd_media_fast_rewind()
826 .opcode = BT_MCS_OPC_FAST_FORWARD, in cmd_media_fast_forward()
844 .opcode = BT_MCS_OPC_STOP, in cmd_media_stop()
862 .opcode = BT_MCS_OPC_MOVE_RELATIVE, in cmd_media_move_relative()
897 .opcode = BT_MCS_OPC_PREV_SEGMENT, in cmd_media_prev_segment()
916 .opcode = BT_MCS_OPC_NEXT_SEGMENT, in cmd_media_next_segment()
935 .opcode = BT_MCS_OPC_FIRST_SEGMENT, in cmd_media_first_segment()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dtesting.h30 void (*prov_invalid_bearer)(uint8_t opcode);
86 void bt_mesh_test_prov_invalid_bearer(uint8_t opcode);
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_public_id_addr/src/
Dmain.c61 static int bt_hci_cmd_send_sync_custom_fake(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync_custom_fake() argument
66 zassert_equal(opcode, BT_HCI_OP_READ_BD_ADDR, "'%s()' was called with incorrect '%s' value", in bt_hci_cmd_send_sync_custom_fake()
/Zephyr-latest/doc/services/debugging/
Dmipi_stp_decoder.rst9 trace sources. Stream consists of opcode (shortest is 4 bit long) followed by optional data and
11 without timestamp), stream recognition (master and channel), synchronization (ASYNC opcode) and
22 Decoder is initialized with a callback. A callback is called on each decoded opcode.
25 If decoder is not synchronized to the stream then it decodes each nibble in search for ASYNC opcode.
/Zephyr-latest/drivers/sensor/s11059/
Ds11059.c126 const uint8_t opcode[] = {S11059_REG_ADDR_CONTROL, control}; in s11059_control_write() local
128 return i2c_write_dt(&cfg->bus, opcode, sizeof(opcode)); in s11059_control_write()
134 const uint8_t opcode[] = {S11059_REG_ADDR_MANUAL_TIMING, manual_time >> 8, in s11059_manual_timing_write() local
137 return i2c_write_dt(&cfg->bus, opcode, sizeof(opcode)); in s11059_manual_timing_write()
/Zephyr-latest/drivers/sensor/rohm/bh1750/
Dbh1750.c50 static int bh1750_opcode_read(const struct device *dev, uint8_t opcode, in bh1750_opcode_read() argument
56 rc = i2c_burst_read_dt(&cfg->bus, opcode, (uint8_t *)val, 2); in bh1750_opcode_read()
65 static int bh1750_opcode_write(const struct device *dev, uint8_t opcode) in bh1750_opcode_write() argument
69 return i2c_write_dt(&cfg->bus, &opcode, 1); in bh1750_opcode_write()
/Zephyr-latest/subsys/bluetooth/audio/
Dhas_client.c228 switch (hdr->opcode) { in control_point_notify_cb()
307 hdr->opcode = BT_HAS_OP_READ_PRESET_REQ; in read_presets_req()
329 static int preset_set(struct bt_has_client *inst, uint8_t opcode, uint8_t index) in preset_set() argument
336 LOG_DBG("conn %p opcode 0x%02x index 0x%02x", (void *)inst->conn, opcode, index); in preset_set()
339 hdr->opcode = opcode; in preset_set()
346 static int preset_set_next_or_prev(struct bt_has_client *inst, uint8_t opcode) in preset_set_next_or_prev() argument
352 LOG_DBG("conn %p opcode 0x%02x", (void *)inst->conn, opcode); in preset_set_next_or_prev()
355 hdr->opcode = opcode; in preset_set_next_or_prev()
914 uint8_t opcode; in bt_has_client_preset_set() local
935 opcode = sync ? BT_HAS_OP_SET_ACTIVE_PRESET_SYNC : BT_HAS_OP_SET_ACTIVE_PRESET; in bt_has_client_preset_set()
[all …]
/Zephyr-latest/tests/bluetooth/host/id/bt_id_init/src/
Dtest_suite_setup_public_identity.c36 static int bt_hci_cmd_send_sync_custom_fake(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync_custom_fake() argument
41 zassert_equal(opcode, BT_HCI_OP_READ_BD_ADDR, "'%s()' was called with incorrect '%s' value", in bt_hci_cmd_send_sync_custom_fake()
Dtest_suite_setup_static_random_identity.c42 static int bt_hci_cmd_send_sync_custom_fake(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync_custom_fake() argument
50 if (opcode == BT_HCI_OP_READ_BD_ADDR) { in bt_hci_cmd_send_sync_custom_fake()
54 zassert_equal(opcode, BT_HCI_OP_VS_READ_STATIC_ADDRS, in bt_hci_cmd_send_sync_custom_fake()
/Zephyr-latest/subsys/sd/
Dmmc.c211 cmd.opcode = MMC_SEND_OP_COND; in mmc_send_op_cond()
271 cmd.opcode = MMC_SEND_RELATIVE_ADDR; in mmc_set_rca()
295 cmd.opcode = SD_SEND_CSD; in mmc_read_csd()
395 cmd.opcode = SD_SWITCH; in mmc_set_bus_width()
421 cmd.opcode = SD_SWITCH; in mmc_set_hs_timing()
449 cmd.opcode = SD_SWITCH; in mmc_set_power_class_HS200()
485 cmd.opcode = SD_SWITCH; in mmc_set_timing()
533 cmd.opcode = SD_SWITCH; in mmc_set_timing()
544 cmd.opcode = SD_SWITCH; in mmc_set_timing()
575 cmd.opcode = MMC_SEND_EXT_CSD; in mmc_read_ext_csd()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dhci_vs.h325 uint8_t opcode; member
331 uint8_t opcode; member
360 uint8_t opcode; member
383 uint8_t opcode; member
404 uint8_t opcode; member
414 uint8_t opcode; member
426 uint8_t opcode; member
/Zephyr-latest/subsys/bluetooth/host/classic/
Davrcp_internal.h58 uint8_t opcode; member
64 uint8_t opcode; /** Unit Info, Subunit Info, Vendor Dependent, or Pass Through */ member
/Zephyr-latest/drivers/lora/
Dsx126x.c182 uint8_t SX126xReadCommand(RadioCommands_t opcode, in SX126xReadCommand() argument
186 opcode, in SX126xReadCommand()
193 opcode, size); in SX126xReadCommand()
200 void SX126xWriteCommand(RadioCommands_t opcode, uint8_t *buffer, uint16_t size) in SX126xWriteCommand() argument
203 opcode, in SX126xWriteCommand()
207 opcode, size); in SX126xWriteCommand()
/Zephyr-latest/samples/boards/st/bluetooth/interactive_gui/src/
Dmain.c79 uint16_t opcode; member
84 uint8_t opcode; member
91 uint8_t opcode; member
106 rsp->opcode = hdr->opcode; in parse_cmd()
109 switch (hdr->opcode) { in parse_cmd()
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.h54 uint16_t opcode; member
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_transport_websocket.c113 enum websocket_opcode opcode = WEBSOCKET_OPCODE_DATA_BINARY; in mqtt_client_websocket_write_msg() local
127 message->msg_iov[i].iov_len, opcode, in mqtt_client_websocket_write_msg()
133 opcode = WEBSOCKET_OPCODE_CONTINUE; in mqtt_client_websocket_write_msg()

123456789