Lines Matching refs:pcd

167 	PCD_HandleTypeDef pcd;	/* Storage for the HAL_PCD api */  member
201 HAL_PCD_IRQHandler(&usb_dc_stm32_state.pcd); in usb_dc_stm32_isr()
474 usb_dc_stm32_state.pcd.Instance = USB; in usb_dc_stm32_init()
476 usb_dc_stm32_state.pcd.Instance = USB_DRD_FS; in usb_dc_stm32_init()
478 usb_dc_stm32_state.pcd.Init.speed = PCD_SPEED_FULL; in usb_dc_stm32_init()
479 usb_dc_stm32_state.pcd.Init.dev_endpoints = USB_NUM_BIDIR_ENDPOINTS; in usb_dc_stm32_init()
480 usb_dc_stm32_state.pcd.Init.phy_itface = PCD_PHY_EMBEDDED; in usb_dc_stm32_init()
481 usb_dc_stm32_state.pcd.Init.ep0_mps = PCD_EP0MPS_64; in usb_dc_stm32_init()
482 usb_dc_stm32_state.pcd.Init.low_power_enable = 0; in usb_dc_stm32_init()
485 usb_dc_stm32_state.pcd.Instance = USB_OTG_HS; in usb_dc_stm32_init()
487 usb_dc_stm32_state.pcd.Instance = USB_OTG_FS; in usb_dc_stm32_init()
489 usb_dc_stm32_state.pcd.Init.dev_endpoints = USB_NUM_BIDIR_ENDPOINTS; in usb_dc_stm32_init()
490 usb_dc_stm32_state.pcd.Init.speed = usb_dc_stm32_get_maximum_speed(); in usb_dc_stm32_init()
492 usb_dc_stm32_state.pcd.Init.phy_itface = USB_OTG_HS_EMBEDDED_PHY; in usb_dc_stm32_init()
494 usb_dc_stm32_state.pcd.Init.phy_itface = USB_OTG_ULPI_PHY; in usb_dc_stm32_init()
496 usb_dc_stm32_state.pcd.Init.phy_itface = PCD_PHY_EMBEDDED; in usb_dc_stm32_init()
498 usb_dc_stm32_state.pcd.Init.ep0_mps = USB_OTG_MAX_EP0_SIZE; in usb_dc_stm32_init()
499 usb_dc_stm32_state.pcd.Init.vbus_sensing_enable = USB_VBUS_SENSING ? ENABLE : DISABLE; in usb_dc_stm32_init()
502 usb_dc_stm32_state.pcd.Init.dma_enable = DISABLE; in usb_dc_stm32_init()
508 usb_dc_stm32_state.pcd.Init.Sof_enable = 1; in usb_dc_stm32_init()
540 status = HAL_PCD_Init(&usb_dc_stm32_state.pcd); in usb_dc_stm32_init()
550 status = HAL_PCD_Stop(&usb_dc_stm32_state.pcd); in usb_dc_stm32_init()
557 status = HAL_PCD_Start(&usb_dc_stm32_state.pcd); in usb_dc_stm32_init()
578 HAL_PCDEx_SetRxFiFo(&usb_dc_stm32_state.pcd, RX_FIFO_EP_WORDS); in usb_dc_stm32_init()
582 HAL_PCDEx_SetTxFiFo(&usb_dc_stm32_state.pcd, i, in usb_dc_stm32_init()
585 HAL_PCDEx_SetTxFiFo(&usb_dc_stm32_state.pcd, i, in usb_dc_stm32_init()
694 status = HAL_PCD_SetAddress(&usb_dc_stm32_state.pcd, addr); in usb_dc_set_address()
720 status = HAL_PCD_EP_Receive(&usb_dc_stm32_state.pcd, ep, in usb_dc_ep_start_read()
739 *read_bytes = HAL_PCD_EP_GetRxCount(&usb_dc_stm32_state.pcd, ep); in usb_dc_ep_get_read_count()
789 HAL_PCDEx_PMAConfig(&usb_dc_stm32_state.pcd, ep, PCD_DBL_BUF, in usb_dc_ep_configure()
795 HAL_PCDEx_PMAConfig(&usb_dc_stm32_state.pcd, ep, PCD_SNG_BUF, in usb_dc_ep_configure()
841 status = HAL_PCD_EP_SetStall(&usb_dc_stm32_state.pcd, ep); in usb_dc_ep_set_stall()
864 status = HAL_PCD_EP_ClrStall(&usb_dc_stm32_state.pcd, ep); in usb_dc_ep_clear_stall()
906 status = HAL_PCD_EP_Open(&usb_dc_stm32_state.pcd, ep, in usb_dc_ep_enable()
934 status = HAL_PCD_EP_Close(&usb_dc_stm32_state.pcd, ep); in usb_dc_ep_disable()
973 status = HAL_PCD_EP_Transmit(&usb_dc_stm32_state.pcd, ep, in usb_dc_ep_write()
1109 status = HAL_PCD_ActivateRemoteWakeup(&usb_dc_stm32_state.pcd); in usb_dc_wakeup_request()
1117 status = HAL_PCD_DeActivateRemoteWakeup(&usb_dc_stm32_state.pcd); in usb_dc_wakeup_request()
1131 status = HAL_PCD_DeInit(&usb_dc_stm32_state.pcd); in usb_dc_detach()
1164 HAL_PCD_EP_Open(&usb_dc_stm32_state.pcd, EP0_IN, EP0_MPS, EP_TYPE_CTRL); in HAL_PCD_ResetCallback()
1165 HAL_PCD_EP_Open(&usb_dc_stm32_state.pcd, EP0_OUT, EP0_MPS, in HAL_PCD_ResetCallback()
1218 struct usb_setup_packet *setup = (void *)usb_dc_stm32_state.pcd.Setup; in HAL_PCD_SetupStageCallback()
1229 usb_dc_stm32_state.pcd.Setup, ep_state->read_count); in HAL_PCD_SetupStageCallback()
1250 HAL_PCD_EP_GetRxCount(&usb_dc_stm32_state.pcd, epnum)); in HAL_PCD_DataOutStageCallback()