Home
last modified time | relevance | path

Searched refs:tmdp (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/sun/io/eri/
H A Deri.h202 #define NEXTTMD(erip, tmdp) (((tmdp) + 1) == (erip)->eri_tmdlimp ? \ argument
203 (erip)->eri_tmdp : ((tmdp) + 1))
204 #define PREVTMD(erip, tmdp) ((tmdp) == (erip)->eri_tmdp ? \ argument
205 ((erip)->eri_tmdlimp - 1) : ((tmdp) - 1))
H A Deri.c245 #define NEXTTMDP(tbasep, tmdlimp, tmdp) (((tmdp) + 1) == tmdlimp \ argument
246 ? tbasep : ((tmdp) + 1))
3450 volatile struct eri_tmd *tmdp = NULL; in eri_send_msg() local
3507 tmdp = erip->tnextp; in eri_send_msg()
3509 if (tmdp >= erip->tcurp) /* check notmds */ in eri_send_msg()
3510 i = tmdp - erip->tcurp; in eri_send_msg()
3512 i = tmdp + ERI_TPENDING - erip->tcurp; in eri_send_msg()
3527 i = tmdp - tbasep; /* index */ in eri_send_msg()
3556 PUT_TMD(tmdp, c, len_msg, ctrl); in eri_send_msg()
3557 ERI_SYNCIOPB(erip, tmdp, sizeof (struct eri_tmd), in eri_send_msg()
[all …]
/titanic_41/usr/src/uts/common/io/mxfe/
H A Dmxfe.c1824 mxfe_desc_t *tmdp = &mxfep->mxfe_txdescp[i]; in mxfe_resetrings() local
1829 PUTTXDESC(mxfep, tmdp->desc_status, 0); in mxfe_resetrings()
1830 PUTTXDESC(mxfep, tmdp->desc_control, control); in mxfe_resetrings()
1831 PUTTXDESC(mxfep, tmdp->desc_buffer1, 0); in mxfe_resetrings()
1832 PUTTXDESC(mxfep, tmdp->desc_buffer2, 0); in mxfe_resetrings()
2297 mxfe_desc_t *tmdp; in mxfe_send_setup() local
2305 tmdp = &mxfep->mxfe_txdescp[0]; in mxfe_send_setup()
2320 PUTTXDESC(mxfep, tmdp->desc_control, in mxfe_send_setup()
2324 PUTTXDESC(mxfep, tmdp->desc_buffer1, txb->txb_paddr); in mxfe_send_setup()
2325 PUTTXDESC(mxfep, tmdp->desc_buffer2, 0); in mxfe_send_setup()
[all …]
/titanic_41/usr/src/uts/common/io/afe/
H A Dafe.c1487 afe_desc_t *tmdp = &afep->afe_txdescp[i]; in afe_resetrings() local
1492 PUTTXDESC(afep, tmdp->desc_status, 0); in afe_resetrings()
1493 PUTTXDESC(afep, tmdp->desc_control, control); in afe_resetrings()
1494 PUTTXDESC(afep, tmdp->desc_buffer1, 0); in afe_resetrings()
1495 PUTTXDESC(afep, tmdp->desc_buffer2, 0); in afe_resetrings()
2048 afe_desc_t *tmdp; in afe_reclaim() local
2055 tmdp = &afep->afe_txdescp[index]; in afe_reclaim()
2060 control = GETTXDESC(afep, tmdp->desc_control); in afe_reclaim()
2061 status = GETTXDESC(afep, tmdp->desc_status); in afe_reclaim()
/titanic_41/usr/src/uts/common/io/pcn/
H A Dpcn.c793 pcn_tx_desc_t *tmdp; in pcn_reclaim() local
798 tmdp = &pcnp->pcn_txdescp[index]; in pcn_reclaim()
804 if (tmdp->pcn_txctl & PCN_TXCTL_OWN) in pcn_reclaim()