Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_core.c82 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
84 if (ept && ept->ops) in rpmsg_destroy_ept()
85 ept->ops->destroy_ept(ept); in rpmsg_destroy_ept()
107 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) in rpmsg_send() argument
109 if (WARN_ON(!ept)) in rpmsg_send()
111 if (!ept->ops->send) in rpmsg_send()
114 return ept->ops->send(ept, data, len); in rpmsg_send()
136 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in rpmsg_sendto() argument
138 if (WARN_ON(!ept)) in rpmsg_sendto()
140 if (!ept->ops->sendto) in rpmsg_sendto()
[all …]
Dvirtio_rpmsg_bus.c173 static void virtio_rpmsg_destroy_ept(struct rpmsg_endpoint *ept);
174 static int virtio_rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
175 static int virtio_rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len,
177 static int virtio_rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src,
179 static int virtio_rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
180 static int virtio_rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data,
182 static int virtio_rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src,
228 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __ept_release() local
234 kfree(ept); in __ept_release()
244 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.h36 int (*announce_create)(struct rpmsg_device *ept);
37 int (*announce_destroy)(struct rpmsg_device *ept);
56 void (*destroy_ept)(struct rpmsg_endpoint *ept);
58 int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
59 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
60 int (*send_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
63 int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len);
64 int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
65 int (*trysend_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
67 __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
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()
[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.c49 struct rpmsg_endpoint *ept; member
115 ret = rpmsg_send(ssr->ept, &msg, sizeof(msg)); in qcom_glink_ssr_notifier_call()
137 ssr->ept = rpdev->ept; in qcom_glink_ssr_probe()
/kernel/linux/linux-5.10/include/linux/
Drpmsg.h56 struct rpmsg_endpoint *ept; member
125 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
126 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
127 int rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
130 int rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
131 int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
132 int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
135 __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,
166 static inline void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
183 static inline int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) in rpmsg_send() argument
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dcapabilities.h67 u32 ept; member
280 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
285 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
290 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
295 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
300 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
305 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
310 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
315 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
320 return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT; in cpu_has_vmx_invept_global()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
244 ec_rpmsg->ept = cros_ec_rpmsg_create_ept(rpdev); in cros_ec_rpmsg_probe()
245 if (!ec_rpmsg->ept) in cros_ec_rpmsg_probe()
250 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_probe()
269 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_remove()
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_sysmon.c40 struct rpmsg_endpoint *ept; member
96 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
129 ret = rpmsg_send(sysmon->ept, req, strlen(req) + 1); in sysmon_request_shutdown()
501 else if (sysmon->ept) in sysmon_start()
534 else if (sysmon->ept) in sysmon_stop()
575 else if (sysmon->ept) in sysmon_notify()
731 rpdev->ept->priv = sysmon; in sysmon_probe()
732 sysmon->ept = rpdev->ept; in sysmon_probe()
745 struct qcom_sysmon *sysmon = rpdev->ept->priv; in sysmon_remove()
747 sysmon->ept = NULL; in sysmon_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch1824 @@ -1333,6 +1333,20 @@ static int qcom_glink_trysend(struct rpmsg_endpoint *ept, void *data, int le…
1828 +static int qcom_glink_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst)
1830 + struct glink_channel *channel = to_glink_channel(ept);
1835 +static int qcom_glink_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst)
1837 + struct glink_channel *channel = to_glink_channel(ept);
1868 @@ -974,6 +974,20 @@ static int qcom_smd_trysend(struct rpmsg_endpoint *ept, void *data, int len)
1872 +static int qcom_smd_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst)
1874 + struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept);
1879 +static int qcom_smd_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst)
1881 + struct qcom_smd_endpoint *qsept = to_smd_endpoint(ept);
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
Ddelta-ipc.c186 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_open()
285 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_set_stream()
399 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_decode()
465 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); in delta_ipc_close()
/kernel/linux/linux-5.10/arch/mips/include/asm/fw/cfe/
Dcfe_api.h96 int cfe_init(uint64_t handle, uint64_t ept);
/kernel/linux/linux-5.10/net/qrtr/
Dsmd.c68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dsmd-rpm.c210 rpm->rpm_channel = rpdev->ept; in qcom_smd_rpm_probe()
Dwcnss_ctrl.c317 wcnss->channel = rpdev->ept; in wcnss_ctrl_probe()
Dapr.c473 apr->ch = rpdev->ept; in apr_probe()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Drunning-nested-guests.rst134 $ cat /sys/module/kvm_intel/parameters/ept
139 ``enable_shadow_vmcs`` and ``ept``).
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/
Dl1tf.rst357 EPT can be disabled in the hypervisor via the 'kvm-intel.ept' parameter.
491 EPT can be disabled in the hypervisor via the 'kvm-intel.ept' parameter.
550 EPT can be disabled in the hypervisor via the 'kvm-intel.ept'

12