Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/ncsw/Peripherals/BM/
H A Dfsl_bman.h84 uint32_t __state[2]; member
91 c->__state[0] = c->__state[1] = 0; in bman_depletion_init()
95 c->__state[0] = c->__state[1] = (uint32_t)~0; in bman_depletion_fill()
99 return (int)(c->__state[__bmdep_word(bpid)] & __bmdep_bit(bpid)); in bman_depletion_get()
103 c->__state[__bmdep_word(bpid)] |= __bmdep_bit(bpid); in bman_depletion_set()
107 c->__state[__bmdep_word(bpid)] &= ~__bmdep_bit(bpid); in bman_depletion_unset()
H A Dbm_portal.c227 tmp.__state[i] &= p_BmPortal->pools[0].__state[i]; in __poll_portal_slow()
228 if (tmp.__state[i] == p_BmPortal->pools[1].__state[i]) in __poll_portal_slow()
/f-stack/freebsd/contrib/ncsw/Peripherals/QM/
H A Dfsl_qman.h819 volatile uint32_t __state[8]; member
892 return (int)(p->__state[__CGR_WORD(cgr)] & (0x80000000 >> __CGR_SHIFT(cgr))); in QM_MCR_QUERYCONGESTION()
937 c->q.__state[__CGR_WORD(num)] |= (0x80000000 >> __CGR_SHIFT(num)); in QMAN_CGRS_SET()
941 c->q.__state[__CGR_WORD(num)] &= ~(0x80000000 >> __CGR_SHIFT(num)); in QMAN_CGRS_UNSET()
H A Dqm_portal_fqr.c572 tmp.q.__state[i] = p_Mcr->querycongestion.state.__state[i]; in LoopMessageRing()
574 tmp.q.__state[i] &= p_QmPortal->cgrs[0].q.__state[i]; in LoopMessageRing()
576 tmp.q.__state[i] ^= p_QmPortal->cgrs[1].q.__state[i]; in LoopMessageRing()
578 p_QmPortal->cgrs[1].q.__state[i] = p_Mcr->querycongestion.state.__state[i]; in LoopMessageRing()
587 if(tmp.q.__state[i] & mask) in LoopMessageRing()
1380 if(p_QmPortal->cgrs[0].q.__state[cgId/32] & (0x80000000 >> (cgId % 32))) in QmPortalRegisterCg()
1383 p_QmPortal->cgrs[0].q.__state[cgId/32] |= 0x80000000 >> (cgId % 32); in QmPortalRegisterCg()
1394 if(!(p_QmPortal->cgrs[0].q.__state[cgId/32] & (0x80000000 >> (cgId % 32)))) in QmPortalUnregisterCg()
1397 p_QmPortal->cgrs[0].q.__state[cgId/32] &= ~0x80000000 >> (cgId % 32); in QmPortalUnregisterCg()