Lines Matching refs:pcd_handle
862 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()
1232 &pcd_handle->in_ep[0]); in dwc3_handle_ep0_xfernotready_event()
1267 ep = &dwc3_handle->pcd_handle->in_ep[ep_num]; in dwc3_handle_ep_event()
1270 ep = &dwc3_handle->pcd_handle->out_ep[ep_num]; in dwc3_handle_ep_event()
1360 api_memcpy(dwc3_handle->pcd_handle->setup, in dwc3_handle_ep_event()
1362 sizeof(dwc3_handle->pcd_handle->setup)); in dwc3_handle_ep_event()
1698 ret = dwc3_ep_stop_xfer(dwc3_handle, &dwc3_handle->pcd_handle->out_ep[0]); in dwc3_handle_dev_event()
1714 &dwc3_handle->pcd_handle->in_ep[i]); in dwc3_handle_dev_event()
1721 &dwc3_handle->pcd_handle->out_ep[i]); in dwc3_handle_dev_event()
1821 dwc3_handle->pcd_handle->out_ep[0].maxpacket = ep0_mps; in dwc3_handle_dev_event()
1822 dwc3_handle->pcd_handle->in_ep[0].maxpacket = ep0_mps; in dwc3_handle_dev_event()
2227 dwc3_handle->pcd_handle->out_ep[0].maxpacket, 0, 0, 0, in dwc3_dev_init()
2234 dwc3_handle->pcd_handle->in_ep[0].maxpacket, 0, 0, 1, in dwc3_dev_init()
2301 void usb_dwc3_init_driver(struct usb_handle *usb_core_handle, struct pcd_handle *pcd_handle, in usb_dwc3_init_driver() argument
2314 dwc3_handle->pcd_handle = pcd_handle; in usb_dwc3_init_driver()
2336 pcd_handle->in_ep[i].is_in = true; in usb_dwc3_init_driver()
2337 pcd_handle->in_ep[i].num = i; in usb_dwc3_init_driver()
2340 pcd_handle->in_ep[i].type = EP_TYPE_CTRL; in usb_dwc3_init_driver()
2359 pcd_handle->out_ep[i].is_in = false; in usb_dwc3_init_driver()
2360 pcd_handle->out_ep[i].num = i; in usb_dwc3_init_driver()
2363 pcd_handle->out_ep[i].type = EP_TYPE_CTRL; in usb_dwc3_init_driver()
2440 register_usb_driver(usb_core_handle, pcd_handle, &usb_dwc3driver, in usb_dwc3_init_driver()