Home
last modified time | relevance | path

Searched refs:opcode (Results 101 – 125 of 210) sorted by relevance

123456789

/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/
Dmain.c123 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/
Dbtp.h95 uint8_t opcode; member
/Zephyr-latest/subsys/bluetooth/audio/
Dvocs.c40 #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()
Dvcp_internal.h39 uint8_t opcode; member
/Zephyr-latest/tests/net/arp/src/
Dmain.c102 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/
Dull_llcp_chmu.c99 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()
Dull_llcp_enc.c183 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()
Dull_llcp_remote.c469 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()
Dull_llcp_cc.c187 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/
Dtest_suite_bt_settings_enabled.c75 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()
Dmain.c54 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()
Dtest_suite_bt_privacy_enabled.c49 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/
Dhci_core.c121 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/
Dwebsocket.c60 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/
Dccp.rst112 … <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/
Dwebsocket.h154 enum websocket_opcode opcode, bool mask, bool final,
/Zephyr-latest/drivers/sdhc/
Dsdhc_esp32.c575 (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 …]
Dsdhc_spi.c408 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/
Daccess.c63 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/
Dhci_ifx_cyw208xx.c333 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/
Darp.h33 uint16_t opcode; member
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dcomm_widget.h773 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/
Dmain.c164 cmd.opcode = SD_GO_IDLE_STATE; in ZTEST()
171 cmd.opcode = SD_SEND_IF_COND; in ZTEST()
/Zephyr-latest/subsys/sd/
Dsdmmc.c74 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/
Ddma_iproc_pax_v1.h79 uint64_t opcode : 4; /*opcode 59:56*/ member

123456789