Lines Matching refs:rptr
40 ptr2 = desc->rptr; in vpu_rpc_check_buffer_space()
42 ptr1 = desc->rptr; in vpu_rpc_check_buffer_space()
112 msgword = *(u32 *)(shared->msg_mem_vir + desc->rptr - desc->start); in vpu_rpc_check_msg()
126 u32 rptr; in vpu_rpc_receive_msg_buf() local
133 data = (u32 *)(shared->msg_mem_vir + desc->rptr - desc->start); in vpu_rpc_receive_msg_buf()
134 rptr = desc->rptr; in vpu_rpc_receive_msg_buf()
137 rptr += 4; in vpu_rpc_receive_msg_buf()
138 if (rptr >= desc->end) { in vpu_rpc_receive_msg_buf()
139 rptr = desc->start; in vpu_rpc_receive_msg_buf()
153 rptr += 4; in vpu_rpc_receive_msg_buf()
154 if (rptr >= desc->end) { in vpu_rpc_receive_msg_buf()
155 rptr = desc->start; in vpu_rpc_receive_msg_buf()
162 desc->rptr = rptr; in vpu_rpc_receive_msg_buf()