Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/mixart/
Dmixart_core.c39 u32 headptr, tailptr; in retrieve_msg_frame() local
42 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_HEAD)); in retrieve_msg_frame()
44 if (tailptr == headptr) in retrieve_msg_frame()
66 u32 headptr; in get_msg() local
104 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_FREE_HEAD)); in get_msg()
106 …if( (headptr < MSG_OUTBOUND_FREE_STACK) || ( headptr >= (MSG_OUTBOUND_FREE_STACK+MSG_BOUND_STACK_S… in get_msg()
112 writel_be(msg_frame_address, MIXART_MEM(mgr, headptr)); in get_msg()
115 headptr += 4; in get_msg()
116 if( headptr >= (MSG_OUTBOUND_FREE_STACK+MSG_BOUND_STACK_SIZE) ) in get_msg()
117 headptr = MSG_OUTBOUND_FREE_STACK; in get_msg()
[all …]