Home
last modified time | relevance | path

Searched refs:ep0_req (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c196 mtu->ep0_req.mep = mtu->ep0; in ep0_set_sel()
197 mtu->ep0_req.request.length = 6; in ep0_set_sel()
198 mtu->ep0_req.request.buf = mtu->setup_buf; in ep0_set_sel()
199 mtu->ep0_req.request.complete = ep0_set_sel_complete; in ep0_set_sel()
200 ret = ep0_queue(mtu->ep0, &mtu->ep0_req); in ep0_set_sel()
265 mtu->ep0_req.mep = mtu->ep0; in ep0_get_status()
266 mtu->ep0_req.request.length = 2; in ep0_get_status()
267 mtu->ep0_req.request.buf = &mtu->setup_buf; in ep0_get_status()
268 mtu->ep0_req.request.complete = ep0_dummy_complete; in ep0_get_status()
269 ret = ep0_queue(mtu->ep0, &mtu->ep0_req); in ep0_get_status()
Dmtu3.h345 struct mtu3_request ep0_req; member
/linux-6.1.9/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c702 bdc->ep0_req.ep = ep; in ep0_queue_data_stage()
703 bdc->ep0_req.usb_req.complete = NULL; in ep0_queue_data_stage()
705 return ep0_queue(ep, &bdc->ep0_req); in ep0_queue_data_stage()
1372 bdc->ep0_req.usb_req.length = 2; in ep0_handle_status()
1373 bdc->ep0_req.usb_req.buf = &bdc->ep0_response_buff; in ep0_handle_status()
1398 bdc->ep0_req.ep = ep; in ep0_set_sel()
1399 bdc->ep0_req.usb_req.length = 6; in ep0_set_sel()
1400 bdc->ep0_req.usb_req.buf = bdc->ep0_response_buff; in ep0_set_sel()
1401 bdc->ep0_req.usb_req.complete = ep0_set_sel_cmpl; in ep0_set_sel()
1416 bdc->ep0_req.ep = bdc->bdc_ep_array[1]; in ep0_queue_zlp()
[all …]
Dbdc.h428 struct bdc_req ep0_req; member
/linux-6.1.9/drivers/usb/gadget/udc/
Dm66592-udc.c992 m66592->ep0_req->buf = &m66592->ep0_data; in get_status()
993 m66592->ep0_req->length = 2; in get_status()
996 m66592_queue(m66592->gadget.ep0, m66592->ep0_req, GFP_KERNEL); in get_status()
1525 m66592_free_request(&m66592->ep[0].ep, m66592->ep0_req); in m66592_remove()
1652 m66592->ep0_req = m66592_alloc_request(&m66592->ep[0].ep, GFP_KERNEL); in m66592_probe()
1653 if (m66592->ep0_req == NULL) { in m66592_probe()
1657 m66592->ep0_req->complete = nop_completion; in m66592_probe()
1669 m66592_free_request(&m66592->ep[0].ep, m66592->ep0_req); in m66592_probe()
1670 m66592->ep0_req = NULL; in m66592_probe()
1680 if (m66592->ep0_req) in m66592_probe()
[all …]
Dfusb300_udc.c715 fusb300->ep0_req->buf = &fusb300->ep0_data; in get_status()
716 fusb300->ep0_req->length = 2; in get_status()
719 fusb300_queue(fusb300->gadget.ep0, fusb300->ep0_req, GFP_KERNEL); in get_status()
1351 fusb300_free_request(&fusb300->ep[0]->ep, fusb300->ep0_req); in fusb300_remove()
1470 fusb300->ep0_req = fusb300_alloc_request(&fusb300->ep[0]->ep, in fusb300_probe()
1472 if (fusb300->ep0_req == NULL) { in fusb300_probe()
1487 fusb300_free_request(&fusb300->ep[0]->ep, fusb300->ep0_req); in fusb300_probe()
1494 if (fusb300->ep0_req) in fusb300_probe()
1496 fusb300->ep0_req); in fusb300_probe()
Dfotg210-udc.c736 fotg210->ep0_req->buf = &fotg210->ep0_data; in fotg210_get_status()
737 fotg210->ep0_req->length = 2; in fotg210_get_status()
740 fotg210_ep_queue(fotg210->gadget.ep0, fotg210->ep0_req, GFP_ATOMIC); in fotg210_get_status()
1080 fotg210_ep_free_request(&fotg210->ep[0]->ep, fotg210->ep0_req); in fotg210_udc_remove()
1170 fotg210->ep0_req = fotg210_ep_alloc_request(&fotg210->ep[0]->ep, in fotg210_udc_probe()
1172 if (fotg210->ep0_req == NULL) in fotg210_udc_probe()
1198 fotg210_ep_free_request(&fotg210->ep[0]->ep, fotg210->ep0_req); in fotg210_udc_probe()
Dr8a66597-udc.c1189 r8a66597->ep0_req->buf = &r8a66597->ep0_data; in get_status()
1190 r8a66597->ep0_req->length = 2; in get_status()
1193 r8a66597_queue(r8a66597->gadget.ep0, r8a66597->ep0_req, GFP_ATOMIC); in get_status()
1814 r8a66597_free_request(&r8a66597->ep[0].ep, r8a66597->ep0_req); in r8a66597_remove()
1940 r8a66597->ep0_req = r8a66597_alloc_request(&r8a66597->ep[0].ep, in r8a66597_probe()
1942 if (r8a66597->ep0_req == NULL) { in r8a66597_probe()
1946 r8a66597->ep0_req->complete = nop_completion; in r8a66597_probe()
1956 r8a66597_free_request(&r8a66597->ep[0].ep, r8a66597->ep0_req); in r8a66597_probe()
1961 if (r8a66597->ep0_req) in r8a66597_probe()
1962 r8a66597_free_request(&r8a66597->ep[0].ep, r8a66597->ep0_req); in r8a66597_probe()
Drenesas_usb3.c360 struct usb_request *ep0_req; member
1600 usb3->ep0_req->buf = &usb3->ep0_buf; in usb3_pipe0_internal_xfer()
1601 usb3->ep0_req->length = len; in usb3_pipe0_internal_xfer()
1602 usb3->ep0_req->complete = complete; in usb3_pipe0_internal_xfer()
1603 renesas_usb3_ep_queue(&usb3_ep->ep, usb3->ep0_req, GFP_ATOMIC); in usb3_pipe0_internal_xfer()
1643 usb_req_to_usb3_req(usb3->ep0_req)); in usb3_std_req_get_status()
1800 usb_req_to_usb3_req(usb3->ep0_req)); in usb3_std_req_set_sel()
2606 __renesas_usb3_ep_free_request(usb3->ep0_req); in renesas_usb3_remove()
2858 usb3->ep0_req = __renesas_usb3_ep_alloc_request(GFP_KERNEL); in renesas_usb3_probe()
2859 if (!usb3->ep0_req) in renesas_usb3_probe()
[all …]
Dfotg210.h242 struct usb_request *ep0_req; /* for internal request */ member
Dtegra-xudc.c484 struct tegra_xudc_request *ep0_req; member
2197 xudc->ep0_req->usb_req.buf = NULL; in tegra_xudc_ep0_queue_status()
2198 xudc->ep0_req->usb_req.dma = 0; in tegra_xudc_ep0_queue_status()
2199 xudc->ep0_req->usb_req.length = 0; in tegra_xudc_ep0_queue_status()
2200 xudc->ep0_req->usb_req.complete = cmpl; in tegra_xudc_ep0_queue_status()
2201 xudc->ep0_req->usb_req.context = xudc; in tegra_xudc_ep0_queue_status()
2203 return __tegra_xudc_ep_queue(&xudc->ep[0], xudc->ep0_req); in tegra_xudc_ep0_queue_status()
2210 xudc->ep0_req->usb_req.buf = buf; in tegra_xudc_ep0_queue_data()
2211 xudc->ep0_req->usb_req.length = len; in tegra_xudc_ep0_queue_data()
2212 xudc->ep0_req->usb_req.complete = cmpl; in tegra_xudc_ep0_queue_data()
[all …]
Dr8a66597-udc.h101 struct usb_request *ep0_req; /* for internal request */ member
Dm66592-udc.h476 struct usb_request *ep0_req; /* for internal request */ member
Dfusb300_udc.h663 struct usb_request *ep0_req; /* for internal request */ member
/linux-6.1.9/drivers/staging/emxx_udc/
Demxx_udc.c167 udc->ep0_req.req.buf = p_buf; in _nbu2ss_create_ep0_packet()
168 udc->ep0_req.req.length = length; in _nbu2ss_create_ep0_packet()
169 udc->ep0_req.req.dma = 0; in _nbu2ss_create_ep0_packet()
170 udc->ep0_req.req.zero = true; in _nbu2ss_create_ep0_packet()
171 udc->ep0_req.req.complete = _nbu2ss_ep0_complete; in _nbu2ss_create_ep0_packet()
172 udc->ep0_req.req.status = -EINPROGRESS; in _nbu2ss_create_ep0_packet()
173 udc->ep0_req.req.context = udc; in _nbu2ss_create_ep0_packet()
174 udc->ep0_req.req.actual = 0; in _nbu2ss_create_ep0_packet()
1521 _nbu2ss_ep0_in_transfer(udc, &udc->ep0_req); in std_req_get_status()
1680 req = &udc->ep0_req; in _nbu2ss_ep0_in_data_stage()
[all …]
Demxx_udc.h524 struct nbu2ss_req ep0_req; member