Home
last modified time | relevance | path

Searched refs:epnum (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-a-3.6.0-3.5.0/drivers/st/usb/
Dstm32mp1_usb.c311 static uint32_t usb_dwc2_out_ep_int(void *handle, uint8_t epnum) in usb_dwc2_out_ep_int() argument
316 (epnum * OTG_DOEP_SIZE) + OTG_DOEPINT) & in usb_dwc2_out_ep_int()
327 static uint32_t usb_dwc2_in_ep_int(void *handle, uint8_t epnum) in usb_dwc2_in_ep_int() argument
335 msk |= ((emp >> epnum) << OTG_DIEPINT_TXFE_SHIFT) & OTG_DIEPINT_TXFE; in usb_dwc2_in_ep_int()
338 (epnum * OTG_DIEP_SIZE) + OTG_DIEPINT) & msk; in usb_dwc2_in_ep_int()
735 uint32_t epnum, in usb_dwc2_write_empty_tx_fifo() argument
755 reg_offset = usb_base_addr + OTG_DIEP_BASE + (epnum * OTG_DIEP_SIZE); in usb_dwc2_write_empty_tx_fifo()
769 ret = usb_dwc2_write_packet(handle, *xfer_buff, epnum, len); in usb_dwc2_write_empty_tx_fifo()
779 mmio_clrbits_32(usb_base_addr + OTG_DIEPEMPMSK, BIT(epnum)); in usb_dwc2_write_empty_tx_fifo()
796 uint32_t epnum; in usb_dwc2_it_handler() local
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/st/common/
Dusb_dfu.c96 static uint8_t usb_dfu_data_in(struct usb_handle *pdev, uint8_t epnum) in usb_dfu_data_in() argument
99 (void)epnum; in usb_dfu_data_in()
150 static uint8_t usb_dfu_iso_in_incomplete(struct usb_handle *pdev, uint8_t epnum) in usb_dfu_iso_in_incomplete() argument
153 (void)epnum; in usb_dfu_iso_in_incomplete()
166 uint8_t epnum) in usb_dfu_iso_out_incomplete() argument
169 (void)epnum; in usb_dfu_iso_out_incomplete()
181 static uint8_t usb_dfu_data_out(struct usb_handle *pdev, uint8_t epnum) in usb_dfu_data_out() argument
184 (void)epnum; in usb_dfu_data_out()
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/
Dusb_device.h124 uint8_t (*data_in)(struct usb_handle *pdev, uint8_t epnum);
125 uint8_t (*data_out)(struct usb_handle *pdev, uint8_t epnum);
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);
221 uint32_t epnum, uint32_t xfer_len,
/trusted-firmware-a-3.6.0-3.5.0/drivers/usb/
Dusb_device.c382 static enum usb_status usb_core_data_out(struct usb_handle *pdev, uint8_t epnum, in usb_core_data_out() argument
387 if (epnum == 0U) { in usb_core_data_out()
407 pdev->class->data_out(pdev, epnum); in usb_core_data_out()
421 static enum usb_status usb_core_data_in(struct usb_handle *pdev, uint8_t epnum, in usb_core_data_in() argument
424 if (epnum == 0U) { in usb_core_data_in()
460 pdev->class->data_in(pdev, epnum); in usb_core_data_in()