Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/Zephyr-latest/drivers/disk/nvme/
Dnvme_controller_cmd.c22 struct nvme_request *request; in nvme_ctrlr_cmd_identify_controller() local
24 request = nvme_allocate_request_vaddr( in nvme_ctrlr_cmd_identify_controller()
27 if (!request) { in nvme_ctrlr_cmd_identify_controller()
31 memset(&request->cmd, 0, sizeof(request->cmd)); in nvme_ctrlr_cmd_identify_controller()
32 request->cmd.cdw0.opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_controller()
33 request->cmd.cdw10 = sys_cpu_to_le32(1); in nvme_ctrlr_cmd_identify_controller()
35 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_controller()
42 struct nvme_request *request; in nvme_ctrlr_cmd_identify_namespace() local
44 request = nvme_allocate_request_vaddr( in nvme_ctrlr_cmd_identify_namespace()
47 if (!request) { in nvme_ctrlr_cmd_identify_namespace()
[all …]
Dnvme_cmd.c238 void nvme_cmd_request_free(struct nvme_request *request) in nvme_cmd_request_free() argument
240 if (sys_dnode_is_linked(&request->node)) { in nvme_cmd_request_free()
241 sys_dlist_remove(&request->node); in nvme_cmd_request_free()
244 if (request->prp_list != NULL) { in nvme_cmd_request_free()
245 nvme_prp_list_free(request->prp_list); in nvme_cmd_request_free()
248 memset(request, 0, sizeof(struct nvme_request)); in nvme_cmd_request_free()
249 sys_dlist_append(&free_request, &request->node); in nvme_cmd_request_free()
267 static void nvme_cmd_register_request(struct nvme_request *request) in nvme_cmd_register_request() argument
269 sys_dlist_append(&pending_request, &request->node); in nvme_cmd_register_request()
271 request->req_start = k_uptime_get_32(); in nvme_cmd_register_request()
[all …]
Dnvme_disk.c28 struct nvme_request *request; in nvme_disk_read() local
41 request = nvme_allocate_request_vaddr((void *)data_buf, payload_size, in nvme_disk_read()
43 if (request == NULL) { in nvme_disk_read()
48 nvme_namespace_read_cmd(&request->cmd, ns->id, in nvme_disk_read()
54 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_read()
77 struct nvme_request *request; in nvme_disk_write() local
90 request = nvme_allocate_request_vaddr((void *)data_buf, payload_size, in nvme_disk_write()
92 if (request == NULL) { in nvme_disk_write()
97 nvme_namespace_write_cmd(&request->cmd, ns->id, in nvme_disk_write()
103 nvme_cmd_qpair_submit_request(ns->ctrlr->ioq, request); in nvme_disk_write()
[all …]
Dnvme_cmd.h387 void nvme_cmd_request_free(struct nvme_request *request);
398 struct nvme_request *request);
447 struct nvme_request *request; in nvme_allocate_request() local
449 request = nvme_cmd_request_alloc(); in nvme_allocate_request()
450 if (request != NULL) { in nvme_allocate_request()
451 request->cb_fn = cb_fn; in nvme_allocate_request()
452 request->cb_arg = cb_arg; in nvme_allocate_request()
455 return request; in nvme_allocate_request()
464 struct nvme_request *request; in nvme_allocate_request_vaddr() local
466 request = nvme_allocate_request(cb_fn, cb_arg); in nvme_allocate_request_vaddr()
[all …]
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dconftest.py17 def tool(request): argument
18 return request.config.getoption('--tool')
22 def tool_options(request): argument
23 return request.config.getoption('--tool-options')
27 def config(request): argument
28 build_dir = Path(request.config.getoption('--build-dir'))
42 def sys_clock_hw_cycles_per_sec(request, config): argument
43 if request.config.getoption('--sys-clock-hw-cycles-per-sec'):
44 return int(request.config.getoption('--sys-clock-hw-cycles-per-sec'))
/Zephyr-latest/subsys/dap/
Dcmsis_dap.c71 const uint8_t *const request, in dap_info() argument
75 uint8_t id = request[0]; in dap_info()
167 const uint8_t *const request, in dap_host_status() argument
170 switch (request[0]) { in dap_host_status()
172 if (request[1]) { in dap_host_status()
192 const uint8_t *const request, in dap_connect() argument
198 if (request[0] == DAP_PORT_AUTODETECT) { in dap_connect()
201 port = request[0]; in dap_connect()
255 const uint8_t *const request, in dap_delay() argument
258 uint16_t delay = sys_get_le16(&request[0]); in dap_delay()
[all …]
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c132 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()
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()
339 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_large_coap_request()
[all …]
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dlarge.c17 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()
130 payload = coap_packet_get_payload(request, &len); in large_update_put()
[all …]
Dtest.c17 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 …]
Dseparate.c15 struct coap_packet *request, in separate_get() argument
28 code = coap_header_get_code(request); in separate_get()
29 type = coap_header_get_type(request); in separate_get()
30 id = coap_header_get_id(request); in separate_get()
31 tkl = coap_header_get_token(request, token); in separate_get()
41 r = coap_ack_init(&response, request, data, sizeof(data), 0); in separate_get()
Dlocation_query.c15 struct coap_packet *request, in location_query_post() argument
31 code = coap_header_get_code(request); in location_query_post()
32 type = coap_header_get_type(request); in location_query_post()
33 id = coap_header_get_id(request); in location_query_post()
34 tkl = coap_header_get_token(request, token); in location_query_post()
Dquery.c15 struct coap_packet *request, in query_get() argument
29 code = coap_header_get_code(request); in query_get()
30 type = coap_header_get_type(request); in query_get()
31 id = coap_header_get_id(request); in query_get()
32 tkl = coap_header_get_token(request, token); in query_get()
34 r = coap_find_options(request, COAP_OPTION_URI_QUERY, options, 4); in query_get()
/Zephyr-latest/tests/subsys/debug/gdbstub/pytest/
Dconftest.py17 def gdb_script(request): argument
18 return request.config.getoption('--gdb_script')
22 def gdb_timeout(request): argument
23 return int(request.config.getoption('--gdb_timeout', default=60))
27 def gdb_target_remote(request): argument
28 return request.config.getoption('--gdb_target_remote', default=":5678")
/Zephyr-latest/drivers/fpga/
Dfpga_altera_agilex_bridge.c65 struct sip_svc_request request; in svc_client_close() local
83 request.header = SIP_SVC_PROTO_HEADER(SIP_SVC_PROTO_CMD_ASYNC, 0); in svc_client_close()
84 request.a0 = SMC_FUNC_ID_MAILBOX_SEND_COMMAND; in svc_client_close()
85 request.a1 = 0; in svc_client_close()
86 request.a2 = (uint64_t)cmd_addr; in svc_client_close()
87 request.a3 = (uint64_t)cmd_size; in svc_client_close()
88 request.a4 = 0; in svc_client_close()
89 request.a5 = 0; in svc_client_close()
90 request.a6 = 0; in svc_client_close()
91 request.a7 = 0; in svc_client_close()
[all …]
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_agilex_mailbox_shell.c120 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-latest/drivers/serial/
Duart_sy1xx.c53 static int32_t sy1xx_uart_read(const struct device *dev, sy1xx_uartTransfer_t *request);
54 static int32_t sy1xx_uart_write(const struct device *dev, sy1xx_uartTransfer_t *request);
108 int32_t sy1xx_uart_read(const struct device *dev, sy1xx_uartTransfer_t *request) in sy1xx_uart_read() argument
113 if (request == 0) { in sy1xx_uart_read()
117 uint32_t max_read_size = request->data_len; in sy1xx_uart_read()
119 request->data_len = 0; in sy1xx_uart_read()
136 request->data[i] = data->read[i]; in sy1xx_uart_read()
140 request->data_len = bytes_transferred; in sy1xx_uart_read()
165 int32_t sy1xx_uart_write(const struct device *dev, sy1xx_uartTransfer_t *request) in sy1xx_uart_write() argument
170 if (request == 0) { in sy1xx_uart_write()
[all …]
/Zephyr-latest/samples/subsys/sip_svc/src/
Dmain.c49 struct sip_svc_request request = {0}; in main() local
69 request.header = SIP_SVC_PROTO_HEADER(SIP_SVC_PROTO_CMD_ASYNC, 0); in main()
70 request.a0 = SMC_FUNC_ID_MAILBOX_SEND_COMMAND; in main()
71 request.resp_data_addr = (uint64_t)resp_addr; in main()
72 request.resp_data_size = (uint64_t)resp_size; in main()
73 request.priv_data = (void *)&priv; in main()
95 request.a2 = (uint64_t)cmd_addr; in main()
96 request.a3 = (uint64_t)cmd_size; in main()
98 trans_id = sip_svc_send(mb_smc_ctrl, mb_c_token, &request, get_voltage_callback); in main()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/pytest/pytest/
Dconftest.py21 def cmdopt(request): argument
22 return request.config.getoption('--cmdopt')
27 def custom_pytest_arg(request): argument
28 return request.config.getoption('--custom-pytest-arg')
/Zephyr-latest/samples/subsys/testsuite/pytest/basic/pytest/
Dconftest.py21 def cmdopt(request): argument
22 return request.config.getoption('--cmdopt')
27 def custom_pytest_arg(request): argument
28 return request.config.getoption('--custom-pytest-arg')
/Zephyr-latest/tests/net/socket/tls_configurations/pytest/
Dconftest.py14 def server_type(request): argument
15 return request.config.getoption('--server-type')
19 def port(request): argument
20 return request.config.getoption('--port')
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dmain.c60 union pd_rdo request; in dump_sink_request_rdo() local
62 request.raw_value = rdo; in dump_sink_request_rdo()
65 LOG_INF("\tObject Position:\t %d", request.fixed.object_pos); in dump_sink_request_rdo()
66 LOG_INF("\tGiveback:\t\t %d", request.fixed.giveback); in dump_sink_request_rdo()
67 LOG_INF("\tCapability Mismatch:\t %d", request.fixed.cap_mismatch); in dump_sink_request_rdo()
68 LOG_INF("\tUSB Comm Capable:\t %d", request.fixed.usb_comm_capable); in dump_sink_request_rdo()
69 LOG_INF("\tNo USB Suspend:\t\t %d", request.fixed.no_usb_suspend); in dump_sink_request_rdo()
70 LOG_INF("\tUnchunk Ext MSG Support: %d", request.fixed.unchunked_ext_msg_supported); in dump_sink_request_rdo()
72 PD_CONVERT_FIXED_PDO_CURRENT_TO_MA(request.fixed.operating_current)); in dump_sink_request_rdo()
73 if (request.fixed.giveback) { in dump_sink_request_rdo()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_stm32_ex_op.c27 const struct flash_stm32_ex_op_sector_wp_in *request = in flash_stm32_ex_op_sector_wp() local
37 if (request != NULL) { in flash_stm32_ex_op_sector_wp()
42 K_OOPS(k_usermode_from_copy(&in_copy, request, in flash_stm32_ex_op_sector_wp()
44 request = &in_copy; in flash_stm32_ex_op_sector_wp()
47 change_mask = request->enable_mask; in flash_stm32_ex_op_sector_wp()
51 change_mask |= request->disable_mask; in flash_stm32_ex_op_sector_wp()
57 dev, change_mask, request->enable_mask); in flash_stm32_ex_op_sector_wp()
159 const struct flash_stm32_ex_op_rdp *request = in flash_stm32_ex_op_rdp() local
171 if (request != NULL) { in flash_stm32_ex_op_rdp()
174 K_OOPS(k_usermode_from_copy(&copy, request, sizeof(copy))); in flash_stm32_ex_op_rdp()
[all …]
Dflash_hp_ra_ex_op.c171 const struct flash_ra_ex_write_protect_in *request);
287 const struct flash_ra_ex_write_protect_in *request = in flash_ra_ex_op_write_protect() local
296 if (request != NULL) { in flash_ra_ex_op_write_protect()
301 Z_OOPS(z_user_from_copy(&copy_in, request, sizeof(copy_in))); in flash_ra_ex_op_write_protect()
302 request = &copy_in; in flash_ra_ex_op_write_protect()
306 if ((request->protect_enable.BPS[0] & request->protect_disable.BPS[0]) || in flash_ra_ex_op_write_protect()
307 (request->protect_enable.BPS[1] & request->protect_disable.BPS[1]) || in flash_ra_ex_op_write_protect()
308 (request->protect_enable.BPS[2] & request->protect_disable.BPS[2]) || in flash_ra_ex_op_write_protect()
309 (request->protect_enable.BPS[3] & request->protect_disable.BPS[3])) { in flash_ra_ex_op_write_protect()
313 rc = flash_ra_block_protect_set(dev, request); in flash_ra_ex_op_write_protect()
[all …]
/Zephyr-latest/modules/lvgl/
Dlvgl_display.c117 void lvgl_flush_display(struct lvgl_display_flush *request) in lvgl_flush_display() argument
125 k_msgq_put(&flush_queue, request, K_FOREVER); in lvgl_flush_display()
132 (struct lvgl_disp_data *)lv_display_get_user_data(request->display); in lvgl_flush_display()
134 request->desc.frame_incomplete = !lv_display_flush_is_last(request->display); in lvgl_flush_display()
135 display_write(data->display_dev, request->x, request->y, &request->desc, request->buf); in lvgl_flush_display()
136 lv_display_flush_ready(request->display); in lvgl_flush_display()
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/src/
Dmain.c13 static const char request[] = {"PRO_CPU: request to APP_CPU"}; variable
49 ipm_send(ipm_dev, -1, sizeof(request), &request, sizeof(request)); in main()

12345678910>>...15