• Home
  • Raw
  • Download

Lines Matching refs:pdev

78 extern USBD_StatusTypeDef USBD_LL_BatteryCharging(USBD_HandleTypeDef *pdev);
342 USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) in USBD_LL_Init() argument
345 if (pdev->id == DEVICE_FS) { in USBD_LL_Init()
348 hpcd_USB_OTG_FS.pData = pdev; in USBD_LL_Init()
349 pdev->pData = &hpcd_USB_OTG_FS; in USBD_LL_Init()
379 USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev) in USBD_LL_DeInit() argument
384 hal_status = HAL_PCD_DeInit(pdev->pData); in USBD_LL_DeInit()
411 USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) in USBD_LL_Start() argument
416 hal_status = HAL_PCD_Start(pdev->pData); in USBD_LL_Start()
443 USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev) in USBD_LL_Stop() argument
448 hal_status = HAL_PCD_Stop(pdev->pData); in USBD_LL_Stop()
478 USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint1… in USBD_LL_OpenEP() argument
483 hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); in USBD_LL_OpenEP()
511 USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) in USBD_LL_CloseEP() argument
516 hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr); in USBD_LL_CloseEP()
544 USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) in USBD_LL_FlushEP() argument
549 hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr); in USBD_LL_FlushEP()
577 USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) in USBD_LL_StallEP() argument
582 hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr); in USBD_LL_StallEP()
610 USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) in USBD_LL_ClearStallEP() argument
615 hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); in USBD_LL_ClearStallEP()
643 uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) in USBD_LL_IsStallEP() argument
645 PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; in USBD_LL_IsStallEP()
663 USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr) in USBD_LL_SetUSBAddress() argument
668 hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr); in USBD_LL_SetUSBAddress()
698 USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint1… in USBD_LL_Transmit() argument
703 hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size); in USBD_LL_Transmit()
733 USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf,… in USBD_LL_PrepareReceive() argument
738 hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size); in USBD_LL_PrepareReceive()
766 uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr) in USBD_LL_GetRxDataSize() argument
768 return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); in USBD_LL_GetRxDataSize()
881 USBD_StatusTypeDef USBD_LL_BatteryCharging(USBD_HandleTypeDef *pdev) in USBD_LL_BatteryCharging() argument
883 PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*)pdev->pData; in USBD_LL_BatteryCharging()