Lines Matching refs:ept
74 struct rpmsg_endpoint *ept; member
86 if (eptdev->ept) { in rpmsg_eptdev_destroy()
87 rpmsg_destroy_ept(eptdev->ept); in rpmsg_eptdev_destroy()
88 eptdev->ept = NULL; in rpmsg_eptdev_destroy()
126 struct rpmsg_endpoint *ept; in rpmsg_eptdev_open() local
132 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open()
133 if (!ept) { in rpmsg_eptdev_open()
139 eptdev->ept = ept; in rpmsg_eptdev_open()
152 if (eptdev->ept) { in rpmsg_eptdev_release()
153 rpmsg_destroy_ept(eptdev->ept); in rpmsg_eptdev_release()
154 eptdev->ept = NULL; in rpmsg_eptdev_release()
174 if (!eptdev->ept) in rpmsg_eptdev_read_iter()
189 !eptdev->ept)) in rpmsg_eptdev_read_iter()
193 if (!eptdev->ept) in rpmsg_eptdev_read_iter()
236 if (!eptdev->ept) { in rpmsg_eptdev_write_iter()
242 ret = rpmsg_trysend(eptdev->ept, kbuf, len); in rpmsg_eptdev_write_iter()
244 ret = rpmsg_send(eptdev->ept, kbuf, len); in rpmsg_eptdev_write_iter()
259 if (!eptdev->ept) in rpmsg_eptdev_poll()
267 mask |= rpmsg_poll(eptdev->ept, filp, wait); in rpmsg_eptdev_poll()