Lines Matching refs:chinfo
61 struct rpmsg_channel_info chinfo; member
146 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open()
149 dev_err(dev, "failed to open %s\n", eptdev->chinfo.name); in rpmsg_eptdev_open()
260 ret = rpmsg_trysendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter()
264 ret = rpmsg_sendto(eptdev->ept, kbuf, len, eptdev->chinfo.dst); in rpmsg_eptdev_write_iter()
326 return sprintf(buf, "%s\n", eptdev->chinfo.name); in name_show()
335 return sprintf(buf, "%d\n", eptdev->chinfo.src); in src_show()
344 return sprintf(buf, "%d\n", eptdev->chinfo.dst); in dst_show()
395 static int rpmsg_chrdev_eptdev_add(struct rpmsg_eptdev *eptdev, struct rpmsg_channel_info chinfo) in rpmsg_chrdev_eptdev_add() argument
400 eptdev->chinfo = chinfo; in rpmsg_chrdev_eptdev_add()
434 struct rpmsg_channel_info chinfo) in rpmsg_chrdev_eptdev_create() argument
442 return rpmsg_chrdev_eptdev_add(eptdev, chinfo); in rpmsg_chrdev_eptdev_create()
448 struct rpmsg_channel_info chinfo; in rpmsg_chrdev_probe() local
452 memcpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); in rpmsg_chrdev_probe()
453 chinfo.src = rpdev->src; in rpmsg_chrdev_probe()
454 chinfo.dst = rpdev->dst; in rpmsg_chrdev_probe()
469 return rpmsg_chrdev_eptdev_add(eptdev, chinfo); in rpmsg_chrdev_probe()