Searched refs:tailptr (Results 1 – 1 of 1) sorted by relevance
37 u32 headptr, tailptr; in retrieve_msg_frame() local39 tailptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame()42 if (tailptr == headptr) in retrieve_msg_frame()45 if (tailptr < MSG_OUTBOUND_POST_STACK) in retrieve_msg_frame()47 if (tailptr >= MSG_OUTBOUND_POST_STACK + MSG_BOUND_STACK_SIZE) in retrieve_msg_frame()50 *msg_frame = readl_be(MIXART_MEM(mgr, tailptr)); in retrieve_msg_frame()53 tailptr += 4; in retrieve_msg_frame()54 if( tailptr >= (MSG_OUTBOUND_POST_STACK+MSG_BOUND_STACK_SIZE) ) in retrieve_msg_frame()55 tailptr = MSG_OUTBOUND_POST_STACK; in retrieve_msg_frame()56 writel_be(tailptr, MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame()[all …]