Lines Matching refs:rptr
42 ptr2 = desc->rptr; in vpu_rpc_check_buffer_space()
44 ptr1 = desc->rptr; in vpu_rpc_check_buffer_space()
114 msgword = *(u32 *)(shared->msg_mem_vir + desc->rptr - desc->start); in vpu_rpc_check_msg()
128 u32 rptr; in vpu_rpc_receive_msg_buf() local
135 data = (u32 *)(shared->msg_mem_vir + desc->rptr - desc->start); in vpu_rpc_receive_msg_buf()
136 rptr = desc->rptr; in vpu_rpc_receive_msg_buf()
139 rptr += 4; in vpu_rpc_receive_msg_buf()
140 if (rptr >= desc->end) { in vpu_rpc_receive_msg_buf()
141 rptr = desc->start; in vpu_rpc_receive_msg_buf()
155 rptr += 4; in vpu_rpc_receive_msg_buf()
156 if (rptr >= desc->end) { in vpu_rpc_receive_msg_buf()
157 rptr = desc->start; in vpu_rpc_receive_msg_buf()
164 desc->rptr = rptr; in vpu_rpc_receive_msg_buf()