Searched refs:endpointData (Results 1 – 4 of 4) sorted by relevance
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/ |
D | cy_usbfs_dev_drv_io_dma.c | 174 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData = &context->epPool[endpoint]; in DmaInit() local 187 endpointData->base = config->dmaConfig[endpoint]->base; in DmaInit() 188 endpointData->chNum = config->dmaConfig[endpoint]->chNum; in DmaInit() 189 endpointData->descr0 = config->dmaConfig[endpoint]->descr0; in DmaInit() 190 endpointData->descr1 = config->dmaConfig[endpoint]->descr1; in DmaInit() 191 endpointData->outTrigMux = config->dmaConfig[endpoint]->outTrigMux; in DmaInit() 192 endpointData->copyData = NULL; in DmaInit() 196 if (NULL != endpointData->descr0) in DmaInit() 201 (void) Cy_DMA_Descriptor_Init(endpointData->descr0, &DmaDescr1DCfg); in DmaInit() 208 if ((NULL != endpointData->descr0) && (NULL != endpointData->descr1)) in DmaInit() [all …]
|
D | cy_usbfs_dev_drv_io.c | 265 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData) in RestoreEndpointHwBuffer() argument 267 bool inDirection = IS_EP_DIR_IN(endpointData->address); in RestoreEndpointHwBuffer() 268 uint32_t endpoint = EPADDR2PHY(endpointData->address); in RestoreEndpointHwBuffer() 271 endpointData->state = CY_USB_DEV_EP_IDLE; in RestoreEndpointHwBuffer() 274 Cy_USBFS_Dev_Drv_SetArbWriteAddr(base, endpoint, (uint32_t) endpointData->startBuf); in RestoreEndpointHwBuffer() 275 Cy_USBFS_Dev_Drv_SetArbReadAddr (base, endpoint, (uint32_t) endpointData->startBuf); in RestoreEndpointHwBuffer() 289 Cy_DMA_Channel_Enable(endpointData->base, endpointData->chNum); in RestoreEndpointHwBuffer() 305 …Cy_USBFS_Dev_Drv_SetSieEpMode(base, endpoint, GetEndpointInactiveMode((uint32_t) endpointData->sie… in RestoreEndpointHwBuffer() 340 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData = &context->epPool[endpoint]; in AddEndpointHwBuffer() local 355 endpointData->startBuf = (uint16_t) bufOffset; in AddEndpointHwBuffer() [all …]
|
D | cy_usbfs_dev_drv.c | 66 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData, 588 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData, in EndpointTransferComplete() argument 592 if (false == IS_EP_ISOC(endpointData->sieMode)) in EndpointTransferComplete() 594 endpointData->toggle ^= (uint8_t) USBFS_USBDEV_SIE_EP_DATA_TOGGLE_Msk; in EndpointTransferComplete() 605 endpointData->state = CY_USB_DEV_EP_COMPLETED; in EndpointTransferComplete() 608 if (NULL != endpointData->epComplete) in EndpointTransferComplete() 619 if (false == IS_EP_ISOC(endpointData->sieMode)) in EndpointTransferComplete() 622 if (endpointData->toggle == Cy_USBFS_Dev_Drv_GetSieEpToggle(base, endpoint)) in EndpointTransferComplete() 627 endpointData->toggle ^= (uint8_t) USBFS_USBDEV_SIE_EP_DATA_TOGGLE_Msk; in EndpointTransferComplete() 632 endpointData->epComplete(base, (uint32_t) endpointData->address, errorType, context); in EndpointTransferComplete() [all …]
|
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/include/ |
D | cy_usbfs_dev_drv_pvt.h | 54 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData); 65 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData); 68 cy_stc_usbfs_dev_drv_endpoint_data_t *endpointData);
|