Home
last modified time | relevance | path

Searched refs:ept (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.15/drivers/rpmsg/
Drpmsg_core.c126 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
128 if (ept && ept->ops) in rpmsg_destroy_ept()
129 ept->ops->destroy_ept(ept); in rpmsg_destroy_ept()
151 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) in rpmsg_send() argument
153 if (WARN_ON(!ept)) in rpmsg_send()
155 if (!ept->ops->send) in rpmsg_send()
158 return ept->ops->send(ept, data, len); in rpmsg_send()
180 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in rpmsg_sendto() argument
182 if (WARN_ON(!ept)) in rpmsg_sendto()
184 if (!ept->ops->sendto) in rpmsg_sendto()
[all …]
Dvirtio_rpmsg_bus.c141 static void virtio_rpmsg_destroy_ept(struct rpmsg_endpoint *ept);
142 static int virtio_rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
143 static int virtio_rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len,
145 static int virtio_rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src,
147 static int virtio_rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
148 static int virtio_rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data,
150 static int virtio_rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src,
198 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __ept_release() local
204 kfree(ept); in __ept_release()
214 struct rpmsg_endpoint *ept; in __rpmsg_create_ept() local
[all …]
Dmtk_rpmsg.c56 struct rpmsg_endpoint ept; member
61 #define to_mtk_rpmsg_endpoint(r) container_of(r, struct mtk_rpmsg_endpoint, ept)
67 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __mtk_ept_release() local
69 kfree(to_mtk_rpmsg_endpoint(ept)); in __mtk_ept_release()
75 struct rpmsg_endpoint *ept = &mept->ept; in mtk_rpmsg_ipi_handler() local
78 ret = (*ept->cb)(ept->rpdev, data, len, ept->priv, ept->addr); in mtk_rpmsg_ipi_handler()
80 dev_warn(&ept->rpdev->dev, "rpmsg handler return error = %d", in mtk_rpmsg_ipi_handler()
90 struct rpmsg_endpoint *ept; in __mtk_create_ept() local
99 ept = &mept->ept; in __mtk_create_ept()
100 kref_init(&ept->refcount); in __mtk_create_ept()
[all …]
Drpmsg_internal.h42 int (*announce_create)(struct rpmsg_device *ept);
43 int (*announce_destroy)(struct rpmsg_device *ept);
62 void (*destroy_ept)(struct rpmsg_endpoint *ept);
64 int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
65 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
66 int (*send_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
69 int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len);
70 int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
71 int (*trysend_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
73 __poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
Drpmsg_char.c74 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
130 if (eptdev->ept) in rpmsg_eptdev_open()
135 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open()
136 if (!ept) { in rpmsg_eptdev_open()
142 eptdev->ept = ept; in rpmsg_eptdev_open()
155 if (eptdev->ept) { in rpmsg_eptdev_release()
[all …]
Dqcom_smd.c167 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()
[all …]
Dqcom_glink_native.c155 struct rpmsg_endpoint ept; member
186 #define to_glink_channel(_ept) container_of(_ept, struct glink_channel, ept)
879 if (channel->ept.cb) { in qcom_glink_rx_data()
880 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
883 channel->ept.priv, in qcom_glink_rx_data()
1134 struct glink_channel *parent = to_glink_channel(rpdev->ept); in qcom_glink_create_ept()
1137 struct rpmsg_endpoint *ept; in qcom_glink_create_ept() local
1160 ept = &channel->ept; in qcom_glink_create_ept()
1161 ept->rpdev = rpdev; in qcom_glink_create_ept()
1162 ept->cb = cb; in qcom_glink_create_ept()
[all …]
Dqcom_glink_ssr.c50 struct rpmsg_endpoint *ept; member
116 ret = rpmsg_send(ssr->ept, &msg, sizeof(msg)); in qcom_glink_ssr_notifier_call()
138 ssr->ept = rpdev->ept; in qcom_glink_ssr_probe()
Drpmsg_ns.c95 rpdev->ept = ns_ept; in rpmsg_ns_probe()
/Linux-v5.15/include/linux/
Drpmsg.h57 struct rpmsg_endpoint *ept; member
176 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
177 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
178 int rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
181 int rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
182 int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
183 int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
186 __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,
220 static inline void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
237 static inline int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) in rpmsg_send() argument
[all …]
/Linux-v5.15/arch/x86/kvm/vmx/
Dcapabilities.h69 u32 ept; member
287 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
292 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
297 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
302 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
307 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
312 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
317 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
322 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
327 return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT; in cpu_has_vmx_invept_global()
/Linux-v5.15/drivers/net/wwan/
Drpmsg_wwan_ctrl.c14 struct rpmsg_endpoint *ept; member
41 rpwwan->ept = rpmsg_create_ept(rpwwan->rpdev, rpmsg_wwan_ctrl_callback, in rpmsg_wwan_ctrl_start()
43 if (!rpwwan->ept) in rpmsg_wwan_ctrl_start()
53 rpmsg_destroy_ept(rpwwan->ept); in rpmsg_wwan_ctrl_stop()
54 rpwwan->ept = NULL; in rpmsg_wwan_ctrl_stop()
62 ret = rpmsg_trysend(rpwwan->ept, skb->data, skb->len); in rpmsg_wwan_ctrl_tx()
75 ret = rpmsg_send(rpwwan->ept, skb->data, skb->len); in rpmsg_wwan_ctrl_tx_blocking()
88 return rpmsg_poll(rpwwan->ept, filp, wait); in rpmsg_wwan_ctrl_tx_poll()
/Linux-v5.15/arch/x86/kernel/cpu/
Dfeat_ctl.c25 u32 supported, funcs, ept, vpid, ign; in init_vmx_capabilities() local
52 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); in init_vmx_capabilities()
62 if (ept & VMX_EPT_EXECUTE_ONLY_BIT) in init_vmx_capabilities()
64 if (ept & VMX_EPT_AD_BIT) in init_vmx_capabilities()
66 if (ept & VMX_EPT_1GB_PAGE_BIT) in init_vmx_capabilities()
/Linux-v5.15/drivers/platform/chrome/
Dcros_ec_rpmsg.c49 struct rpmsg_endpoint *ept; member
95 ret = rpmsg_send(ec_rpmsg->ept, ec_dev->dout, len); in cros_ec_pkt_xfer_rpmsg()
240 ec_rpmsg->ept = cros_ec_rpmsg_create_ept(rpdev); in cros_ec_rpmsg_probe()
241 if (!ec_rpmsg->ept) in cros_ec_rpmsg_probe()
246 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_probe()
265 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_remove()
/Linux-v5.15/drivers/remoteproc/
Dqcom_sysmon.c40 struct rpmsg_endpoint *ept; member
96 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
132 ret = rpmsg_send(sysmon->ept, req, strlen(req) + 1); in sysmon_request_shutdown()
520 else if (sysmon->ept) in sysmon_start()
550 else if (sysmon->ept) in sysmon_stop()
591 else if (sysmon->ept) in sysmon_notify()
759 rpdev->ept->priv = sysmon; in sysmon_probe()
760 sysmon->ept = rpdev->ept; in sysmon_probe()
773 struct qcom_sysmon *sysmon = rpdev->ept->priv; in sysmon_remove()
775 sysmon->ept = NULL; in sysmon_remove()
/Linux-v5.15/samples/rpmsg/
Drpmsg_client_sample.c44 ret = rpmsg_send(rpdev->ept, MSG, strlen(MSG)); in rpmsg_sample_cb()
66 ret = rpmsg_send(rpdev->ept, MSG, strlen(MSG)); in rpmsg_sample_probe()
/Linux-v5.15/drivers/media/platform/sti/delta/
Ddelta-ipc.c185 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_open()
284 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_set_stream()
398 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_decode()
464 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_close()
/Linux-v5.15/arch/mips/include/asm/fw/cfe/
Dcfe_api.h96 int cfe_init(uint64_t handle, uint64_t ept);
/Linux-v5.15/net/qrtr/
Dsmd.c68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
/Linux-v5.15/arch/mips/fw/cfe/
Dcfe_api.c38 int cfe_init(u64 handle, u64 ept) in cfe_init() argument
40 cfe_dispfunc = NATIVE_FROM_XPTR(ept); in cfe_init()
/Linux-v5.15/drivers/soc/qcom/
Dsmd-rpm.c210 rpm->rpm_channel = rpdev->ept; in qcom_smd_rpm_probe()
Dwcnss_ctrl.c324 wcnss->channel = rpdev->ept; in wcnss_ctrl_probe()
Dapr.c430 apr->ch = rpdev->ept; in apr_probe()
/Linux-v5.15/Documentation/virt/kvm/
Drunning-nested-guests.rst134 $ cat /sys/module/kvm_intel/parameters/ept
139 ``enable_shadow_vmcs`` and ``ept``).
/Linux-v5.15/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1311 enum htc_endpoint_id ept = packet->endpoint; in ath6kl_rx() local
1324 __func__, ar, ept, skb, packet->buf, in ath6kl_rx()
1338 if (ept == ar->ctrl_ep) { in ath6kl_rx()

12