Home
last modified time | relevance | path

Searched refs:ROUNDUP2 (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/hme/
H A Dhme.h276 #define ROUNDUP2(a, n) (uchar_t *)((((uintptr_t)(a)) + ((n) - 1)) & ~((n) - 1)) macro
/titanic_41/usr/src/uts/sun/io/eri/
H A Deri.h682 #define ROUNDUP2(a, n) (uchar_t *)((((uintptr_t)(a)) + ((n) - 1)) & ~((n) - 1)) macro
H A Deri.c3240 mp->b_wptr = (uint8_t *)ROUNDUP2(mp->b_wptr, ERI_BURSTSIZE); in eri_allocb_sp()
3254 mp->b_wptr = (uint8_t *)ROUNDUP2(mp->b_wptr, ERI_BURSTSIZE); in eri_allocb()
/titanic_41/usr/src/uts/common/io/sfe/
H A Dsfe.c82 #define ROUNDUP2(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
1080 lp->tx_drain_threshold = ROUNDUP2(dp->txthr, TXCFG_FIFO_UNIT); in sfe_set_media()
1106 val = ROUNDUP2(max(dp->rxthr, ETHERMIN), RXCFG_FIFO_UNIT); in sfe_set_media()