Searched refs:readp (Results 1 – 2 of 2) sorted by relevance
284 u64 readp, offset, start, end; in amdgpu_ring_mux_get_rptr() local292 readp = amdgpu_ring_get_rptr(mux->real_ring); in amdgpu_ring_mux_get_rptr()297 if (readp <= end) in amdgpu_ring_mux_get_rptr()298 readp += mux->real_ring->ring_size >> 2; in amdgpu_ring_mux_get_rptr()302 if (start <= readp && readp <= end) { in amdgpu_ring_mux_get_rptr()303 offset = readp - start; in amdgpu_ring_mux_get_rptr()305 } else if (readp < start) { in amdgpu_ring_mux_get_rptr()
191 struct kvp_record *readp; in kvp_update_mem_state() local205 readp = &record[records_read]; in kvp_update_mem_state()206 records_read += fread(readp, sizeof(struct kvp_record), in kvp_update_mem_state()