Searched refs:pcd (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_stm32.c | 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() [all …]
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_stm32.c | 46 PCD_HandleTypeDef pcd; member 73 #define hpcd2data(hpcd) CONTAINER_OF(hpcd, struct udc_stm32_data, pcd); 85 HAL_PCD_EP_Open(&priv->pcd, USB_CONTROL_EP_OUT, cfg->ep0_mps, in HAL_PCD_ResetCallback() 91 HAL_PCD_EP_Open(&priv->pcd, USB_CONTROL_EP_IN, cfg->ep0_mps, in HAL_PCD_ResetCallback() 141 HAL_PCD_EP_Receive(&priv->pcd, cfg->addr, buf->data, buf->size); in usbd_ctrl_feed_dout() 149 struct usb_setup_packet *setup = (void *)priv->pcd.Setup; in HAL_PCD_SetupStageCallback() 174 HAL_PCD_SetAddress(&priv->pcd, setup->wValue); in HAL_PCD_SetupStageCallback() 221 status = HAL_PCD_EP_Transmit(&priv->pcd, ep, data, len); in udc_stm32_tx() 251 status = HAL_PCD_EP_Receive(&priv->pcd, ep, buf->data, buf->size); in udc_stm32_rx() 323 HAL_PCD_EP_Transmit(&priv->pcd, ep, buf->data, len); in HAL_PCD_DataInStageCallback() [all …]
|