Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/rpmsg/
Drpmsg_core.c82 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
84 if (ept) 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.c167 static void virtio_rpmsg_destroy_ept(struct rpmsg_endpoint *ept);
168 static int virtio_rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
169 static int virtio_rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len,
171 static int virtio_rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src,
173 static int virtio_rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
174 static int virtio_rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data,
176 static int virtio_rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src,
222 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __ept_release() local
228 kfree(ept); in __ept_release()
238 struct rpmsg_endpoint *ept; in __rpmsg_create_ept() local
[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()
153 if (eptdev->ept) { in rpmsg_eptdev_release()
154 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)
857 if (channel->ept.cb) { in qcom_glink_rx_data()
858 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
861 channel->ept.priv, in qcom_glink_rx_data()
1113 struct glink_channel *parent = to_glink_channel(rpdev->ept); in qcom_glink_create_ept()
1116 struct rpmsg_endpoint *ept; in qcom_glink_create_ept() local
1139 ept = &channel->ept; in qcom_glink_create_ept()
1140 ept->rpdev = rpdev; in qcom_glink_create_ept()
1141 ept->cb = cb; in qcom_glink_create_ept()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/arch/x86/kvm/vmx/
Dcapabilities.h64 u32 ept; member
277 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
282 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
287 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
292 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
297 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
302 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
307 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
312 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
317 return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT; in cpu_has_vmx_invept_global()
Dvmx.c83 module_param_named(ept, enable_ept, bool, S_IRUGO);
2414 &vmx_cap->ept, &vmx_cap->vpid); in setup_vmcs_config()
2422 } else if (vmx_cap->ept) { in setup_vmcs_config()
2423 vmx_cap->ept = 0; in setup_vmcs_config()
6796 vmx_capability.ept, in vmx_create_vcpu()
6879 nested_vmx_setup_ctls_msrs(&vmcs_conf.nested, vmx_cap.ept, in vmx_check_processor_compat()
7730 vmx_capability.ept, enable_apicv); in hardware_setup()
/Linux-v5.4/drivers/remoteproc/
Dqcom_sysmon.c37 struct rpmsg_endpoint *ept; member
71 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
104 ret = rpmsg_send(sysmon->ept, req, strlen(req) + 1); in sysmon_request_shutdown()
444 else if (sysmon->ept) in sysmon_stop()
470 else if (sysmon->ept) in sysmon_notify()
619 rpdev->ept->priv = sysmon; in sysmon_probe()
620 sysmon->ept = rpdev->ept; in sysmon_probe()
633 struct qcom_sysmon *sysmon = rpdev->ept->priv; in sysmon_remove()
635 sysmon->ept = NULL; in sysmon_remove()
/Linux-v5.4/drivers/soc/qcom/
Dglink_ssr.c49 struct rpmsg_endpoint *ept; member
101 ret = rpmsg_send(ssr->ept, &msg, sizeof(msg)); in qcom_glink_ssr_notify()
123 ssr->ept = rpdev->ept; in qcom_glink_ssr_probe()
Dsmd-rpm.c205 rpm->rpm_channel = rpdev->ept; in qcom_smd_rpm_probe()
Dwcnss_ctrl.c317 wcnss->channel = rpdev->ept; in wcnss_ctrl_probe()
Dapr.c338 apr->ch = rpdev->ept; in apr_probe()
/Linux-v5.4/drivers/platform/chrome/
Dcros_ec_rpmsg.c44 struct rpmsg_endpoint *ept; member
88 ret = rpmsg_send(ec_rpmsg->ept, ec_dev->dout, len); in cros_ec_pkt_xfer_rpmsg()
241 ec_rpmsg->ept = cros_ec_rpmsg_create_ept(rpdev); in cros_ec_rpmsg_probe()
242 if (!ec_rpmsg->ept) in cros_ec_rpmsg_probe()
247 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_probe()
261 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_remove()
/Linux-v5.4/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.4/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()
/Linux-v5.4/arch/mips/include/asm/fw/cfe/
Dcfe_api.h96 int cfe_init(uint64_t handle, uint64_t ept);
/Linux-v5.4/net/qrtr/
Dsmd.c68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
/Linux-v5.4/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.4/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()
/Linux-v5.4/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'
/Linux-v5.4/Documentation/
Drpmsg.txt233 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept);
/Linux-v5.4/arch/x86/kvm/
Dmmu.c4738 struct kvm_mmu *mmu, bool ept) in update_permission_bitmask() argument
4769 if (!ept) { in update_permission_bitmask()
4834 bool ept) in update_pkru_bitmask() argument
4839 if (ept) { in update_pkru_bitmask()
/Linux-v5.4/drivers/misc/
Dfastrpc.c904 return rpmsg_send(cctx->rpdev->ept, (void *)msg, sizeof(*msg)); in fastrpc_invoke_send()

12