Lines Matching refs:vch
287 struct virtio_rpmsg_channel *vch = to_virtio_rpmsg_channel(rpdev); in virtio_rpmsg_create_ept() local
289 return __rpmsg_create_ept(vch->vrp, rpdev, cb, priv, chinfo.src); in virtio_rpmsg_create_ept()
320 struct virtio_rpmsg_channel *vch = to_virtio_rpmsg_channel(ept->rpdev); in virtio_rpmsg_destroy_ept() local
322 __rpmsg_destroy_ept(vch->vrp, ept); in virtio_rpmsg_destroy_ept()
327 struct virtio_rpmsg_channel *vch = to_virtio_rpmsg_channel(rpdev); in virtio_rpmsg_announce_create() local
328 struct virtproc_info *vrp = vch->vrp; in virtio_rpmsg_announce_create()
351 struct virtio_rpmsg_channel *vch = to_virtio_rpmsg_channel(rpdev); in virtio_rpmsg_announce_destroy() local
352 struct virtproc_info *vrp = vch->vrp; in virtio_rpmsg_announce_destroy()
382 struct virtio_rpmsg_channel *vch = to_virtio_rpmsg_channel(rpdev); in virtio_rpmsg_release_device() local
384 kfree(vch); in virtio_rpmsg_release_device()
395 struct virtio_rpmsg_channel *vch; in rpmsg_create_channel() local
410 vch = kzalloc(sizeof(*vch), GFP_KERNEL); in rpmsg_create_channel()
411 if (!vch) in rpmsg_create_channel()
415 vch->vrp = vrp; in rpmsg_create_channel()
418 rpdev = &vch->rpdev; in rpmsg_create_channel()
558 struct virtio_rpmsg_channel *vch = to_virtio_rpmsg_channel(rpdev); in rpmsg_send_offchannel_raw() local
559 struct virtproc_info *vrp = vch->vrp; in rpmsg_send_offchannel_raw()