Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ring_mux.c284 u64 readp, offset, start, end; in amdgpu_ring_mux_get_rptr() local
292 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()
/linux/tools/hv/
H A Dhv_kvp_daemon.c191 struct kvp_record *readp; in kvp_update_mem_state() local
205 readp = &record[records_read]; in kvp_update_mem_state()
206 records_read += fread(readp, sizeof(struct kvp_record), in kvp_update_mem_state()