Home
last modified time | relevance | path

Searched refs:pcd_handle (Results 1 – 8 of 8) sorted by relevance

/rk3399_ARM-atf/include/drivers/st/
H A Dstm32mp1_usb.h13 struct pcd_handle *pcd_handle,
H A Dusb_dwc3.h234 struct pcd_handle *pcd_handle; member
238 struct pcd_handle *pcd_handle, dwc3_handle_t *dwc3_handle,
/rk3399_ARM-atf/plat/st/stm32mp1/
H A Dstm32mp1_usb_dfu.c351 static struct pcd_handle pcd_handle; variable
356 pcd_handle.in_ep[0].maxpacket = USB_MAX_EP0_SIZE; in usb_dfu_plat_init()
357 pcd_handle.out_ep[0].maxpacket = USB_MAX_EP0_SIZE; in usb_dfu_plat_init()
358 stm32mp1_usb_init_driver(&usb_core_handle, &pcd_handle, in usb_dfu_plat_init()
/rk3399_ARM-atf/plat/st/stm32mp2/
H A Dstm32mp2_usb_dfu.c323 static struct pcd_handle pcd_handle; variable
329 pcd_handle.in_ep[0].maxpacket = USB_MAX_EP0_SIZE; in usb_dfu_plat_init()
330 pcd_handle.out_ep[0].maxpacket = USB_MAX_EP0_SIZE; in usb_dfu_plat_init()
331 usb_dwc3_init_driver(&usb_core_handle, &pcd_handle, &dwc3_handle, in usb_dfu_plat_init()
/rk3399_ARM-atf/drivers/usb/
H A Dusb_device.c23 struct pcd_handle *hpcd = (struct pcd_handle *)pdev->data; in usb_core_set_stall()
245 pdev->driver->set_address(((struct pcd_handle *)(pdev->data))->instance, in usb_core_set_address()
637 struct pcd_handle *hpcd = (struct pcd_handle *)pdev->data; in usb_core_receive()
671 struct pcd_handle *hpcd = (struct pcd_handle *)pdev->data; in usb_core_transmit()
806 struct pcd_handle *pcd_handle, in register_usb_driver() argument
813 assert(pcd_handle != NULL); in register_usb_driver()
819 pdev->data = pcd_handle; in register_usb_driver()
/rk3399_ARM-atf/drivers/st/usb_dwc3/
H A Dusb_dwc3.c862 dwc3_handle->pcd_handle->out_ep[0].xfer_len = 8; in dwc3_ep0_out_start()
865 return dwc3_ep_start_xfer(dwc3_handle, &dwc3_handle->pcd_handle->out_ep[0]); in dwc3_ep0_out_start()
970 dwc3_ep_stop_xfer(dwc3_handle, &dwc3_handle->pcd_handle->in_ep[i]); in usb_dwc3_stop_device()
975 dwc3_ep_stop_xfer(dwc3_handle, &dwc3_handle->pcd_handle->out_ep[i]); in usb_dwc3_stop_device()
1119 ep = &dwc3_handle->pcd_handle->in_ep[ep_addr & ADDRESS_MASK]; in dwc3_epaddr_set_stall()
1122 ep = &dwc3_handle->pcd_handle->out_ep[ep_addr]; in dwc3_epaddr_set_stall()
1171 struct pcd_handle *pcd_handle = dwc3_handle->pcd_handle; in dwc3_handle_ep0_xfernotready_event() local
1182 api_memcpy(dwc3_handle->pcd_handle->setup, in dwc3_handle_ep0_xfernotready_event()
1184 sizeof(dwc3_handle->pcd_handle->setup)); in dwc3_handle_ep0_xfernotready_event()
1214 &pcd_handle->out_ep[0]); in dwc3_handle_ep0_xfernotready_event()
[all …]
/rk3399_ARM-atf/include/drivers/
H A Dusb_device.h241 struct pcd_handle { struct
267 struct pcd_handle *data; argument
284 struct pcd_handle *pcd_handle,
/rk3399_ARM-atf/drivers/st/usb/
H A Dstm32mp1_usb.c1083 struct pcd_handle *pcd_handle, in stm32mp1_usb_init_driver() argument
1086 register_usb_driver(usb_core_handle, pcd_handle, &usb_dwc2driver, in stm32mp1_usb_init_driver()