Lines Matching full:rsc

75 	struct fw_rsc_vdev *rsc;  in rp_find_vq()  local
120 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rp_find_vq()
121 rsc->vring[id].da = mem->da; in rp_find_vq()
176 struct fw_rsc_vdev *rsc; in rproc_virtio_get_status() local
178 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_status()
180 return rsc->status; in rproc_virtio_get_status()
186 struct fw_rsc_vdev *rsc; in rproc_virtio_set_status() local
188 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_set_status()
190 rsc->status = status; in rproc_virtio_set_status()
197 struct fw_rsc_vdev *rsc; in rproc_virtio_reset() local
199 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_reset()
201 rsc->status = 0; in rproc_virtio_reset()
209 struct fw_rsc_vdev *rsc; in rproc_virtio_get_features() local
211 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_features()
213 return rsc->dfeatures; in rproc_virtio_get_features()
229 struct fw_rsc_vdev *rsc; in rproc_virtio_finalize_features() local
231 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_finalize_features()
246 rsc->gfeatures = vdev->features; in rproc_virtio_finalize_features()
255 struct fw_rsc_vdev *rsc; in rproc_virtio_get() local
258 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get()
259 cfg = &rsc->vring[rsc->num_of_vrings]; in rproc_virtio_get()
261 if (offset + len > rsc->config_len || offset + len < len) { in rproc_virtio_get()
273 struct fw_rsc_vdev *rsc; in rproc_virtio_set() local
276 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_set()
277 cfg = &rsc->vring[rsc->num_of_vrings]; in rproc_virtio_set()
279 if (offset + len > rsc->config_len || offset + len < len) { in rproc_virtio_set()