Home
last modified time | relevance | path

Searched refs:Tail (Results 1 – 16 of 16) sorted by relevance

/drivers/staging/sxg/
Dsxghif.h405 unsigned char Tail; // Where we pull off completed entries member
412 (_ring).Tail = 0; \
417 #define SXG_RING_EMPTY(_ring) ((_ring)->Head == (_ring)->Tail)
418 #define SXG_RING_FULL(_ring) ((((_ring)->Head + 1) & ((_ring)->Size - 1)) == (_ring)->Tail)
423 ASSERT((_ring)->Tail != (_ring)->Head); \
424 SXG_ADVANCE_INDEX((_ring)->Tail, ((_ring)->Size)); \
451 (_cmd) = &(_ring)->Descriptors[(_ringinfo)->Tail]; \
452 (_context) = (_ringinfo)->Context[(_ringinfo)->Tail]; \
453 (_ringinfo)->Context[(_ringinfo)->Tail] = NULL; \
Dsxg.c1308 adapter, XmtRingInfo->Head, XmtRingInfo->Tail, 0); in sxg_complete_slow_send()
1310 while (XmtRingInfo->Tail != *adapter->XmtRingZeroIndex) { in sxg_complete_slow_send()
1316 XmtRingInfo->Head, XmtRingInfo->Tail, XmtCmd, 0); in sxg_complete_slow_send()
1349 adapter, XmtRingInfo->Head, XmtRingInfo->Tail, 0); in sxg_complete_slow_send()
2030 XmtCmd, XmtRingInfo->Head, XmtRingInfo->Tail, 0); in sxg_dumb_sgl()
2102 pSgl, SxgSgl, XmtRingInfo->Head, XmtRingInfo->Tail); in sxg_dumb_sgl()
3469 RingDescriptorCmd, RcvRingInfo->Head, RcvRingInfo->Tail); in sxg_fill_descriptor_block()
3562 adapter, Index, RcvRingInfo->Head, RcvRingInfo->Tail); in sxg_complete_descriptor_blocks()
3566 ASSERT(Index != RcvRingInfo->Tail); in sxg_complete_descriptor_blocks()
3567 while (RcvRingInfo->Tail != Index) { in sxg_complete_descriptor_blocks()
[all …]
Dsxg.h307 u32 * Tail; // Send queue tail member
325 (_Buffer)->Tail = NULL; \
/drivers/staging/otus/hal/
Dhpusb.c755 addInfo.Tail.Byte[i] = in zfiUsbRecvPerPkt()
797 addInfo.Tail.Data.SignalStrength1 = zmw_rx_buf_readb(dev, buf, in zfiUsbRecvPerPkt()
868 addInfo.Tail.Data.SignalStrength1 = 0; in zfiUsbRecvPerPkt()
871 addInfo.Tail.Data.SignalStrength2 = 0; in zfiUsbRecvPerPkt()
872 addInfo.Tail.Data.SignalStrength3 = 0; in zfiUsbRecvPerPkt()
873 addInfo.Tail.Data.SignalQuality = 0; in zfiUsbRecvPerPkt()
875 addInfo.Tail.Data.SAIndex = zmw_rx_buf_readb(dev, buf, len - 4); in zfiUsbRecvPerPkt()
876 addInfo.Tail.Data.DAIndex = zmw_rx_buf_readb(dev, buf, len - 3); in zfiUsbRecvPerPkt()
877 addInfo.Tail.Data.ErrorIndication = zmw_rx_buf_readb(dev, buf, len - 2); in zfiUsbRecvPerPkt()
878 addInfo.Tail.Data.RxMacStatus = zmw_rx_buf_readb(dev, buf, len - 1); in zfiUsbRecvPerPkt()
/drivers/isdn/hardware/eicon/
Ddebug.c81 byte *Tail; /* first free position */ member
98 Q->Base = Q->Head = Q->Tail = Buffer; in queueInit()
116 if (Q->Tail == Q->Head) { in queueAllocMsg()
123 if (Q->Tail > Q->Head) { in queueAllocMsg()
124 if (Q->Tail + need <= Q->High) goto alloc; /* append */ in queueAllocMsg()
129 Q->Wrap = Q->Tail; in queueAllocMsg()
130 Q->Tail = Q->Base; in queueAllocMsg()
134 if (Q->Tail + need > Q->Head) { in queueAllocMsg()
139 Msg = (MSG_HEAD *)Q->Tail; in queueAllocMsg()
143 Q->Tail += need; in queueAllocMsg()
[all …]
/drivers/staging/rt2870/common/
Dmlme.c4748 Queue->Tail = 0; in MlmeQueueInit()
4782 INT Tail; in MlmeEnqueue() local
4803 Tail = Queue->Tail; in MlmeEnqueue()
4804 Queue->Tail++; in MlmeEnqueue()
4806 if (Queue->Tail == MAX_LEN_OF_MLME_QUEUE) in MlmeEnqueue()
4808 Queue->Tail = 0; in MlmeEnqueue()
4811 Queue->Entry[Tail].Wcid = RESERVED_WCID; in MlmeEnqueue()
4812 Queue->Entry[Tail].Occupied = TRUE; in MlmeEnqueue()
4813 Queue->Entry[Tail].Machine = Machine; in MlmeEnqueue()
4814 Queue->Entry[Tail].MsgType = MsgType; in MlmeEnqueue()
[all …]
/drivers/staging/rt2860/common/
Dmlme.c4744 Queue->Tail = 0; in MlmeQueueInit()
4778 INT Tail; in MlmeEnqueue() local
4799 Tail = Queue->Tail; in MlmeEnqueue()
4800 Queue->Tail++; in MlmeEnqueue()
4802 if (Queue->Tail == MAX_LEN_OF_MLME_QUEUE) in MlmeEnqueue()
4804 Queue->Tail = 0; in MlmeEnqueue()
4807 Queue->Entry[Tail].Wcid = RESERVED_WCID; in MlmeEnqueue()
4808 Queue->Entry[Tail].Occupied = TRUE; in MlmeEnqueue()
4809 Queue->Entry[Tail].Machine = Machine; in MlmeEnqueue()
4810 Queue->Entry[Tail].MsgType = MsgType; in MlmeEnqueue()
[all …]
/drivers/staging/otus/80211core/
Dwlan.h525 #define ZM_RX_STATUS_IS_MIC_FAIL(rxStatus) rxStatus->Tail.Data.ErrorIndication & ZM_BIT_6
Dcmmsta.c2024 if( (s8_t)pBssInfo->signalStrength < (s8_t)AddInfo->Tail.Data.SignalStrength1 ) in zfStaInitBssInfo()
2027 pBssInfo->signalStrength = (u8_t)AddInfo->Tail.Data.SignalStrength1; in zfStaInitBssInfo()
2029 pBssInfo->signalQuality = (u8_t)(AddInfo->Tail.Data.SignalStrength1 * 2); in zfStaInitBssInfo()
2081 zfStaSignalStatistic(dev, AddInfo->Tail.Data.SignalStrength1, in zfStaProcessBeacon()
2082 AddInfo->Tail.Data.SignalQuality); //CWYang(+) in zfStaProcessBeacon()
2109 zfStaSignalStatistic(dev, AddInfo->Tail.Data.SignalStrength1, in zfStaProcessBeacon()
2110 AddInfo->Tail.Data.SignalQuality); //CWYang(+) in zfStaProcessBeacon()
Dccmd.c1241 if ((addInfo->Tail.Data.RxMacStatus & 0x10) == 0) in zfWlanUpdateRxRate()
1244 wd->modulationType = addInfo->Tail.Data.RxMacStatus & 0x03; in zfWlanUpdateRxRate()
Dctxrx.c46 securityByte = (addInfo->Tail.Data.SAIndex & 0xc0) >> 4; /* byte4 */ in zfGetEncryModeFromRxStatus()
47 securityByte |= (addInfo->Tail.Data.DAIndex & 0xc0) >> 6; /* byte5 */ in zfGetEncryModeFromRxStatus()
1314 if ((addInfo->Tail.Data.ErrorIndication & 0x3f) != 0) in zfCoreRecv()
1316 if ( wd->XLinkMode && ((addInfo->Tail.Data.ErrorIndication & 0x3f)==0x10) && in zfCoreRecv()
Dpub_zfi.h492 union zuTail Tail; member
/drivers/staging/rt2860/
Drtmp.h316 PQUEUE_ENTRY Tail; member
322 (QueueHeader)->Head = (QueueHeader)->Tail = NULL; \
335 (QueueHeader)->Tail = NULL; \
344 if ((QueueHeader)->Tail == NULL) \
345 (QueueHeader)->Tail = (PQUEUE_ENTRY)(QueueEntry); \
352 if ((QueueHeader)->Tail) \
353 (QueueHeader)->Tail->Next = (PQUEUE_ENTRY)(QueueEntry); \
356 (QueueHeader)->Tail = (PQUEUE_ENTRY)(QueueEntry); \
Dmlme.h1205 ULONG Tail; member
/drivers/staging/rt2870/
Drtmp.h418 PQUEUE_ENTRY Tail; member
424 (QueueHeader)->Head = (QueueHeader)->Tail = NULL; \
437 (QueueHeader)->Tail = NULL; \
446 if ((QueueHeader)->Tail == NULL) \
447 (QueueHeader)->Tail = (PQUEUE_ENTRY)(QueueEntry); \
454 if ((QueueHeader)->Tail) \
455 (QueueHeader)->Tail->Next = (PQUEUE_ENTRY)(QueueEntry); \
458 (QueueHeader)->Tail = (PQUEUE_ENTRY)(QueueEntry); \
Dmlme.h1224 ULONG Tail; member