Searched refs:now_serving (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-dfa.h494 // NOTE: index and now_serving are written together
495 uint8_t now_serving; /**< current ticket being served (or ready to be served). */ member in struct:__anon6853::__anon6854
499 uint8_t now_serving;
510 uint64_t now_serving : 8 ; /**< current ticket being served (or ready to be served). */ member in struct:__anon6853::__anon6855
514 uint64_t now_serving : 8 ;
648 while (my_ticket != cvmx_dfa_state.s.now_serving) {
649 int delta = my_ticket - cvmx_dfa_state.s.now_serving;
652 cvmx_dfa_state.u64 = cvmx_fau_fetch_and_add64(CVMX_FAU_DFA_STATE, 0); // poll for my_ticket==now_serving
683 // update index and now_serving in the DFA state FAU location (NOTE: this write16 updates to 8-bit values.)
685 cvmx_fau_atomic_write16((cvmx_fau_reg_16_t)(CVMX_FAU_DFA_STATE+(CAST64(&cvmx_dfa_state.s.now_serving)
[all...]
H A Dcvmx-cmd-queue.h153 uint8_t now_serving; /**< You have lock when this is your ticket */ member in struct:__anon6794
270 "lbu %[ticket], %[now_serving]\n" /* Load the current now_serving ticket */
272 "beq %[ticket], %[my_ticket], 4f\n" /* Jump out if now_serving == my_ticket */
280 " lbu %[ticket], %[now_serving]\n" /* Load the current now_serving ticket */
284 [now_serving] "=m" (qptr->now_serving),
301 ns = qptr->now_serving + 1;
303 qptr->now_serving
[all...]

Completed in 214 milliseconds