Home
last modified time | relevance | path

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

12

/linux/drivers/rpmsg/
H A Drpmsg_core.c125 * @ept: endpoing to destroy
131 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
133 if (ept && ept->ops) in rpmsg_destroy_ept()
134 ept->ops->destroy_ept(ept); in rpmsg_destroy_ept()
140 * @ept: the rpmsg endpoint
144 * This function sends @data of length @len on the @ept endpoint.
145 * The message will be sent to the remote processor which the @ept
146 * endpoint belongs to, using @ept'
156 rpmsg_send(struct rpmsg_endpoint * ept,void * data,int len) rpmsg_send() argument
185 rpmsg_sendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) rpmsg_sendto() argument
213 rpmsg_trysend(struct rpmsg_endpoint * ept,void * data,int len) rpmsg_trysend() argument
241 rpmsg_trysendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) rpmsg_trysendto() argument
260 rpmsg_poll(struct rpmsg_endpoint * ept,struct file * filp,poll_table * wait) rpmsg_poll() argument
280 rpmsg_set_flow_control(struct rpmsg_endpoint * ept,bool pause,u32 dst) rpmsg_set_flow_control() argument
301 rpmsg_get_mtu(struct rpmsg_endpoint * ept) rpmsg_get_mtu() argument
479 struct rpmsg_endpoint *ept = NULL; rpmsg_dev_probe() local
[all...]
H A 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 in mtk_rpmsg_ipi_handler()
90 struct rpmsg_endpoint *ept; __mtk_create_ept() local
129 mtk_rpmsg_destroy_ept(struct rpmsg_endpoint * ept) mtk_rpmsg_destroy_ept() argument
138 mtk_rpmsg_send(struct rpmsg_endpoint * ept,void * data,int len) mtk_rpmsg_send() argument
147 mtk_rpmsg_trysend(struct rpmsg_endpoint * ept,void * data,int len) mtk_rpmsg_trysend() argument
[all...]
H A Drpmsg_internal.h64 void (*destroy_ept)(struct rpmsg_endpoint *ept);
66 int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
67 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, 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 __poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
73 int (*set_flow_control)(struct rpmsg_endpoint *ept, bool pause, u32 dst);
74 ssize_t (*get_mtu)(struct rpmsg_endpoint *ept);
H A Drpmsg_char.c48 * @ept_lock: synchronization of @ept modifications
49 * @ept: rpmsg endpoint reference, when open
66 struct rpmsg_endpoint *ept; member
83 if (eptdev->ept) { in rpmsg_chrdev_eptdev_destroy()
86 rpmsg_destroy_ept(eptdev->ept); in rpmsg_chrdev_eptdev_destroy()
87 eptdev->ept = NULL; in rpmsg_chrdev_eptdev_destroy()
138 struct rpmsg_endpoint *ept; in rpmsg_eptdev_open() local
143 if (eptdev->ept) { in rpmsg_eptdev_open()
160 ept = eptdev->default_ept; in rpmsg_eptdev_open()
162 ept in rpmsg_eptdev_open()
[all...]
H A 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 in qcom_smd_channel_recv_single()
896 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, __ept_release() local
909 struct rpmsg_endpoint *ept; qcom_smd_create_ept() local
953 qcom_smd_destroy_ept(struct rpmsg_endpoint * ept) qcom_smd_destroy_ept() argument
963 qcom_smd_send(struct rpmsg_endpoint * ept,void * data,int len) qcom_smd_send() argument
970 qcom_smd_trysend(struct rpmsg_endpoint * ept,void * data,int len) qcom_smd_trysend() argument
977 qcom_smd_sendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) qcom_smd_sendto() argument
984 qcom_smd_trysendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) qcom_smd_trysendto() argument
991 qcom_smd_poll(struct rpmsg_endpoint * ept,struct file * filp,poll_table * wait) qcom_smd_poll() argument
[all...]
H A Dqcom_glink_native.c141 * @ept: rpmsg endpoint this channel is associated with
144 * @recv_lock: guard for @ept.cb
164 struct rpmsg_endpoint ept; member
196 #define to_glink_channel(_ept) container_of(_ept, struct glink_channel, ept)
995 if (channel->ept.cb) { in qcom_glink_rx_data()
996 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
999 channel->ept.priv, in qcom_glink_rx_data()
1120 * @ept: Rpmsg endpoint for channel.
1126 static int qcom_glink_set_flow_control(struct rpmsg_endpoint *ept, boo argument
1328 struct rpmsg_endpoint *ept; qcom_glink_create_ept() local
1398 qcom_glink_destroy_ept(struct rpmsg_endpoint * ept) qcom_glink_destroy_ept() argument
1543 qcom_glink_send(struct rpmsg_endpoint * ept,void * data,int len) qcom_glink_send() argument
1550 qcom_glink_trysend(struct rpmsg_endpoint * ept,void * data,int len) qcom_glink_trysend() argument
1557 qcom_glink_sendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) qcom_glink_sendto() argument
1564 qcom_glink_trysendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) qcom_glink_trysendto() argument
[all...]
/linux/include/linux/
H A Drpmsg.h49 * @ept: the rpmsg endpoint of this channel
59 struct rpmsg_endpoint *ept; member
72 * @refcount: when this drops to zero, the ept is deallocated
185 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
186 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
188 int rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
189 int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
191 __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,
194 ssize_t rpmsg_get_mtu(struct rpmsg_endpoint *ept);
196 int rpmsg_set_flow_control(struct rpmsg_endpoint *ept, boo
235 rpmsg_destroy_ept(struct rpmsg_endpoint * ept) rpmsg_destroy_ept() argument
252 rpmsg_send(struct rpmsg_endpoint * ept,void * data,int len) rpmsg_send() argument
260 rpmsg_sendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) rpmsg_sendto() argument
270 rpmsg_trysend(struct rpmsg_endpoint * ept,void * data,int len) rpmsg_trysend() argument
278 rpmsg_trysendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) rpmsg_trysendto() argument
287 rpmsg_poll(struct rpmsg_endpoint * ept,struct file * filp,poll_table * wait) rpmsg_poll() argument
296 rpmsg_get_mtu(struct rpmsg_endpoint * ept) rpmsg_get_mtu() argument
304 rpmsg_set_flow_control(struct rpmsg_endpoint * ept,bool pause,u32 dst) rpmsg_set_flow_control() argument
[all...]
/linux/arch/x86/kvm/vmx/
H A Dcapabilities.h69 u32 ept; member
293 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
298 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
303 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
308 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
313 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
318 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
332 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
337 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
342 return vmx_capability.ept in cpu_has_vmx_invept_global()
[all...]
/linux/drivers/net/wwan/
H A 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/arch/x86/kernel/cpu/
H A Dfeat_ctl.c28 u32 supported, funcs, ept, vpid, ign, low, high; in init_vmx_capabilities() local
60 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); in init_vmx_capabilities()
70 if (ept & VMX_EPT_EXECUTE_ONLY_BIT) in init_vmx_capabilities()
72 if (ept & VMX_EPT_AD_BIT) in init_vmx_capabilities()
74 if (ept & VMX_EPT_1GB_PAGE_BIT) in init_vmx_capabilities()
76 if (ept & VMX_EPT_PAGE_WALK_5_BIT) in init_vmx_capabilities()
/linux/drivers/soc/qcom/
H A Dpmic_glink.c30 struct rpmsg_endpoint *ept; member
122 if (!pg->ept) { in pmic_glink_send()
128 ret = rpmsg_send(pg->ept, data, len); in pmic_glink_send()
213 if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) in pmic_glink_state_notify_clients()
216 if (pg->pdr_state == SERVREG_SERVICE_STATE_DOWN || !pg->ept) in pmic_glink_state_notify_clients()
251 pg->ept = rpdev->ept; in pmic_glink_rpmsg_probe()
267 pg->ept = NULL; in pmic_glink_rpmsg_remove()
H A Dpmic_pdcharger_ulog.c50 return rpmsg_send(pg->rpdev->ept, data, len); in pmic_pdcharger_ulog_write_async()
H A Dsmd-rpm.c207 rpm->rpm_channel = rpdev->ept; in qcom_smd_rpm_probe()
H A Dwcnss_ctrl.c324 wcnss->channel = rpdev->ept; in wcnss_ctrl_probe()
/linux/drivers/platform/chrome/
H A Dcros_ec_rpmsg.c41 * @ept: The rpmsg endpoint of this channel.
49 struct rpmsg_endpoint *ept; member
97 ret = rpmsg_send(ec_rpmsg->ept, ec_dev->dout, len); in cros_ec_pkt_xfer_rpmsg()
242 ec_rpmsg->ept = cros_ec_rpmsg_create_ept(rpdev); in cros_ec_rpmsg_probe()
243 if (!ec_rpmsg->ept) in cros_ec_rpmsg_probe()
248 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_probe()
267 rpmsg_destroy_ept(ec_rpmsg->ept); in cros_ec_rpmsg_remove()
/linux/drivers/remoteproc/
H A Dqcom_sysmon.c39 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()
525 else if (sysmon->ept) in sysmon_start()
560 else if (sysmon->ept) in sysmon_stop()
601 else if (sysmon->ept) in sysmon_notify()
773 rpdev->ept->priv = sysmon; in sysmon_probe()
774 sysmon->ept = rpdev->ept; in sysmon_probe()
787 struct qcom_sysmon *sysmon = rpdev->ept in sysmon_remove()
[all...]
/linux/drivers/cdx/controller/
H A Dcdx_rpmsg.c40 ret = rpmsg_send(cdx_mcdi->ept, send_buf, hdr_len + sdu_len); in cdx_rpmsg_send()
135 cdx_mcdi->ept = rpmsg_create_ept(rpdev, cdx_rpmsg_cb, NULL, chinfo); in cdx_rpmsg_probe()
136 if (!cdx_mcdi->ept) { in cdx_rpmsg_probe()
138 "Failed to create ept for channel %s\n", in cdx_rpmsg_probe()
158 rpmsg_destroy_ept(cdx_mcdi->ept); in cdx_rpmsg_remove()
H A Dmcdi.h68 * @ept: RPMsg endpoint
78 struct rpmsg_endpoint *ept; member
/linux/samples/rpmsg/
H A 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/drivers/media/platform/st/sti/delta/
H A 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/Documentation/staging/
H A Drpmsg.rst71 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
91 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
115 int rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
132 int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst)
191 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept);
245 err = rpmsg_send(rpdev->ept, "hello!", 6);
/linux/arch/mips/include/asm/fw/cfe/
H A Dcfe_api.h93 int cfe_init(uint64_t handle, uint64_t ept);
/linux/net/qrtr/
H A Dsmd.c68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
/linux/arch/mips/fw/cfe/
H A Dcfe_api.c43 int cfe_init(u64 handle, u64 ept) in cfe_init() argument
45 cfe_dispfunc = NATIVE_FROM_XPTR(ept); in cfe_init()
/linux/Documentation/virt/kvm/x86/
H A Drunning-nested-guests.rst136 $ cat /sys/module/kvm_intel/parameters/ept
141 ``enable_shadow_vmcs`` and ``ept``).

12