Lines Matching refs:MIXART_MEM
53 tailptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame()
54 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_HEAD)); in retrieve_msg_frame()
64 *msg_frame = readl_be(MIXART_MEM(mgr, tailptr)); in retrieve_msg_frame()
70 writel_be(tailptr, MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL)); in retrieve_msg_frame()
90 …size = readl_be(MIXART_MEM(mgr, msg_frame_address)); /* size of descriptor +… in get_msg()
91 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */ in get_msg()
92 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ in get_msg()
93 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ in get_msg()
102 memcpy_fromio(resp->data, MIXART_MEM(mgr, msg_frame_address + MSG_HEADER_SIZE ), size); in get_msg()
116 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_FREE_HEAD)); in get_msg()
124 writel_be(msg_frame_address, MIXART_MEM(mgr, headptr)); in get_msg()
131 writel_be(headptr, MIXART_MEM(mgr, MSG_OUTBOUND_FREE_HEAD)); in get_msg()
160 tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL)); in send_msg()
161 headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD)); in send_msg()
172 msg_frame_address = readl_be(MIXART_MEM(mgr, tailptr)); in send_msg()
173 writel(0, MIXART_MEM(mgr, tailptr)); /* set address to zero on this fifo position */ in send_msg()
180 writel_be(tailptr, MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL)); in send_msg()
185 …writel_be( msg->size + MSG_DESCRIPTOR_SIZE, MIXART_MEM(mgr, msg_frame_address) ); /* siz… in send_msg()
186 …writel_be( msg->message_id , MIXART_MEM(mgr, msg_frame_address + 4) ); /* dwM… in send_msg()
187 …writel_be( msg->uid.object_id, MIXART_MEM(mgr, msg_frame_address + 8) ); /* uid… in send_msg()
188 writel_be( msg->uid.desc, MIXART_MEM(mgr, msg_frame_address + 12) ); /* */ in send_msg()
189 …writel_be( MSG_DESCRIPTOR_SIZE, MIXART_MEM(mgr, msg_frame_address + 16) ); /* Siz… in send_msg()
190 …writel_be( MSG_DESCRIPTOR_SIZE, MIXART_MEM(mgr, msg_frame_address + 20) ); /* Off… in send_msg()
191 …writel_be( msg->size, MIXART_MEM(mgr, msg_frame_address + 24) ); /* Siz… in send_msg()
192 …writel_be( MSG_DESCRIPTOR_SIZE, MIXART_MEM(mgr, msg_frame_address + 28) ); /* Off… in send_msg()
193 …writel_be( 0, MIXART_MEM(mgr, msg_frame_address + 32) ); /* Siz… in send_msg()
194 …writel_be( MSG_DESCRIPTOR_SIZE + max_answersize, MIXART_MEM(mgr, msg_frame_address + 36) ); /* dwE… in send_msg()
198 writel_be( *(u32*)(msg->data + i), MIXART_MEM(mgr, MSG_HEADER_SIZE + msg_frame_address + i) ); in send_msg()
219 headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_POST_HEAD)); in send_msg()
225 writel_be(msg_frame_address, MIXART_MEM(mgr, headptr)); in send_msg()
232 writel_be(headptr, MIXART_MEM(mgr, MSG_INBOUND_POST_HEAD)); in send_msg()
576 writel( 0, MIXART_MEM( mgr, MSG_HOST_RSC_PROTECTION ) ); in snd_mixart_init_mailbox()
577 writel( 0, MIXART_MEM( mgr, MSG_AGENT_RSC_PROTECTION ) ); in snd_mixart_init_mailbox()