kernel/eka/include/drivers/mmc.inl
changeset 33 0173bcd7697c
parent 0 a41df078684a
child 110 c734af59ce98
equal deleted inserted replaced
31:56f325a607ea 33:0173bcd7697c
  1134  *		   Returns Zero if the PSL has no limitation on the maximum length of data transfer.
  1134  *		   Returns Zero if the PSL has no limitation on the maximum length of data transfer.
  1135  *
  1135  *
  1136  * @internalTechnology
  1136  * @internalTechnology
  1137  */
  1137  */
  1138 	{
  1138 	{
  1139 	return(0x20000 << ((iMachineInfo.iFlags & TMMCMachineInfo::EMaxTransferLength_16M) >> 8));
  1139     	TUint32 r = (iMachineInfo.iFlags & TMMCMachineInfo::EMaxTransferLength_16M) >> 8;
       
  1140 	if (r)
       
  1141         	r = 0x20000 << r; 
       
  1142     
       
  1143 	return r;
  1140 	}
  1144 	}
  1141 
  1145 
  1142 inline TUint32 DMMCSocket::DmaAlignment()
  1146 inline TUint32 DMMCSocket::DmaAlignment()
  1143 /**
  1147 /**
  1144  * @return Byte alignment required by the DMA Controller.
  1148  * @return Byte alignment required by the DMA Controller.