Searched refs:tailptr (Results 1 – 1 of 1) sorted by relevance
52 u32 headptr, tailptr; in retrieve_msg_frame() local54 tailptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame()57 if (tailptr == headptr) in retrieve_msg_frame()60 if (tailptr < MSG_OUTBOUND_POST_STACK) in retrieve_msg_frame()62 if (tailptr >= MSG_OUTBOUND_POST_STACK + MSG_BOUND_STACK_SIZE) in retrieve_msg_frame()65 *msg_frame = readl_be(MIXART_MEM(mgr, tailptr)); in retrieve_msg_frame()68 tailptr += 4; in retrieve_msg_frame()69 if( tailptr >= (MSG_OUTBOUND_POST_STACK+MSG_BOUND_STACK_SIZE) ) in retrieve_msg_frame()70 tailptr = MSG_OUTBOUND_POST_STACK; in retrieve_msg_frame()71 writel_be(tailptr, MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame()[all …]