/Zephyr-Core-3.6.0/drivers/disk/nvme/ |
D | nvme_controller_cmd.c | 20 struct nvme_request *request; in nvme_ctrlr_cmd_identify_controller() local 22 request = nvme_allocate_request_vaddr( in nvme_ctrlr_cmd_identify_controller() 25 if (!request) { in nvme_ctrlr_cmd_identify_controller() 29 memset(&request->cmd, 0, sizeof(request->cmd)); in nvme_ctrlr_cmd_identify_controller() 30 request->cmd.cdw0.opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_controller() 31 request->cmd.cdw10 = sys_cpu_to_le32(1); in nvme_ctrlr_cmd_identify_controller() 33 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_controller() 40 struct nvme_request *request; in nvme_ctrlr_cmd_identify_namespace() local 42 request = nvme_allocate_request_vaddr( in nvme_ctrlr_cmd_identify_namespace() 45 if (!request) { in nvme_ctrlr_cmd_identify_namespace() [all …]
|
D | nvme_cmd.c | 43 { NVME_SC_ABORTED_BY_REQUEST, "ABORTED - BY REQUEST" }, 235 void nvme_cmd_request_free(struct nvme_request *request) in nvme_cmd_request_free() argument 237 if (sys_dnode_is_linked(&request->node)) { in nvme_cmd_request_free() 238 sys_dlist_remove(&request->node); in nvme_cmd_request_free() 241 if (request->prp_list != NULL) { in nvme_cmd_request_free() 242 nvme_prp_list_free(request->prp_list); in nvme_cmd_request_free() 245 memset(request, 0, sizeof(struct nvme_request)); in nvme_cmd_request_free() 246 sys_dlist_append(&free_request, &request->node); in nvme_cmd_request_free() 255 LOG_ERR("Could not allocate request"); in nvme_cmd_request_alloc() 264 static void nvme_cmd_register_request(struct nvme_request *request) in nvme_cmd_register_request() argument [all …]
|
D | nvme_disk.c | 33 struct nvme_request *request; in nvme_disk_read() local 46 request = nvme_allocate_request_vaddr((void *)data_buf, payload_size, in nvme_disk_read() 48 if (request == NULL) { in nvme_disk_read() 53 nvme_namespace_read_cmd(&request->cmd, ns->id, in nvme_disk_read() 59 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_read() 82 struct nvme_request *request; in nvme_disk_write() local 95 request = nvme_allocate_request_vaddr((void *)data_buf, payload_size, in nvme_disk_write() 97 if (request == NULL) { in nvme_disk_write() 102 nvme_namespace_write_cmd(&request->cmd, ns->id, in nvme_disk_write() 108 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_write() [all …]
|
/Zephyr-Core-3.6.0/samples/net/sockets/coap_server/src/ |
D | large.c | 17 struct coap_packet *request, in large_get() argument 37 r = coap_update_from_block(request, &ctx); in large_get() 42 code = coap_header_get_code(request); in large_get() 43 type = coap_header_get_type(request); in large_get() 44 id = coap_header_get_id(request); in large_get() 45 tkl = coap_header_get_token(request, token); in large_get() 96 struct coap_packet *request, in large_update_put() argument 112 r = coap_get_option_int(request, COAP_OPTION_BLOCK1); in large_update_put() 124 r = coap_update_from_block(request, &ctx); in large_update_put() 126 LOG_ERR("Invalid block size option from request"); in large_update_put() [all …]
|
D | test.c | 17 struct coap_packet *request, in piggyback_get() argument 30 code = coap_header_get_code(request); in piggyback_get() 31 type = coap_header_get_type(request); in piggyback_get() 32 id = coap_header_get_id(request); in piggyback_get() 33 tkl = coap_header_get_token(request, token); in piggyback_get() 82 struct coap_packet *request, in test_del() argument 94 code = coap_header_get_code(request); in test_del() 95 type = coap_header_get_type(request); in test_del() 96 id = coap_header_get_id(request); in test_del() 97 tkl = coap_header_get_token(request, token); in test_del() [all …]
|
/Zephyr-Core-3.6.0/tests/kernel/timer/timer_behavior/pytest/ |
D | conftest.py | 15 def tool(request): argument 16 return request.config.getoption('--tool') 19 def tool_options(request): argument 20 return request.config.getoption('--tool-options') 23 def config(request): argument 24 build_dir = Path(request.config.getoption('--build-dir')) 37 def sys_clock_hw_cycles_per_sec(request, config): argument 38 if request.config.getoption('--sys-clock-hw-cycles-per-sec'): 39 return int(request.config.getoption('--sys-clock-hw-cycles-per-sec'))
|
/Zephyr-Core-3.6.0/samples/net/sockets/coap_client/src/ |
D | coap-client.c | 132 struct coap_packet request; in send_simple_coap_request() local 142 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_simple_coap_request() 152 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_simple_coap_request() 155 LOG_ERR("Unable add option to request"); in send_simple_coap_request() 167 r = coap_packet_append_payload_marker(&request); in send_simple_coap_request() 173 r = coap_packet_append_payload(&request, (uint8_t *)payload, in send_simple_coap_request() 186 net_hexdump("Request", request.data, request.offset); in send_simple_coap_request() 188 r = send(sock, request.data, request.offset, 0); in send_simple_coap_request() 314 struct coap_packet request; in send_large_coap_request() local 329 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_large_coap_request() [all …]
|
/Zephyr-Core-3.6.0/samples/subsys/usb/webusb/src/ |
D | webusb.h | 18 * WebUSB request handlers 24 * The custom request handler gets a first chance at handling 25 * the request before it is handed over to the 'chapter 9' request 32 * @brief Register Custom and Vendor request callbacks 34 * Function to register Custom and Vendor request callbacks 37 * @param [in] handlers Pointer to WebUSB request handlers structure
|
/Zephyr-Core-3.6.0/drivers/flash/ |
D | flash_stm32_ex_op.c | 24 const struct flash_stm32_ex_op_sector_wp_in *request = in flash_stm32_ex_op_sector_wp() local 34 if (request != NULL) { in flash_stm32_ex_op_sector_wp() 39 K_OOPS(k_usermode_from_copy(&in_copy, request, in flash_stm32_ex_op_sector_wp() 41 request = &in_copy; in flash_stm32_ex_op_sector_wp() 44 change_mask = request->enable_mask; in flash_stm32_ex_op_sector_wp() 48 change_mask |= request->disable_mask; in flash_stm32_ex_op_sector_wp() 54 dev, change_mask, request->enable_mask); in flash_stm32_ex_op_sector_wp() 91 const struct flash_stm32_ex_op_rdp *request = in flash_stm32_ex_op_rdp() local 102 if (request != NULL) { in flash_stm32_ex_op_rdp() 105 K_OOPS(k_usermode_from_copy(©, request, sizeof(copy))); in flash_stm32_ex_op_rdp() [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/debug/gdbstub/pytest/ |
D | conftest.py | 15 def gdb_script(request): argument 16 return request.config.getoption('--gdb_script') 19 def gdb_timeout(request): argument 20 return int(request.config.getoption('--gdb_timeout', default=60)) 23 def gdb_target_remote(request): argument 24 return request.config.getoption('--gdb_target_remote', default=":5678")
|
/Zephyr-Core-3.6.0/doc/connectivity/networking/api/ |
D | coap_client.rst | 16 in the request. The CoAP client handles the communication over sockets. 23 The following is an example of a CoAP client initialization and request sending: 41 * destination address of the request or NULL if the socket is already connected. 46 After initialization, the application can send a CoAP request and wait for the response. 47 Currently only one request can be sent for a single CoAP client at a time. There can be multiple 52 - There is a response for the request 53 - The request failed for some reason 57 is set to true, the response is finished and the client is ready for the next request after 60 If the server responds to the request, the library provides the response to the 61 application through the response callback registered in the request structure. [all …]
|
/Zephyr-Core-3.6.0/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_shi.h | 21 * 2. EC_SHI_OLD_READY - AP sends first byte(s) of request 23 * 4. EC_SHI_RECEIVING - AP sends remaining byte(s) of request 24 * 5. EC_SHI_PROCESSING - EC starts processing request; AP is clocking in 32 * next request 41 * Then the EC found an error in the request, or was not ready for the request 43 * because the EC is unable to tell when the AP is done sending its request. 48 * request, the AP will clock in bytes until it sees the framing byte, then 70 * EC has started receiving the request from the AP, but hasn't started 75 /* EC has received the entire request from the AP and is processing it. */ 92 * EC was ready to receive a request from the AP. EC has treated the byte sent [all …]
|
/Zephyr-Core-3.6.0/doc/project/ |
D | modifying_contributions.rst | 22 * integrate useful content which is part of a stale pull request, or 26 * a developer pushes to a branch or pull request opened by another 40 * clarify in their pull request the reason for cherry-picking the patches, 42 pull request, and 43 * invite the original author of the patches to their pull request review. 45 A developer who intends to force-push to a branch or pull request of 46 another Zephyr contributor shall clarify in the pull request the reason 48 is done to drive the pull request review to completion, when the pull 49 request author is not able to do so). 58 * (preferably) reach out to the original author and request them to [all …]
|
/Zephyr-Core-3.6.0/subsys/sip_svc/ |
D | sip_svc_agilex_mailbox_shell.c | 120 struct sip_svc_request request; in cmd_close() local 135 request.header = SIP_SVC_PROTO_HEADER(SIP_SVC_PROTO_CMD_ASYNC, 0); in cmd_close() 136 request.a0 = SMC_FUNC_ID_MAILBOX_SEND_COMMAND; in cmd_close() 137 request.a1 = 0; in cmd_close() 138 request.a2 = (uint64_t)cmd_addr; in cmd_close() 139 request.a3 = (uint64_t)cmd_size; in cmd_close() 140 request.a4 = 0; in cmd_close() 141 request.a5 = 0; in cmd_close() 142 request.a6 = 0; in cmd_close() 143 request.a7 = 0; in cmd_close() [all …]
|
/Zephyr-Core-3.6.0/subsys/net/lib/coap/ |
D | coap_client.c | 47 static void reset_block_contexts(struct coap_client_internal_request *request) in reset_block_contexts() argument 49 request->recv_blk_ctx.block_size = 0; in reset_block_contexts() 50 request->recv_blk_ctx.total_size = 0; in reset_block_contexts() 51 request->recv_blk_ctx.current = 0; in reset_block_contexts() 53 request->send_blk_ctx.block_size = 0; in reset_block_contexts() 54 request->send_blk_ctx.total_size = 0; in reset_block_contexts() 55 request->send_blk_ctx.current = 0; in reset_block_contexts() 58 static void reset_internal_request(struct coap_client_internal_request *request) in reset_internal_request() argument 60 request->offset = 0; in reset_internal_request() 61 request->last_id = 0; in reset_internal_request() [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/modbus/src/ |
D | test_modbus_client.c | 33 zassert_equal(err, 0, "FC05 request failed"); in test_coil_wr_rd() 37 zassert_equal(err, 0, "FC01 request failed"); in test_coil_wr_rd() 44 zassert_equal(err, 0, "FC15 request failed"); in test_coil_wr_rd() 49 zassert_equal(err, 0, "FC15 request failed"); in test_coil_wr_rd() 52 zassert_equal(err, 0, "FC01 request failed"); in test_coil_wr_rd() 58 zassert_not_equal(err, 0, "FC05 out of range request not failed"); in test_coil_wr_rd() 61 zassert_not_equal(err, 0, "FC15 out of range request not failed"); in test_coil_wr_rd() 71 zassert_equal(err, 0, "FC02 request failed"); in test_di_rd() 77 zassert_not_equal(err, 0, "FC02 out of range request not failed"); in test_di_rd() 80 zassert_not_equal(err, 0, "FC02 out of range request not failed"); in test_di_rd() [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/net/ |
D | coap_link_format.h | 34 * @brief Build a CoAP response for a .well-known/core CoAP request. 37 * @param request A pointer to the .well-known/core CoAP request 45 const struct coap_packet *request, 50 * @brief Build a CoAP response for a .well-known/core CoAP request. 54 * @param request A pointer to the .well-known/core CoAP request 63 const struct coap_packet *request,
|
D | icmp.h | 9 * @defgroup icmp Send and receive IPv4 or IPv6 ICMP Echo Request messages. 57 * @brief Handler function that is called when an Echo-Request is sent 59 * device driver so that it can catch the ping request and send 62 * @param ctx ICMP context used in this request. 66 * @param params Echo-Request specific parameters. May be NULL in which case 87 /** Network interface where the ICMP request was sent */ 118 * Echo-Request (ping) messages. 121 /** An identifier to aid in matching Echo Replies to this Echo Request. 127 * Echo Request. May be zero. 156 * @param ctx ICMP context used in this request. [all …]
|
D | ieee802154_mgmt.h | 92 * - MLME-ASSOCIATE.request, see section 8.2.3 93 * - MLME-DISASSOCIATE.request, see section 8.2.4 94 * - MLME-SET/GET.request, see section 8.2.6 95 * - MLME-SCAN.request, see section 8.2.11 99 * - MLME-DATA.request, see section 8.3.2 120 * MLME-SCAN(PASSIVE, ...) request 130 * MLME-SCAN(ACTIVE, ...) request 145 /** MLME-ASSOCIATE(...) request */ 151 /** MLME-DISASSOCIATE(...) request */ 157 /** MLME-SET(phyCurrentChannel) request */ [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/mgmt/mcumgr/transport/ |
D | serial.h | 26 * @brief Maintains state for an incoming mcumgr request packet. 29 /* Contains the partially- or fully-received mcumgr request. Data 49 * @brief Processes an mcumgr request fragment received over a serial 52 * Processes an mcumgr request fragment received over a serial transport. If 53 * the fragment is the end of a valid mcumgr request, this function returns a 54 * net_buf containing the decoded request. It is the caller's responsibility 62 * @return A net_buf containing the decoded request if a 63 * complete and valid request has been
|
/Zephyr-Core-3.6.0/subsys/bluetooth/host/ |
D | att_internal.h | 37 uint8_t request; member 52 /* Find Information Request */ 80 /* Find By Type Value Request */ 100 /* Read By Type Request */ 120 /* Read Request */ 132 /* Read Blob Request */ 145 /* Read Multiple Request */ 159 /* Read by Group Type Request */ 180 /* Write Request */ 190 /* Prepare Write Request */ [all …]
|
/Zephyr-Core-3.6.0/drivers/usb/uvb/ |
D | uvb.h | 37 /** Endpoint request event */ 39 /** Endpoint request reply event */ 64 * @brief Virtual bus host request type 67 /** Setup request */ 69 /** Data request */ 79 /** Reply ACK handshake to a request */ 81 /** Reply NACK handshake to a request */ 83 /** Reply STALL handshake to a request */ 96 /** Request type */ 97 enum uvb_request request: 8; [all …]
|
/Zephyr-Core-3.6.0/samples/subsys/usb_c/source/src/ |
D | main.c | 39 /** Sink Request RDO */ 61 union pd_rdo request; in dump_sink_request_rdo() local 63 request.raw_value = rdo; in dump_sink_request_rdo() 65 LOG_INF("REQUEST RDO: %08x", rdo); in dump_sink_request_rdo() 66 LOG_INF("\tObject Position:\t %d", request.fixed.object_pos); in dump_sink_request_rdo() 67 LOG_INF("\tGiveback:\t\t %d", request.fixed.giveback); in dump_sink_request_rdo() 68 LOG_INF("\tCapability Mismatch:\t %d", request.fixed.cap_mismatch); in dump_sink_request_rdo() 69 LOG_INF("\tUSB Comm Capable:\t %d", request.fixed.usb_comm_capable); in dump_sink_request_rdo() 70 LOG_INF("\tNo USB Suspend:\t\t %d", request.fixed.no_usb_suspend); in dump_sink_request_rdo() 71 LOG_INF("\tUnchunk Ext MSG Support: %d", request.fixed.unchunked_ext_msg_supported); in dump_sink_request_rdo() [all …]
|
/Zephyr-Core-3.6.0/.github/ISSUE_TEMPLATE/ |
D | 004_feature_request.md | 2 name: Feature request 5 labels: Feature Request 10 **Is your feature request related to a problem? Please describe.** 20 Add any other context or graphics (drag-and-drop an image) about the feature request here.
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/sip_svc/ |
D | sip_svc_proto.h | 58 /** @brief Arm SiP services command code in request header 61 * - Typical flow, synchronous request. Service expects EL3/EL2 firmware to 65 * - Asynchronous request. Service is required to poll the response via a 66 * separate SMC/HVC call. Use this method if the request requires longer 77 * - Successfully execute the request. 83 * - The request is still in progress. Please try again. 86 * - The request have been rejected due to improper input data. 92 * - Error occurred when executing the request. 106 * request format. 108 * request header [all …]
|