Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/remoteproc/
Dremoteproc_virtio.c494 struct rproc_vdev_data *rvdev_data = dev->platform_data; in rproc_virtio_probe() local
500 if (!rvdev_data) in rproc_virtio_probe()
507 rvdev->id = rvdev_data->id; in rproc_virtio_probe()
509 rvdev->index = rvdev_data->index; in rproc_virtio_probe()
527 rsc = rvdev_data->rsc; in rproc_virtio_probe()
537 rvdev->rsc_offset = rvdev_data->rsc_offset; in rproc_virtio_probe()
Dremoteproc_core.c482 struct rproc_vdev_data rvdev_data; in rproc_handle_vdev() local
507 rvdev_data.id = rsc->id; in rproc_handle_vdev()
508 rvdev_data.index = rproc->nb_vdev++; in rproc_handle_vdev()
509 rvdev_data.rsc_offset = offset; in rproc_handle_vdev()
510 rvdev_data.rsc = rsc; in rproc_handle_vdev()
518 pdev = platform_device_register_data(dev, "rproc-virtio", PLATFORM_DEVID_AUTO, &rvdev_data, in rproc_handle_vdev()
519 sizeof(rvdev_data)); in rproc_handle_vdev()