| /hal_infineon-latest/mtb-pdl-cat1/drivers/include/ |
| D | cy_usbfs_dev_drv_reg.h | 629 __STATIC_INLINE void Cy_USBFS_Dev_Drv_SetSieEpMode(USBFS_Type *base, uint32_t endpoint, uint32_t mo… in Cy_USBFS_Dev_Drv_SetSieEpMode() 656 __STATIC_INLINE uint32_t Cy_USBFS_Dev_Drv_GetSieEpMode(USBFS_Type const *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_GetSieEpMode() 679 …C_INLINE void Cy_USBFS_Dev_Drv_SetSieEpStall(USBFS_Type *base, bool inDirection, uint32_t endpoint) in Cy_USBFS_Dev_Drv_SetSieEpStall() 709 __STATIC_INLINE void Cy_USBFS_Dev_Drv_ClearSieEpStall(USBFS_Type *base, uint32_t endpoint, uint32_t… in Cy_USBFS_Dev_Drv_ClearSieEpStall() 742 __STATIC_INLINE uint32_t Cy_USBFS_Dev_Drv_GetSieEpError(USBFS_Type const *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_GetSieEpError() 765 __STATIC_INLINE uint32_t Cy_USBFS_Dev_Drv_GetSieEpToggle(USBFS_Type const *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_GetSieEpToggle() 789 __STATIC_INLINE void Cy_USBFS_Dev_Drv_ClearSieEpToggle(USBFS_Type *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_ClearSieEpToggle() 814 __STATIC_INLINE uint32_t Cy_USBFS_Dev_Drv_GetSieEpCount(USBFS_Type const *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_GetSieEpCount() 849 __STATIC_INLINE void Cy_USBFS_Dev_Drv_SetSieEpCount(USBFS_Type *base, uint32_t endpoint, in Cy_USBFS_Dev_Drv_SetSieEpCount() 895 __STATIC_INLINE void Cy_USBFS_Dev_Drv_EnableSieEpInterrupt(USBFS_Type *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_EnableSieEpInterrupt() [all …]
|
| D | cy_usbfs_dev_drv.h | 1441 #define CY_USBFS_DEV_DRV_IS_EP_VALID(endpoint) (((endpoint) > 0U) && ((endpoint) <= CY_USBFS_DEV_D… argument 1442 #define CY_USBFS_DEV_DRV_EP2PHY(endpoint) ((uint32_t) (endpoint) - 1U) argument 1443 #define CY_USBFS_DEV_DRV_EP2MASK(endpoint) ((uint32_t) (0x1UL << (endpoint))) argument 1743 uint32_t endpoint, in Cy_USBFS_Dev_Drv_RegisterEndpointCallback() 2074 uint32_t endpoint = CY_USBFS_DEV_DRV_EPADDR2EP(config->endpointAddr); in Cy_USBFS_Dev_Drv_AddEndpoint() local 2116 uint32_t endpoint, in Cy_USBFS_Dev_Drv_OverwriteMemcpy() 2159 uint32_t endpoint, in Cy_USBFS_Dev_Drv_GetEndpointState() 2208 uint32_t endpoint, in Cy_USBFS_Dev_Drv_LoadInEndpoint() 2256 uint32_t endpoint, in Cy_USBFS_Dev_Drv_ReadOutEndpoint() 2285 __STATIC_INLINE bool Cy_USBFS_Dev_Drv_GetEndpointAckState(USBFS_Type const *base, uint32_t endpoint) in Cy_USBFS_Dev_Drv_GetEndpointAckState() [all …]
|
| D | cy_usbfs_dev_drv_pvt.h | 136 #define IS_EP_VALID(endpoint) CY_USBFS_DEV_DRV_IS_EP_VALID(endpoint) argument 137 #define EP2PHY(endpoint) CY_USBFS_DEV_DRV_EP2PHY(endpoint) argument 138 #define EP2MASK(endpoint) CY_USBFS_DEV_DRV_EP2MASK(endpoint) argument
|
| /hal_infineon-latest/mtb-pdl-cat1/drivers/source/ |
| D | cy_usbfs_dev_drv_io_dma.c | 165 uint32_t endpoint; in DmaInit() local 277 uint32_t endpoint; in DmaDisable() local 400 cy_stc_usbfs_dev_drv_endpoint_data_t *endpoint) in DmaEndpointSetLength() 479 void DmaOutEndpointRestore(cy_stc_usbfs_dev_drv_endpoint_data_t *endpoint) in DmaOutEndpointRestore() 533 uint32_t endpoint = EPADDR2PHY(endpointData->address); in DmaEndpointInit() local 599 uint32_t endpoint) in DynamicEndpointReConfiguration() 673 uint32_t endpoint = EPADDR2PHY(config->endpointAddr); in AddEndpointRamBuffer() local 766 uint32_t endpoint = EPADDR2PHY(endpointData->address); in RestoreEndpointRamBuffer() local 834 uint32_t endpoint, in LoadInEndpointDma() 943 uint32_t endpoint, in ReadOutEndpointDma() [all …]
|
| D | cy_usbfs_dev_drv_io.c | 98 static void DisableEndpoint(USBFS_Type *base, uint32_t endpoint, cy_stc_usbfs_dev_drv_context_t *co… in DisableEndpoint() 173 uint32_t endpoint; in Cy_USBFS_Dev_Drv_UnConfigureDevice() local 268 uint32_t endpoint = EPADDR2PHY(endpointData->address); in RestoreEndpointHwBuffer() local 337 uint32_t endpoint = EPADDR2PHY(config->endpointAddr); in AddEndpointHwBuffer() local 447 uint32_t endpoint = EPADDR2EP(endpointAddr); in Cy_USBFS_Dev_Drv_RemoveEndpoint() local 505 uint32_t endpoint, in Cy_USBFS_Dev_Drv_EnableOutEndpoint() 558 uint32_t endpoint, in LoadInEndpointCpu() 657 uint32_t endpoint, in ReadOutEndpointCpu() 754 uint32_t endpoint, in Cy_USBFS_Dev_Drv_Abort() 913 uint32_t endpoint, in Cy_USBFS_Dev_Drv_StallEndpoint() [all …]
|
| D | cy_ipc_pipe.c | 298 cy_stc_ipc_pipe_ep_t * endpoint; in Cy_IPC_Pipe_EndpointInit() local 381 cy_stc_ipc_pipe_ep_t * endpoint; in Cy_IPC_Pipe_EndpointInitExt() local 618 cy_stc_ipc_pipe_ep_t * endpoint; in Cy_IPC_Pipe_RegisterCallbackRel() local 651 cy_stc_ipc_pipe_ep_t * endpoint; in Cy_IPC_Pipe_ExecuteCallback() local 675 void Cy_IPC_Pipe_ExecCallback(cy_stc_ipc_pipe_ep_t * endpoint) in Cy_IPC_Pipe_ExecCallback() 779 cy_stc_ipc_pipe_ep_t * endpoint; in Cy_IPC_Pipe_EndpointPause() local 811 cy_stc_ipc_pipe_ep_t * endpoint; in Cy_IPC_Pipe_EndpointResume() local
|
| D | cy_usbfs_dev_drv.c | 226 uint32_t endpoint; in Cy_USBFS_Dev_Drv_DeInit() local 588 static void EndpointTransferComplete(USBFS_Type *base, uint32_t endpoint, in EndpointTransferComplete() 657 uint32_t endpoint = 0UL; in ArbiterIntrHandler() local 758 static void SieEnpointIntrHandler(USBFS_Type *base, uint32_t endpoint, in SieEnpointIntrHandler() 819 uint32_t endpoint = 0U; in Cy_USBFS_Dev_Drv_Interrupt() local 1203 uint32_t endpoint; in RestoreDeviceConfiguration() local
|
| /hal_infineon-latest/mtb-hal-cat1/source/ |
| D | cyhal_usb_dev.c | 74 #define _CYHAL_USB_DEV_IS_EP_NUM_VALID(endpoint) CY_USBFS_DEV_DRV_IS_EP_VALID(endpoint) argument 629 … cyhal_usb_dev_ep_t endpoint, uint32_t max_packet, cyhal_usb_dev_ep_type_t type) in cyhal_usb_dev_endpoint_add() 647 cy_rslt_t cyhal_usb_dev_endpoint_remove(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint) in cyhal_usb_dev_endpoint_remove() 653 cy_rslt_t cyhal_usb_dev_endpoint_stall(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint) in cyhal_usb_dev_endpoint_stall() 659 cy_rslt_t cyhal_usb_dev_endpoint_unstall(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint) in cyhal_usb_dev_endpoint_unstall() 665 bool cyhal_usb_dev_endpoint_is_stalled(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint) in cyhal_usb_dev_endpoint_is_stalled() 670 cy_rslt_t cyhal_usb_dev_endpoint_read(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint, uint8_t *d… in cyhal_usb_dev_endpoint_read() 692 cy_rslt_t cyhal_usb_dev_endpoint_read_result(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint, uin… in cyhal_usb_dev_endpoint_read_result() 711 cy_rslt_t cyhal_usb_dev_endpoint_write(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint, uint8_t c… in cyhal_usb_dev_endpoint_write() 730 cy_rslt_t cyhal_usb_dev_endpoint_abort(cyhal_usb_dev_t *obj, cyhal_usb_dev_ep_t endpoint) in cyhal_usb_dev_endpoint_abort() [all …]
|
| /hal_infineon-latest/mtb-hal-cat1/include/ |
| D | cyhal_usb_dev.h | 130 #define CYHAL_USB_DEV_IS_IN_EP(endpoint) (0U != (0x80U & (uint32_t) (endpoint))) argument 133 #define CYHAL_USB_DEV_GET_EP_NUM(endpoint) ((uint32_t) (endpoint) & 0x0FU) argument 136 #define CYHAL_USB_DEV_GET_EP_IDX(endpoint) (CYHAL_USB_DEV_GET_EP_NUM(endpoint) - 1U) argument
|
| /hal_infineon-latest/mtb-pdl-cat1/devices/COMPONENT_CAT1A/include/ |
| D | cy_device.h | 1983 #define USBFS_DEV_SIE_REGS(base, endpoint) ((uint32_t)(base) + USBFS_DEV_SIE_REGS_BASE + ((endpoint… argument 1985 #define USBFS_DEV_SIE_EP_CNT0(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_SIE_REGS(base, en… argument 1987 #define USBFS_DEV_SIE_EP_CNT1(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_SIE_REGS(base, en… argument 1989 #define USBFS_DEV_SIE_EP_CR0(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_SIE_REGS(base, en… argument 2002 #define USBFS_DEV_ARB_REGS(base, endpoint) ((uint32_t)(base) + USBFS_DEV_ARB_REGS_BASE + ((endpoint… argument 2004 #define USBFS_DEV_ARB_EP_CFG(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2006 #define USBFS_DEV_ARB_EP_INT_EN(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2008 #define USBFS_DEV_ARB_EP_SR(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2010 #define USBFS_DEV_ARB_RW_WA(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2012 #define USBFS_DEV_ARB_RW_WA_MSB(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument [all …]
|
| /hal_infineon-latest/mtb-pdl-cat1/devices/COMPONENT_CAT1C/include/ |
| D | cy_device.h | 2374 #define USBFS_DEV_SIE_REGS(base, endpoint) ((uint32_t)(base) + USBFS_DEV_SIE_REGS_BASE + ((endpoint… argument 2376 #define USBFS_DEV_SIE_EP_CNT0(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_SIE_REGS(base, en… argument 2378 #define USBFS_DEV_SIE_EP_CNT1(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_SIE_REGS(base, en… argument 2380 #define USBFS_DEV_SIE_EP_CR0(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_SIE_REGS(base, en… argument 2393 #define USBFS_DEV_ARB_REGS(base, endpoint) ((uint32_t)(base) + USBFS_DEV_ARB_REGS_BASE + ((endpoint… argument 2395 #define USBFS_DEV_ARB_EP_CFG(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2397 #define USBFS_DEV_ARB_EP_INT_EN(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2399 #define USBFS_DEV_ARB_EP_SR(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2401 #define USBFS_DEV_ARB_RW_WA(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument 2403 #define USBFS_DEV_ARB_RW_WA_MSB(base, endpoint) (*(volatile uint32_t *) (USBFS_DEV_ARB_REGS(base… argument [all …]
|