Lines Matching defs:Fifo
836 @param Fifo A pointer to the Data Structure SERIAL_DEV_FIFO
843 IN SERIAL_DEV_FIFO *Fifo
847 if (Fifo->Surplus == 0) {
857 @param Fifo A pointer to the Data Structure SERIAL_DEV_FIFO
864 IN SERIAL_DEV_FIFO *Fifo
868 if (Fifo->Surplus == SERIAL_MAX_BUFFER_SIZE) {
878 @param Fifo A pointer to the Data Structure SERIAL_DEV_FIFO
887 IN SERIAL_DEV_FIFO *Fifo,
895 if (IsaSerialFifoFull (Fifo)) {
901 Fifo->Data[Fifo->Last] = Data;
902 Fifo->Surplus--;
903 Fifo->Last++;
904 if (Fifo->Last == SERIAL_MAX_BUFFER_SIZE) {
905 Fifo->Last = 0;
914 @param Fifo A pointer to the Data Structure SERIAL_DEV_FIFO
923 IN SERIAL_DEV_FIFO *Fifo,
931 if (IsaSerialFifoEmpty (Fifo)) {
937 *Data = Fifo->Data[Fifo->First];
938 Fifo->Surplus++;
939 Fifo->First++;
940 if (Fifo->First == SERIAL_MAX_BUFFER_SIZE) {
941 Fifo->First = 0;