Lines Matching refs:ept

167 	struct rpmsg_endpoint ept;  member
174 #define to_smd_endpoint(e) container_of(e, struct qcom_smd_endpoint, ept)
416 struct rpmsg_endpoint *ept = &channel->qsept->ept; in qcom_smd_channel_set_callback() local
420 ept->cb = cb; in qcom_smd_channel_set_callback()
544 struct rpmsg_endpoint *ept = &channel->qsept->ept; in qcom_smd_channel_recv_single() local
561 ret = ept->cb(ept->rpdev, ptr, len, ept->priv, RPMSG_ADDR_ANY); in qcom_smd_channel_recv_single()
896 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __ept_release() local
898 kfree(to_smd_endpoint(ept)); in __ept_release()
909 struct rpmsg_endpoint *ept; in qcom_smd_create_ept() local
929 ept = &qsept->ept; in qcom_smd_create_ept()
931 kref_init(&ept->refcount); in qcom_smd_create_ept()
933 ept->rpdev = rpdev; in qcom_smd_create_ept()
934 ept->cb = cb; in qcom_smd_create_ept()
935 ept->priv = priv; in qcom_smd_create_ept()
936 ept->ops = &qcom_smd_endpoint_ops; in qcom_smd_create_ept()
945 return ept; in qcom_smd_create_ept()
949 kref_put(&ept->refcount, __ept_release); in qcom_smd_create_ept()
953 static void qcom_smd_destroy_ept(struct rpmsg_endpoint *ept) in qcom_smd_destroy_ept() argument
955 struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept); in qcom_smd_destroy_ept()
960 kref_put(&ept->refcount, __ept_release); in qcom_smd_destroy_ept()
963 static int qcom_smd_send(struct rpmsg_endpoint *ept, void *data, int len) in qcom_smd_send() argument
965 struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept); in qcom_smd_send()
970 static int qcom_smd_trysend(struct rpmsg_endpoint *ept, void *data, int len) in qcom_smd_trysend() argument
972 struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept); in qcom_smd_trysend()
977 static int qcom_smd_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in qcom_smd_sendto() argument
979 struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept); in qcom_smd_sendto()
984 static int qcom_smd_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in qcom_smd_trysendto() argument
986 struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept); in qcom_smd_trysendto()
991 static __poll_t qcom_smd_poll(struct rpmsg_endpoint *ept, in qcom_smd_poll() argument
994 struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept); in qcom_smd_poll()
1032 struct qcom_smd_endpoint *qept = to_smd_endpoint(rpdev->ept); in qcom_smd_announce_create()