Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-dfa.h637 cvmx_dfa_state_t cvmx_dfa_state; in __cvmx_dfa_write_command() local
644cvmx_dfa_state.u64 = cvmx_fau_fetch_and_add64(CVMX_FAU_DFA_STATE, 1ull<<CVMX_DFA_STATE_TICKET_BIT_… in __cvmx_dfa_write_command()
645 my_ticket = cvmx_dfa_state.s.ticket; in __cvmx_dfa_write_command()
648 while (my_ticket != cvmx_dfa_state.s.now_serving) { in __cvmx_dfa_write_command()
649 int delta = my_ticket - cvmx_dfa_state.s.now_serving; in __cvmx_dfa_write_command()
652cvmx_dfa_state.u64 = cvmx_fau_fetch_and_add64(CVMX_FAU_DFA_STATE, 0); // poll for my_ticket==now_… in __cvmx_dfa_write_command()
656 index = cvmx_dfa_state.s.index; in __cvmx_dfa_write_command()
659 head = &((CASTPTR(cvmx_dfa_command_t, (cvmx_dfa_state.s2.base_address_div32 * 32ull))[index])); in __cvmx_dfa_write_command()
672 …mx_fau_reg_32_t)(CVMX_FAU_DFA_STATE + (CAST64(&cvmx_dfa_state.s.base_address_div16)-CAST64(&cvmx_d… in __cvmx_dfa_write_command()
685 …((cvmx_fau_reg_16_t)(CVMX_FAU_DFA_STATE+(CAST64(&cvmx_dfa_state.s.now_serving) - CAST64(&cvmx_dfa_… in __cvmx_dfa_write_command()