/u-boot/drivers/usb/musb-new/ |
A D | musb_gadget.c | 104 request->request.length); in map_dma_buffer() 111 request->request.buf, in map_dma_buffer() 112 request->request.length, in map_dma_buffer() 119 request->request.dma, in map_dma_buffer() 120 request->request.length, in map_dma_buffer() 142 request->request.dma, in unmap_dma_buffer() 143 request->request.length, in unmap_dma_buffer() 150 request->request.dma, in unmap_dma_buffer() 151 request->request.length, in unmap_dma_buffer() 346 request = &req->request; in txstate() [all …]
|
A D | musb_gadget_ep0.c | 478 req = &request->request; in ep0_rxstate() 540 request = &req->request; in ep0_txstate() 543 fifo_src = (u8 *) request->buf + request->actual; in ep0_txstate() 545 request->length - request->actual); in ep0_txstate() 551 || (request->actual == request->length in ep0_txstate() 552 && !request->zero)) { in ep0_txstate() 556 request = NULL; in ep0_txstate() 567 if (request) { in ep0_txstate() 931 req->request.actual = 0; in musb_g_ep0_queue() 960 req->request.length); in musb_g_ep0_queue() [all …]
|
A D | musb_gadget.h | 28 struct usb_request request; member 39 return req ? container_of(req, struct musb_request, request) : NULL; in to_musb_request()
|
/u-boot/drivers/usb/gadget/ |
A D | ep0.c | 429 struct usb_device_request *request; in ep0_recv_setup() local 439 request = &urb->device_request; in ep0_recv_setup() 449 request->bmRequestType, request->bRequest, in ep0_recv_setup() 450 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup() 451 le16_to_cpu (request->wLength), in ep0_recv_setup() 484 switch (request->bRequest) { in ep0_recv_setup() 520 switch (request->bRequest) { in ep0_recv_setup() 524 request->bmRequestType & in ep0_recv_setup() 558 switch (request->bRequest) { in ep0_recv_setup() 563 switch (request-> in ep0_recv_setup() [all …]
|
/u-boot/drivers/usb/cdns3/ |
A D | gadget.c | 423 memcpy(&((u8 *)request->buf)[request->actual], in cdns3_wa2_descmiss_copy_data() 591 if (!request) in cdns3_wa2_descmissing_packet() 644 struct usb_request *request = &priv_req->request; in cdns3_gadget_giveback() local 665 if (!request) in cdns3_gadget_giveback() 672 request); in cdns3_gadget_giveback() 1978 request->actual = 0; in __cdns3_gadget_ep_queue() 2023 if (!request || !ep) in cdns3_gadget_ep_queue() 2033 if (ret == 0 && request->zero && request->length && in cdns3_gadget_ep_queue() 2084 if (request == req) in cdns3_gadget_ep_dequeue() 2107 if (request) { in cdns3_gadget_ep_dequeue() [all …]
|
A D | ep0.c | 122 struct usb_request *request; in cdns3_ep0_complete_setup() local 125 if (request) in cdns3_ep0_complete_setup() 126 list_del_init(&request->list); in cdns3_ep0_complete_setup() 543 request->complete) { in __pending_setup_status_handler() 544 request->complete(&priv_dev->eps[0]->endpoint, request); in __pending_setup_status_handler() 579 struct usb_request *request; in cdns3_ep0_setup_phase() local 611 struct usb_request *request; in cdns3_transfer_completed() local 622 request->actual = in cdns3_transfer_completed() 756 request->actual = 0; in cdns3_gadget_ep0_queue() 793 if (request->zero && request->length && in cdns3_gadget_ep0_queue() [all …]
|
/u-boot/drivers/mmc/ |
A D | rpmb.c | 75 unsigned short request; member 159 if (be16_to_cpu(s->request) != expected) { in mmc_rpmb_response() 162 be16_to_cpu(s->request)); in mmc_rpmb_response() 181 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); in mmc_rpmb_status() 239 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); in mmc_rpmb_get_counter() 256 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); in mmc_rpmb_set_key() 275 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); in mmc_rpmb_read() 390 rsp->request = cpu_to_be16(RPMB_REQ_STATUS); in rpmb_route_write_req() 441 if (req[n].request != req->request) in rpmb_route_frames() 444 switch (be16_to_cpu(req->request)) { in rpmb_route_frames() [all …]
|
/u-boot/drivers/sysreset/ |
A D | sysreset-uclass.c | 30 if (!ops->request) in sysreset_request() 33 return ops->request(dev, type); in sysreset_request() 159 if (ops->request) in sysreset_post_bind() 160 ops->request += gd->reloc_off; in sysreset_post_bind()
|
A D | sysreset_sandbox.c | 101 .request = sandbox_sysreset_request, 119 .request = sandbox_warm_sysreset_request,
|
A D | sysreset_socfpga_soc64.c | 22 .request = socfpga_sysreset_request,
|
A D | sysreset_microblaze.c | 23 .request = microblaze_sysreset_request,
|
/u-boot/drivers/usb/dwc3/ |
A D | ep0.c | 118 req->request.actual = 0; in __dwc3_gadget_ep0_queue() 119 req->request.status = -EINPROGRESS; in __dwc3_gadget_ep0_queue() 230 request, dep->name); in dwc3_gadget_ep0_queue() 242 request, dep->name, request->length, in dwc3_gadget_ep0_queue() 384 dwc->ep0_usb_req.request.buf = dwc->setup_buf; in dwc3_ep0_handle_status() 666 dwc->ep0_usb_req.request.buf = dwc->setup_buf; in dwc3_ep0_set_sel() 808 ur = &r->request; in dwc3_ep0_complete_data() 939 if (req->request.length == 0) { in __dwc3_ep0_do_control_data() 956 if (req->request.length > DWC3_EP0_BOUNCE_SIZE) { in __dwc3_ep0_do_control_data() 960 req->request.dma, in __dwc3_ep0_do_control_data() [all …]
|
A D | gadget.c | 251 if (req->request.length) in dwc3_gadget_giveback() 252 dwc3_flush_cache((uintptr_t)req->request.dma, req->request.length); in dwc3_gadget_giveback() 255 req->request.status = status; in dwc3_gadget_giveback() 265 req->request.length, status); in dwc3_gadget_giveback() 690 return &req->request; in dwc3_gadget_ep_alloc_request() 694 struct usb_request *request) in dwc3_gadget_ep_free_request() argument 846 dma = req->request.dma; in dwc3_prepare_trbs() 965 req->request.actual = 0; in __dwc3_gadget_ep_queue() 1092 request, ep->name, request->length); in dwc3_gadget_ep_queue() 1132 request, ep->name); in dwc3_gadget_ep_dequeue() [all …]
|
A D | gadget.h | 60 #define to_dwc3_request(r) (container_of(r, struct dwc3_request, request)) 86 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
|
/u-boot/drivers/usb/emul/ |
A D | sandbox_hub.c | 214 switch (setup->request) { in sandbox_hub_submit_control_msg() 227 setup->request); in sandbox_hub_submit_control_msg() 231 switch (setup->request) { in sandbox_hub_submit_control_msg() 246 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg() 252 switch (setup->request) { in sandbox_hub_submit_control_msg() 286 setup->request); in sandbox_hub_submit_control_msg() 291 __func__, setup->requesttype, setup->request); in sandbox_hub_submit_control_msg()
|
/u-boot/lib/ |
A D | tpm-v1.c | 543 sha1_update(&hash_ctx, request + command_code_offset, 4); in create_request_auth() 546 request + TPM_REQUEST_HEADER_LENGTH + handles_len, in create_request_auth() 654 u8 request[COMMAND_BUFFER_SIZE]; in tpm_terminate_auth_session() local 656 if (pack_byte_string(request, sizeof(request), "sd", in tpm_terminate_auth_session() 663 return tpm_sendrecv_command(dev, request, NULL, NULL); in tpm_terminate_auth_session() 719 u8 request[sizeof(command) + TPM_KEY12_MAX_LENGTH + in tpm_load_key2_oiap() local 730 if (pack_byte_string(request, sizeof(request), "sdds", in tpm_load_key2_oiap() 742 request + sizeof(command) + key_length, in tpm_load_key2_oiap() 784 u8 request[sizeof(command) + TPM_REQUEST_AUTH_LENGTH]; in tpm_get_pub_key_oiap() local 795 if (pack_byte_string(request, sizeof(request), "sdd", in tpm_get_pub_key_oiap() [all …]
|
/u-boot/lib/efi_loader/ |
A D | efi_hii_config.c | 27 const efi_string_t request, in extract_config() argument 31 EFI_ENTRY("%p, \"%ls\", %p, %p", this, request, progress, results); in extract_config() 104 const efi_string_t request, in extract_config_access() argument 108 EFI_ENTRY("%p, \"%ls\", %p, %p", this, request, progress, results); in extract_config_access()
|
/u-boot/drivers/video/ |
A D | logicore_dp_tx.c | 376 struct aux_transaction *request) in aux_request_send() argument 396 if (request->cmd_code == AUX_CMD_WRITE || in aux_request_send() 408 ((request->cmd_code << AUX_CMD_SHIFT) | in aux_request_send() 409 ((request->num_bytes - 1) & in aux_request_send() 432 if (request->cmd_code == AUX_CMD_READ || in aux_request_send() 444 } while (status != request->num_bytes); in aux_request_send() 521 struct aux_transaction request; in aux_common() local 528 request.address = address; in aux_common() 534 request.cmd_code = cmd_type; in aux_common() 546 bytes_left -= request.num_bytes; in aux_common() [all …]
|
/u-boot/include/ |
A D | misc.h | 41 int misc_ioctl(struct udevice *dev, unsigned long request, void *buf); 118 int (*ioctl)(struct udevice *dev, unsigned long request, void *buf);
|
/u-boot/test/py/tests/test_fs/ |
A D | conftest.py | 247 def fs_obj_basic(request, u_boot_config): argument 258 fs_type = request.param 363 def fs_obj_ext(request, u_boot_config): argument 374 fs_type = request.param 458 def fs_obj_mkdir(request, u_boot_config): argument 469 fs_type = request.param 489 def fs_obj_unlink(request, u_boot_config): argument 500 fs_type = request.param 563 def fs_obj_symlink(request, u_boot_config): argument 574 fs_type = request.param
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_gadget_ep0.c | 219 mtu->ep0_req.request.length = 6; in ep0_set_sel() 220 mtu->ep0_req.request.buf = mtu->setup_buf; in ep0_set_sel() 286 mtu->ep0_req.request.length = 2; in ep0_get_status() 544 req = &mreq->request; in ep0_rx_state() 599 req = &mreq->request; in ep0_tx_state() 643 ep0_req_giveback(mtu, &mreq->request); in ep0_read_setup() 699 ep0_req_giveback(mtu, &mreq->request); in ep0_handle_setup() 709 if (mreq && !mreq->request.length) in ep0_handle_setup() 710 ep0_req_giveback(mtu, &mreq->request); in ep0_handle_setup() 817 mreq->request.actual = 0; in ep0_queue() [all …]
|
/u-boot/drivers/misc/ |
A D | misc-uclass.c | 37 int misc_ioctl(struct udevice *dev, unsigned long request, void *buf) in misc_ioctl() argument 44 return ops->ioctl(dev, request, buf); in misc_ioctl()
|
/u-boot/scripts/kconfig/tests/ |
A D | conftest.py | 30 def __init__(self, request): argument 36 self._test_dir = os.path.dirname(str(request.fspath)) 289 def conf(request): argument 291 return Conf(request)
|
/u-boot/arch/mips/mach-mtmips/mt7620/ |
A D | sysc.c | 56 static int mt7620_sysc_ioctl(struct udevice *dev, unsigned long request, in mt7620_sysc_ioctl() argument 67 switch (request) { in mt7620_sysc_ioctl() 99 if (request == MT7620_SYSC_IOCTL_SET_GE1_MODE) in mt7620_sysc_ioctl()
|
/u-boot/drivers/ufs/ |
A D | ufs.c | 750 UPIU_HEADER_DWORD(0, query->request.query_func, in ufshcd_prepare_utp_query_req_upiu() 965 struct ufs_query_req **request, in ufshcd_init_query() argument 970 *request = &hba->dev_cmd.query.request; in ufshcd_init_query() 972 memset(*request, 0, sizeof(struct ufs_query_req)); in ufshcd_init_query() 974 (*request)->upiu_req.opcode = opcode; in ufshcd_init_query() 975 (*request)->upiu_req.idn = idn; in ufshcd_init_query() 976 (*request)->upiu_req.index = index; in ufshcd_init_query() 977 (*request)->upiu_req.selector = selector; in ufshcd_init_query() 986 struct ufs_query_req *request = NULL; in ufshcd_query_flag() local 1064 struct ufs_query_req *request = NULL; in __ufshcd_query_descriptor() local [all …]
|