Lines Matching refs:ept
157 struct rpmsg_endpoint ept; member
188 #define to_glink_channel(_ept) container_of(_ept, struct glink_channel, ept)
904 if (channel->ept.cb) { in qcom_glink_rx_data()
905 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
908 channel->ept.priv, in qcom_glink_rx_data()
1162 struct glink_channel *parent = to_glink_channel(rpdev->ept); in qcom_glink_create_ept()
1165 struct rpmsg_endpoint *ept; in qcom_glink_create_ept() local
1188 ept = &channel->ept; in qcom_glink_create_ept()
1189 ept->rpdev = rpdev; in qcom_glink_create_ept()
1190 ept->cb = cb; in qcom_glink_create_ept()
1191 ept->priv = priv; in qcom_glink_create_ept()
1192 ept->ops = &glink_endpoint_ops; in qcom_glink_create_ept()
1194 return ept; in qcom_glink_create_ept()
1199 struct glink_channel *channel = to_glink_channel(rpdev->ept); in qcom_glink_announce_create()
1235 static void qcom_glink_destroy_ept(struct rpmsg_endpoint *ept) in qcom_glink_destroy_ept() argument
1237 struct glink_channel *channel = to_glink_channel(ept); in qcom_glink_destroy_ept()
1242 channel->ept.cb = NULL; in qcom_glink_destroy_ept()
1380 static int qcom_glink_send(struct rpmsg_endpoint *ept, void *data, int len) in qcom_glink_send() argument
1382 struct glink_channel *channel = to_glink_channel(ept); in qcom_glink_send()
1387 static int qcom_glink_trysend(struct rpmsg_endpoint *ept, void *data, int len) in qcom_glink_trysend() argument
1389 struct glink_channel *channel = to_glink_channel(ept); in qcom_glink_trysend()
1394 static int qcom_glink_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in qcom_glink_sendto() argument
1396 struct glink_channel *channel = to_glink_channel(ept); in qcom_glink_sendto()
1401 static int qcom_glink_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in qcom_glink_trysendto() argument
1403 struct glink_channel *channel = to_glink_channel(ept); in qcom_glink_trysendto()
1498 rpdev->ept = &channel->ept; in qcom_glink_rx_open()
1688 struct glink_channel *channel = to_glink_channel(rpdev->ept); in qcom_glink_device_release()
1711 rpdev->ept = &channel->ept; in qcom_glink_create_chrdev()