kernel/eka/include/drivers/usbc.inl
changeset 10 36bfc973b146
parent 9 96e5fb8b040d
equal deleted inserted replaced
9:96e5fb8b040d 10:36bfc973b146
    43 TInt TUsbcEndpoint::RxBytesAvailable() const
    43 TInt TUsbcEndpoint::RxBytesAvailable() const
    44 	{
    44 	{
    45 	return iDmaBuffers->RxBytesAvailable();
    45 	return iDmaBuffers->RxBytesAvailable();
    46 	}
    46 	}
    47 
    47 
    48 
    48 TInt TUsbcEndpoint::BufferSize() const
    49 TInt TUsbcEndpoint::BufferTotalSize() const
    49     {
    50 	{
    50     return iDmaBuffers->BufferSize();
    51 	return iDmaBuffers->BufferTotalSize();
    51     }
    52 	}
    52 TInt TUsbcEndpoint::SetBufferAddr( TInt aBufInd, TUint8* aBufAddr)
    53 
    53     {
    54 
    54     return iDmaBuffers->SetBufferAddr(aBufInd, aBufAddr);
    55 TUint8* TUsbcEndpoint::SetBufferBase(TUint8* aBase)
    55     }
    56 	{
    56 TInt TUsbcEndpoint::BufferNumber() const
    57 	return iDmaBuffers->SetBufferBase(aBase);
    57     {
    58 	}
    58     return iDmaBuffers->BufferNumber();
    59 
    59     }
    60 
    60 
    61 void TUsbcEndpoint::SetTransferInfo(TEndpointTransferInfo* aTransferInfo)
    61 void TUsbcEndpoint::SetTransferInfo(TEndpointTransferInfo* aTransferInfo)
    62 	{
    62 	{
    63 	iTransferInfo = *aTransferInfo;
    63 	iTransferInfo = *aTransferInfo;
    64 	iBytesTransferred = 0;
    64 	iBytesTransferred = 0;