/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/ |
D | main.c | 123 static int spi_flash_read_status(const struct device *dev, uint8_t opcode, uint8_t *status) in spi_flash_read_status() argument 130 txdata = opcode; in spi_flash_read_status() 158 static int spi_flash_write_status(const struct device *dev, uint8_t opcode, uint8_t spi_status) in spi_flash_write_status() argument 166 txdata |= opcode; in spi_flash_write_status() 184 static int spi_flash_tx_one_byte_cmd(const struct device *dev, uint8_t opcode) in spi_flash_tx_one_byte_cmd() argument 190 txdata = opcode; in spi_flash_tx_one_byte_cmd()
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp.h | 95 uint8_t opcode; member
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | vocs.c | 40 #define VALID_VOCS_OPCODE(opcode) ((opcode) == BT_VOCS_OPCODE_SET_OFFSET) argument 196 if (!VALID_VOCS_OPCODE(cp->opcode)) { in write_vocs_control() 197 LOG_DBG("Invalid opcode %u", cp->opcode); in write_vocs_control() 205 LOG_DBG("Opcode %u, counter %u", cp->opcode, cp->counter); in write_vocs_control() 212 switch (cp->opcode) { in write_vocs_control() 553 cp.opcode = BT_VOCS_OPCODE_SET_OFFSET; in bt_vocs_state_set()
|
D | vcp_internal.h | 39 uint8_t opcode; member
|
/Zephyr-latest/tests/net/arp/src/ |
D | main.c | 102 if (ntohs(arp_hdr->opcode) == NET_ARP_REPLY) { in tester_send() 127 } else if (ntohs(arp_hdr->opcode) == NET_ARP_REQUEST) { in tester_send() 206 hdr->opcode = htons(NET_ARP_REPLY); in prepare_arp_reply() 258 hdr->opcode = htons(NET_ARP_REQUEST); in prepare_arp_request() 428 if (arp_hdr->opcode != htons(NET_ARP_REQUEST)) { in ZTEST() 430 arp_hdr->opcode, htons(NET_ARP_REQUEST)); in ZTEST() 628 arp_hdr->opcode = htons(NET_ARP_REQUEST); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_chmu.c | 99 ctx->tx_opcode = pdu->llctrl.opcode; in lp_chmu_tx() 190 switch (pdu->llctrl.opcode) { in llcp_lp_chmu_rx() 303 switch (pdu->llctrl.opcode) { in llcp_rp_chmu_rx()
|
D | ull_llcp_enc.c | 183 static struct node_tx *llcp_lp_enc_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_lp_enc_tx() argument 195 switch (opcode) { in llcp_lp_enc_tx() 212 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_lp_enc_tx() 374 if (pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_REJECT_IND) { in reject_error_code() 377 } else if (pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_REJECT_EXT_IND) { in reject_error_code() 650 switch (pdu->llctrl.opcode) { in llcp_lp_enc_rx() 701 static struct node_tx *llcp_rp_enc_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_rp_enc_tx() argument 713 switch (opcode) { in llcp_rp_enc_tx() 738 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_rp_enc_tx() 1243 switch (pdu->llctrl.opcode) { in llcp_rp_enc_rx()
|
D | ull_llcp_remote.c | 469 static void rr_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in rr_tx() argument 483 switch (opcode) { in rr_tx() 508 ctx->tx_opcode = pdu->llctrl.opcode; in rr_tx() 617 ctx->unknown_response.type = pdu->llctrl.opcode; in rr_st_idle() 670 conn->llcp.remote.reject_opcode = pdu->llctrl.opcode; in rr_st_idle() 924 if (valid_pdu && pdu->llctrl.opcode < ARRAY_SIZE(new_proc_lut)) { in llcp_rr_new() 927 struct proc_role pr = new_proc_lut[pdu->llctrl.opcode]; in llcp_rr_new()
|
D | ull_llcp_cc.c | 187 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_rp_cc_tx_rsp() 193 static void llcp_rp_cc_tx_reject(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_rp_cc_tx_reject() argument 206 llcp_pdu_encode_reject_ext_ind(pdu, opcode, ctx->data.cis_create.error); in llcp_rp_cc_tx_reject() 207 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_rp_cc_tx_reject() 564 switch (pdu->llctrl.opcode) { in llcp_rp_cc_rx() 660 static void lp_cc_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in lp_cc_tx() argument 672 switch (opcode) { in lp_cc_tx() 685 ctx->tx_opcode = pdu->llctrl.opcode; in lp_cc_tx() 695 switch (pdu->llctrl.opcode) { in llcp_lp_cc_rx()
|
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_random_id_addr/src/ |
D | test_suite_bt_settings_enabled.c | 75 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 80 zassert_equal(opcode, BT_HCI_OP_VS_READ_STATIC_ADDRS, in bt_hci_cmd_send_sync_custom_fake()
|
D | main.c | 54 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 59 zassert_equal(opcode, BT_HCI_OP_VS_READ_STATIC_ADDRS, in bt_hci_cmd_send_sync_custom_fake()
|
D | test_suite_bt_privacy_enabled.c | 49 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 54 zassert_equal(opcode, BT_HCI_OP_VS_READ_STATIC_ADDRS, in bt_hci_cmd_send_sync_custom_fake()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_core.c | 121 uint16_t opcode; member 309 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument 314 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create() 329 cmd(buf)->opcode = opcode; in bt_hci_cmd_create() 334 hdr->opcode = sys_cpu_to_le16(opcode); in bt_hci_cmd_create() 340 int bt_hci_cmd_send(uint16_t opcode, struct net_buf *buf) in bt_hci_cmd_send() argument 343 buf = bt_hci_cmd_create(opcode, 0); in bt_hci_cmd_send() 349 LOG_DBG("opcode 0x%04x len %u", opcode, buf->len); in bt_hci_cmd_send() 354 if (opcode == BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS) { in bt_hci_cmd_send() 373 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync() argument [all …]
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket.c | 60 static const char *opcode2str(enum websocket_opcode opcode) in opcode2str() argument 62 switch (opcode) { in opcode2str() 653 enum websocket_opcode opcode, bool mask, bool final, in websocket_send_msg() argument 661 if (opcode != WEBSOCKET_OPCODE_DATA_TEXT && in websocket_send_msg() 662 opcode != WEBSOCKET_OPCODE_DATA_BINARY && in websocket_send_msg() 663 opcode != WEBSOCKET_OPCODE_CONTINUE && in websocket_send_msg() 664 opcode != WEBSOCKET_OPCODE_CLOSE && in websocket_send_msg() 665 opcode != WEBSOCKET_OPCODE_PING && in websocket_send_msg() 666 opcode != WEBSOCKET_OPCODE_PONG) { in websocket_send_msg() 685 NET_DBG("[%p] Len %zd %s/%d/%s", ctx, payload_len, opcode2str(opcode), in websocket_send_msg() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | ccp.rst | 112 … <dbg> bt_tbs_client.call_cp_notify_handler: Status: success for the originate opcode for call 0x00 126 … <dbg> bt_tbs_client.call_cp_notify_handler: Status: success for the originate opcode for call 0x00 144 <dbg> bt_tbs_client.call_cp_callback_handler: Status: success for the accept opcode for call 0x05 154 … <dbg> bt_tbs_client.call_cp_notify_handler: Status: success for the terminate opcode for call 0x05 225 <dbg> bt_tbs.write_call_cp: Index 0: Processing the originate opcode 227 …<dbg> bt_tbs.write_call_cp: Index 0: Processed the originate opcode with status success for call i… 238 …<dbg> bt_tbs.write_call_cp: Index 0: Processed the accept opcode with status success for call inde…
|
/Zephyr-latest/include/zephyr/net/ |
D | websocket.h | 154 enum websocket_opcode opcode, bool mask, bool final,
|
/Zephyr-latest/drivers/sdhc/ |
D | sdhc_esp32.c | 575 (cmd->opcode == SD_WRITE_MULTIPLE_BLOCK || cmd->opcode == SD_READ_MULTIPLE_BLOCK); in cmd_needs_auto_stop() 582 res.cmd_index = cmd->opcode; in make_hw_cmd() 583 if (cmd->opcode == SD_STOP_TRANSMISSION) { in make_hw_cmd() 585 } else if (cmd->opcode == SD_GO_IDLE_STATE) { in make_hw_cmd() 590 if (cmd->opcode == SD_GO_IDLE_STATE) { in make_hw_cmd() 700 data->s_is_app_cmd = (ret == ESP_OK && cmdinfo->opcode == SD_APP_CMD); in sdmmc_host_do_transaction() 1091 .opcode = cmd->opcode, in sdhc_esp32_request() 1115 switch (cmd->opcode) { in sdhc_esp32_request() 1175 LOG_INF("SDHC driver: command %u not supported", cmd->opcode); in sdhc_esp32_request() 1192 cmd->opcode, cmd->arg, ret_esp, esp_cmd.error); in sdhc_esp32_request() [all …]
|
D | sdhc_spi.c | 408 cmd_buf[0] = (cmd->opcode & SD_SPI_CMD); in sdhc_spi_send_cmd() 414 LOG_DBG("cmd%d arg 0x%x", cmd->opcode, cmd->arg); in sdhc_spi_send_cmd() 635 .opcode = SD_STOP_TRANSMISSION, in sdhc_spi_request() 658 if ((cmd->opcode == SD_WRITE_SINGLE_BLOCK) || in sdhc_spi_request() 659 (cmd->opcode == SD_WRITE_MULTIPLE_BLOCK)) { in sdhc_spi_request() 664 if (ret || (cmd->opcode == SD_READ_MULTIPLE_BLOCK)) { in sdhc_spi_request()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | access.c | 63 static void (*msg_cb)(uint32_t opcode, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); 1000 cid = (uint16_t)(op->opcode & 0xffff); in bt_mesh_vnd_mod_msg_cid_check() 1008 mod->vnd.company, mod->vnd.id, op->opcode); in bt_mesh_vnd_mod_msg_cid_check() 1326 void bt_mesh_msg_cb_set(void (*cb)(uint32_t opcode, struct bt_mesh_msg_ctx *ctx, in bt_mesh_msg_cb_set() argument 1392 uint32_t opcode, const struct bt_mesh_model **model) in find_op() argument 1404 if (BT_MESH_MODEL_OP_LEN(opcode) < 3) { in find_op() 1411 cid = (uint16_t)(opcode & 0xffff); in find_op() 1427 if (op->opcode == opcode) { in find_op() 1437 static int get_opcode(struct net_buf_simple *buf, uint32_t *opcode) in get_opcode() argument 1447 *opcode = net_buf_simple_pull_u8(buf); in get_opcode() [all …]
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_ifx_cyw208xx.c | 333 wiced_result_t wiced_bt_dev_vendor_specific_command(uint16_t opcode, uint8_t param_len, in wiced_bt_dev_vendor_specific_command() argument 344 buf = bt_hci_cmd_create(opcode, param_len); in wiced_bt_dev_vendor_specific_command() 352 bt_hci_cmd_send(opcode, buf); in wiced_bt_dev_vendor_specific_command()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | arp.h | 33 uint16_t opcode; member
|
/Zephyr-latest/soc/intel/intel_adsp/ace/ |
D | comm_widget.h | 773 static inline void cw_upstream_set_attr(uint32_t dest, uint32_t func, uint32_t opcode, in cw_upstream_set_attr() argument 777 FIELD_PREP(USATTR_OPC, opcode) | FIELD_PREP(USATTR_BE, be) | in cw_upstream_set_attr()
|
/Zephyr-latest/tests/drivers/sdhc/src/ |
D | main.c | 164 cmd.opcode = SD_GO_IDLE_STATE; in ZTEST() 171 cmd.opcode = SD_SEND_IF_COND; in ZTEST()
|
/Zephyr-latest/subsys/sd/ |
D | sdmmc.c | 74 cmd.opcode = SD_SPI_READ_OCR; in sdmmc_spi_send_ocr() 103 cmd.opcode = SD_APP_SEND_OP_COND; in sdmmc_send_ocr() 173 cmd.opcode = SD_APP_SEND_SCR; in sdmmc_read_scr() 214 cmd.opcode = SD_SET_BLOCK_SIZE; in sdmmc_set_blocklen() 243 cmd.opcode = SD_APP_SET_BUS_WIDTH; in sdmmc_set_bus_width() 291 cmd.opcode = SD_SWITCH; in sdmmc_switch()
|
/Zephyr-latest/drivers/dma/ |
D | dma_iproc_pax_v1.h | 79 uint64_t opcode : 4; /*opcode 59:56*/ member
|