Home
last modified time | relevance | path

Searched refs:ep_addr (Results 1 – 25 of 681) sorted by relevance

12345678910>>...28

/dports/devel/tinygo/tinygo-0.14.1/lib/CMSIS/CMSIS/Pack/Example/CMSIS_Driver/
H A DUSBD1_LPC18xx.c121 #define EP_NUM(ep_addr) (ep_addr & ARM_USB_ENDPOINT_NUMBER_MASK) argument
122 #define EP_DIR(ep_addr) ((ep_addr >> 7) & 1U) argument
123 #define EP_SLL(ep_addr) (EP_DIR(ep_addr) * 16U) argument
124 #define EP_IDX(ep_addr) ((EP_NUM(ep_addr) * 2U) + ((ep_addr >> 7) & 1U)) argument
125 #define EP_MSK(ep_addr) (1UL << (EP_NUM(ep_addr) + EP_SLL(ep_addr))) argument
175 ep_msk = EP_MSK(ep_addr); in USBD_HW_EndpointFlush()
560 ep_num = EP_NUM(ep_addr); in USBD_EndpointConfigure()
623 ep_num = EP_NUM(ep_addr); in USBD_EndpointUnconfigure()
666 ep_num = EP_NUM(ep_addr); in USBD_EndpointStall()
749 ep_num = EP_NUM(ep_addr); in USBD_EndpointTransferAbort()
[all …]
H A DUSBD0_LPC18xx.c122 #define EP_NUM(ep_addr) (ep_addr & ARM_USB_ENDPOINT_NUMBER_MASK) argument
123 #define EP_DIR(ep_addr) ((ep_addr >> 7) & 1U) argument
124 #define EP_SLL(ep_addr) (EP_DIR(ep_addr) * 16U) argument
125 #define EP_IDX(ep_addr) ((EP_NUM(ep_addr) * 2U) + ((ep_addr >> 7) & 1U)) argument
126 #define EP_MSK(ep_addr) (1UL << (EP_NUM(ep_addr) + EP_SLL(ep_addr))) argument
176 ep_msk = EP_MSK(ep_addr); in USBD_HW_EndpointFlush()
557 ep_num = EP_NUM(ep_addr); in USBD_EndpointConfigure()
620 ep_num = EP_NUM(ep_addr); in USBD_EndpointUnconfigure()
663 ep_num = EP_NUM(ep_addr); in USBD_EndpointStall()
746 ep_num = EP_NUM(ep_addr); in USBD_EndpointTransferAbort()
[all …]
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/stmlib/third_party/STM/STM32_USB-FS-Device_Driver/src/
H A Dotgd_fs_pcd.c143 if ((0x80 & ep_addr) != 0) in OTGD_FS_PCD_EP_Close()
152 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Close()
153 ep->is_in = (0x80 & ep_addr) != 0; in OTGD_FS_PCD_EP_Close()
184 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Read()
218 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Write()
243 if ((0x80 & ep_addr) != 0) in OTGD_FS_PCD_EP_Stall()
252 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Stall()
270 if ((0x80 & ep_addr) != 0) in OTGD_FS_PCD_EP_ClrStall()
279 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_ClrStall()
300 ep_nbr = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Flush()
[all …]
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/stmlib/third_party/STM/STM32_USB-FS-Device_Driver/src/
H A Dotgd_fs_pcd.c143 if ((0x80 & ep_addr) != 0) in OTGD_FS_PCD_EP_Close()
152 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Close()
153 ep->is_in = (0x80 & ep_addr) != 0; in OTGD_FS_PCD_EP_Close()
184 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Read()
218 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Write()
243 if ((0x80 & ep_addr) != 0) in OTGD_FS_PCD_EP_Stall()
252 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Stall()
270 if ((0x80 & ep_addr) != 0) in OTGD_FS_PCD_EP_ClrStall()
279 ep->num = ep_addr & 0x7F; in OTGD_FS_PCD_EP_ClrStall()
300 ep_nbr = ep_addr & 0x7F; in OTGD_FS_PCD_EP_Flush()
[all …]
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/efa/src/
H A Defa_cm.c49 struct efa_ep_addr *ep_addr; in efa_ep_getname() local
55 ep_addr = (struct efa_ep_addr *)ep->src_addr; in efa_ep_getname()
56 ep_addr->qpn = ep->qp->qp_num; in efa_ep_getname()
57 ep_addr->pad = 0; in efa_ep_getname()
58 ep_addr->qkey = ep->qp->qkey; in efa_ep_getname()
60 inet_ntop(AF_INET6, ep_addr->raw, str, INET6_ADDRSTRLEN); in efa_ep_getname()
63 str, ep_addr->qpn, ep_addr->qkey, *addrlen); in efa_ep_getname()
65 return efa_copy_addr(addr, addrlen, ep_addr); in efa_ep_getname()
/dports/audio/codec2/codec2-1.0.3/stm32/usb_lib/otg/
H A Dusb_dcd.c152 uint8_t ep_addr, in DCD_EP_Open() argument
158 if ((ep_addr & 0x80) == 0x80) in DCD_EP_Open()
166 ep->num = ep_addr & 0x7F; in DCD_EP_Open()
168 ep->is_in = (0x80 & ep_addr) != 0; in DCD_EP_Open()
194 if ((ep_addr&0x80) == 0x80) in DCD_EP_Close()
202 ep->num = ep_addr & 0x7F; in DCD_EP_Close()
203 ep->is_in = (0x80 & ep_addr) != 0; in DCD_EP_Close()
231 ep->num = ep_addr & 0x7F; in DCD_EP_PrepareRx()
258 uint8_t ep_addr, in DCD_EP_Tx() argument
264 ep = &pdev->dev.in_ep[ep_addr & 0x7F]; in DCD_EP_Tx()
[all …]
H A Dusb_dcd.h110 uint8_t ep_addr,
115 uint8_t ep_addr);
119 uint8_t ep_addr,
124 uint8_t ep_addr,
/dports/lang/micropython/micropython-1.17/ports/stm32/
H A Dusbd_conf.c524 uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps) { in USBD_LL_OpenEP() argument
536 HAL_PCD_EP_Close(pdev->pData, ep_addr); in USBD_LL_CloseEP()
547 HAL_PCD_EP_Flush(pdev->pData, ep_addr); in USBD_LL_FlushEP()
558 HAL_PCD_EP_SetStall(pdev->pData, ep_addr); in USBD_LL_StallEP()
569 HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); in USBD_LL_ClearStallEP()
582 if ((ep_addr & 0x80) == 0x80) { in USBD_LL_IsStallEP()
583 return hpcd->IN_ep[ep_addr & 0x7F].is_stall; in USBD_LL_IsStallEP()
585 return hpcd->OUT_ep[ep_addr & 0x7F].is_stall; in USBD_LL_IsStallEP()
609 uint8_t ep_addr, uint8_t *pbuf, uint16_t size) { in USBD_LL_Transmit() argument
623 uint8_t ep_addr, uint8_t *pbuf, uint16_t size) { in USBD_LL_PrepareReceive() argument
[all …]
/dports/lang/micropython/micropython-1.17/ports/stm32/usbdev/core/src/
H A Dusbd_ctlreq.c210 uint8_t ep_addr; in USBD_StdEPReq() local
213 ep_addr = LOBYTE(req->wIndex); in USBD_StdEPReq()
223 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
225 USBD_LL_StallEP(pdev , ep_addr); in USBD_StdEPReq()
232 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
254 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
256 USBD_LL_StallEP(pdev , ep_addr); in USBD_StdEPReq()
263 if ((ep_addr & 0x7F) != 0x00) in USBD_StdEPReq()
282 if ((ep_addr & 0x7F) != 0x00) in USBD_StdEPReq()
284 USBD_LL_StallEP(pdev , ep_addr); in USBD_StdEPReq()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
H A Dspr_udc.c313 int ep_addr = endpoint->endpoint_address; in spear_udc_setup() local
316 usbgetpckfromfifo(ep_addr, datap, 8); in spear_udc_setup()
353 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_setup()
401 int ep_addr; in spear_udc_ep0_tx() local
449 ep_addr = endpoint->endpoint_address; in spear_udc_ep0_tx()
450 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_ep0_tx()
584 int ep_addr; in udc_setup_ep() local
596 ep_addr = endpoint->endpoint_address; in udc_setup_ep()
597 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
599 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
H A Dspr_udc.c313 int ep_addr = endpoint->endpoint_address; in spear_udc_setup() local
316 usbgetpckfromfifo(ep_addr, datap, 8); in spear_udc_setup()
353 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_setup()
401 int ep_addr; in spear_udc_ep0_tx() local
449 ep_addr = endpoint->endpoint_address; in spear_udc_ep0_tx()
450 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_ep0_tx()
584 int ep_addr; in udc_setup_ep() local
596 ep_addr = endpoint->endpoint_address; in udc_setup_ep()
597 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
599 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
H A Dspr_udc.c313 int ep_addr = endpoint->endpoint_address; in spear_udc_setup() local
316 usbgetpckfromfifo(ep_addr, datap, 8); in spear_udc_setup()
353 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_setup()
401 int ep_addr; in spear_udc_ep0_tx() local
449 ep_addr = endpoint->endpoint_address; in spear_udc_ep0_tx()
450 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_ep0_tx()
584 int ep_addr; in udc_setup_ep() local
596 ep_addr = endpoint->endpoint_address; in udc_setup_ep()
597 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
599 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
H A Dspr_udc.c313 int ep_addr = endpoint->endpoint_address; in spear_udc_setup() local
316 usbgetpckfromfifo(ep_addr, datap, 8); in spear_udc_setup()
353 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_setup()
401 int ep_addr; in spear_udc_ep0_tx() local
449 ep_addr = endpoint->endpoint_address; in spear_udc_ep0_tx()
450 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_ep0_tx()
584 int ep_addr; in udc_setup_ep() local
596 ep_addr = endpoint->endpoint_address; in udc_setup_ep()
597 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
599 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
H A Dspr_udc.c313 int ep_addr = endpoint->endpoint_address; in spear_udc_setup() local
316 usbgetpckfromfifo(ep_addr, datap, 8); in spear_udc_setup()
353 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_setup()
401 int ep_addr; in spear_udc_ep0_tx() local
449 ep_addr = endpoint->endpoint_address; in spear_udc_ep0_tx()
450 writel(0x0, &inep_regs_p[ep_addr].write_done); in spear_udc_ep0_tx()
584 int ep_addr; in udc_setup_ep() local
596 ep_addr = endpoint->endpoint_address; in udc_setup_ep()
597 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
599 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot-sam460ex/drivers/usb/gadget/
H A Domap1510_udc.c126 int ep_addr; in omap1510_configure_endpoints() local
142 ep_addr = endpoint->endpoint_address; in omap1510_configure_endpoints()
180 ep_addr, packet_size); in omap1510_configure_endpoints()
242 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
246 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
250 UDC_EP_TX (ep_addr & in omap1510_configure_endpoints()
259 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
263 ep_addr & USB_ENDPOINT_NUMBER_MASK, in omap1510_configure_endpoints()
267 UDC_EP_RX (ep_addr & in omap1510_configure_endpoints()
1211 UDCDBGA ("stall ep_addr %d", ep_addr); in udc_stall_ep()
[all …]
/dports/audio/codec2/codec2-1.0.3/stm32/usb_lib/core/
H A Dusbd_req.c232 uint8_t ep_addr; in USBD_StdEPReq() local
235 ep_addr = LOBYTE(req->wIndex); in USBD_StdEPReq()
245 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
247 DCD_EP_Stall(pdev , ep_addr); in USBD_StdEPReq()
254 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
276 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
278 DCD_EP_Stall(pdev , ep_addr); in USBD_StdEPReq()
285 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
304 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
306 DCD_EP_Stall(pdev , ep_addr); in USBD_StdEPReq()
[all …]
/dports/lang/micropython/micropython-1.17/ports/stm32/usbdev/core/inc/
H A Dusbd_core.h119 uint8_t ep_addr,
123 USBD_StatusTypeDef USBD_LL_CloseEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
124 USBD_StatusTypeDef USBD_LL_FlushEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
125 USBD_StatusTypeDef USBD_LL_StallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
126 USBD_StatusTypeDef USBD_LL_ClearStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
127 uint8_t USBD_LL_IsStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
130 uint8_t ep_addr,
135 uint8_t ep_addr,
139 uint32_t USBD_LL_GetRxDataSize (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
/dports/devel/tinygo/tinygo-0.14.1/lib/CMSIS/CMSIS/Driver/Include/
H A DDriver_USBD.h221 typedef void (*ARM_USBD_SignalEndpointEvent_t) (uint8_t ep_addr, uint32_t event); ///< Pointer to…
250 int32_t (*EndpointConfigure) (uint8_t ep_addr,
253 …int32_t (*EndpointUnconfigure) (uint8_t ep_addr); …
254 …int32_t (*EndpointStall) (uint8_t ep_addr, bool stall); …
255 …int32_t (*EndpointTransfer) (uint8_t ep_addr, uint8_t *data, uint32_t num);…
256 …uint32_t (*EndpointTransferGetResult) (uint8_t ep_addr); …
257 …int32_t (*EndpointTransferAbort) (uint8_t ep_addr); …
/dports/devel/tinygo/tinygo-0.14.1/lib/CMSIS/CMSIS/Driver/DriverTemplates/
H A DDriver_USBD.c81 int32_t ARM_USBD_EndpointConfigure(uint8_t ep_addr, in ARM_USBD_EndpointConfigure() argument
87 int32_t ARM_USBD_EndpointUnconfigure(uint8_t ep_addr) in ARM_USBD_EndpointUnconfigure() argument
91 int32_t ARM_USBD_EndpointStall(uint8_t ep_addr, bool stall) in ARM_USBD_EndpointStall() argument
95 int32_t ARM_USBD_EndpointTransfer(uint8_t ep_addr, uint8_t *data, uint32_t num) in ARM_USBD_EndpointTransfer() argument
99 uint32_t ARM_USBD_EndpointTransferGetResult(uint8_t ep_addr) in ARM_USBD_EndpointTransferGetResult() argument
103 int32_t ARM_USBD_EndpointTransferAbort(uint8_t ep_addr) in ARM_USBD_EndpointTransferAbort() argument
116 void ARM_USBD_SignalEndpointEvent(uint8_t ep_addr, uint32_t ep_event) in ARM_USBD_SignalEndpointEvent() argument

12345678910>>...28