Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-a-latest/drivers/usb/
Dusb_device.c30 static enum usb_status usb_core_set_stall(struct usb_handle *pdev, uint8_t ep_addr) in usb_core_set_stall() argument
33 struct pcd_handle *hpcd = (struct pcd_handle *)pdev->data; in usb_core_set_stall()
49 pdev->driver->ep_set_stall(hpcd->instance, ep); in usb_core_set_stall()
51 pdev->driver->ep0_out_start(hpcd->instance); in usb_core_set_stall()
63 static void usb_core_get_desc(struct usb_handle *pdev, struct usb_setup_req *req) in usb_core_get_desc() argument
72 pbuf = pdev->desc->get_device_desc(&len); in usb_core_get_desc()
76 pbuf = pdev->desc->get_config_desc(&len); in usb_core_get_desc()
82 pbuf = pdev->desc->get_lang_id_desc(&len); in usb_core_get_desc()
86 pbuf = pdev->desc->get_manufacturer_desc(&len); in usb_core_get_desc()
90 pbuf = pdev->desc->get_product_desc(&len); in usb_core_get_desc()
[all …]
/trusted-firmware-a-latest/plat/st/common/
Dusb_dfu.c64 static uint8_t usb_dfu_init(struct usb_handle *pdev, uint8_t cfgidx) in usb_dfu_init() argument
66 (void)pdev; in usb_dfu_init()
80 static uint8_t usb_dfu_de_init(struct usb_handle *pdev, uint8_t cfgidx) in usb_dfu_de_init() argument
82 (void)pdev; in usb_dfu_de_init()
96 static uint8_t usb_dfu_data_in(struct usb_handle *pdev, uint8_t epnum) in usb_dfu_data_in() argument
98 (void)pdev; in usb_dfu_data_in()
110 static uint8_t usb_dfu_ep0_rx_ready(struct usb_handle *pdev) in usb_dfu_ep0_rx_ready() argument
112 (void)pdev; in usb_dfu_ep0_rx_ready()
123 static uint8_t usb_dfu_ep0_tx_ready(struct usb_handle *pdev) in usb_dfu_ep0_tx_ready() argument
125 (void)pdev; in usb_dfu_ep0_tx_ready()
[all …]
Dbl2_io_storage.c382 struct usb_handle *pdev; in stm32cubeprogrammer_usb() local
385 pdev = usb_dfu_plat_init(); in stm32cubeprogrammer_usb()
387 ret = stm32cubeprog_usb_load(pdev, DWL_BUFFER_BASE, DWL_BUFFER_SIZE); in stm32cubeprogrammer_usb()
/trusted-firmware-a-latest/include/drivers/
Dusb_device.h117 uint8_t (*init)(struct usb_handle *pdev, uint8_t cfgidx);
118 uint8_t (*de_init)(struct usb_handle *pdev, uint8_t cfgidx);
120 uint8_t (*setup)(struct usb_handle *pdev, struct usb_setup_req *req);
121 uint8_t (*ep0_tx_sent)(struct usb_handle *pdev);
122 uint8_t (*ep0_rx_ready)(struct usb_handle *pdev);
124 uint8_t (*data_in)(struct usb_handle *pdev, uint8_t epnum);
125 uint8_t (*data_out)(struct usb_handle *pdev, uint8_t epnum);
126 uint8_t (*sof)(struct usb_handle *pdev);
127 uint8_t (*iso_in_incomplete)(struct usb_handle *pdev, uint8_t epnum);
128 uint8_t (*iso_out_incomplete)(struct usb_handle *pdev, uint8_t epnum);
[all …]
/trusted-firmware-a-latest/plat/st/common/include/
Dusb_dfu.h73 void usb_dfu_register(struct usb_handle *pdev, struct usb_dfu_handle *phandle);
75 int usb_dfu_loop(struct usb_handle *pdev, const struct usb_dfu_media *pmedia);