Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/rpmsg/
Drpmsg_core.c129 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
131 if (ept && ept->ops) in rpmsg_destroy_ept()
132 ept->ops->destroy_ept(ept); in rpmsg_destroy_ept()
154 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) in rpmsg_send() argument
156 if (WARN_ON(!ept)) in rpmsg_send()
158 if (!ept->ops->send) in rpmsg_send()
161 return ept->ops->send(ept, data, len); in rpmsg_send()
183 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) in rpmsg_sendto() argument
185 if (WARN_ON(!ept)) in rpmsg_sendto()
187 if (!ept->ops->sendto) in rpmsg_sendto()
[all …]
Dvirtio_rpmsg_bus.c140 static void virtio_rpmsg_destroy_ept(struct rpmsg_endpoint *ept);
141 static int virtio_rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
142 static int virtio_rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len,
144 static int virtio_rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src,
146 static int virtio_rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
147 static int virtio_rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data,
149 static int virtio_rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src,
151 static ssize_t virtio_rpmsg_get_mtu(struct rpmsg_endpoint *ept);
199 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __ept_release() local
205 kfree(ept); in __ept_release()
[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.h65 void (*destroy_ept)(struct rpmsg_endpoint *ept);
67 int (*send)(struct rpmsg_endpoint *ept, void *data, int len);
68 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
69 int (*send_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
72 int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len);
73 int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
74 int (*trysend_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst,
76 __poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp,
78 ssize_t (*get_mtu)(struct rpmsg_endpoint *ept);
Drpmsg_char.c64 struct rpmsg_endpoint *ept; member
78 if (eptdev->ept) { in rpmsg_chrdev_eptdev_destroy()
81 rpmsg_destroy_ept(eptdev->ept); in rpmsg_chrdev_eptdev_destroy()
82 eptdev->ept = NULL; in rpmsg_chrdev_eptdev_destroy()
121 struct rpmsg_endpoint *ept; in rpmsg_eptdev_open() local
126 if (eptdev->ept) { in rpmsg_eptdev_open()
138 ept = eptdev->default_ept; in rpmsg_eptdev_open()
140 ept = rpmsg_create_ept(rpdev, rpmsg_ept_cb, eptdev, eptdev->chinfo); in rpmsg_eptdev_open()
142 if (!ept) { in rpmsg_eptdev_open()
149 eptdev->ept = ept; in rpmsg_eptdev_open()
[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.c157 struct rpmsg_endpoint ept; member
188 #define to_glink_channel(_ept) container_of(_ept, struct glink_channel, ept)
904 if (channel->ept.cb) { in qcom_glink_rx_data()
905 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
908 channel->ept.priv, in qcom_glink_rx_data()
1162 struct glink_channel *parent = to_glink_channel(rpdev->ept); in qcom_glink_create_ept()
1165 struct rpmsg_endpoint *ept; in qcom_glink_create_ept() local
1188 ept = &channel->ept; in qcom_glink_create_ept()
1189 ept->rpdev = rpdev; in qcom_glink_create_ept()
1190 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.c93 rpdev->ept = ns_ept; in rpmsg_ns_probe()
/Linux-v6.1/include/linux/
Drpmsg.h59 struct rpmsg_endpoint *ept; member
180 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len);
181 int rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
182 int rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
185 int rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len);
186 int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst);
187 int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
190 __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,
193 ssize_t rpmsg_get_mtu(struct rpmsg_endpoint *ept);
232 static inline void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) in rpmsg_destroy_ept() argument
[all …]
/Linux-v6.1/arch/x86/kvm/vmx/
Dcapabilities.h72 u32 ept; member
296 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
301 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
306 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
311 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
316 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
321 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
335 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
340 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
345 return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT; in cpu_has_vmx_invept_global()
/Linux-v6.1/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-v6.1/arch/x86/kernel/cpu/
Dfeat_ctl.c27 u32 supported, funcs, ept, vpid, ign, low, high; in init_vmx_capabilities() local
59 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); in init_vmx_capabilities()
69 if (ept & VMX_EPT_EXECUTE_ONLY_BIT) in init_vmx_capabilities()
71 if (ept & VMX_EPT_AD_BIT) in init_vmx_capabilities()
73 if (ept & VMX_EPT_1GB_PAGE_BIT) in init_vmx_capabilities()
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_rpmsg.c49 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-v6.1/drivers/remoteproc/
Dqcom_sysmon.c40 struct rpmsg_endpoint *ept; member
97 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
133 ret = rpmsg_send(sysmon->ept, req, strlen(req) + 1); in sysmon_request_shutdown()
526 else if (sysmon->ept) in sysmon_start()
561 else if (sysmon->ept) in sysmon_stop()
602 else if (sysmon->ept) in sysmon_notify()
771 rpdev->ept->priv = sysmon; in sysmon_probe()
772 sysmon->ept = rpdev->ept; in sysmon_probe()
785 struct qcom_sysmon *sysmon = rpdev->ept->priv; in sysmon_remove()
787 sysmon->ept = NULL; in sysmon_remove()
/Linux-v6.1/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-v6.1/drivers/tty/
Drpmsg_tty.c85 msg_max_size = rpmsg_get_mtu(rpdev->ept); in rpmsg_tty_write()
95 ret = rpmsg_trysend(rpdev->ept, (void *)buf, msg_size); in rpmsg_tty_write()
109 size = rpmsg_get_mtu(cport->rpdev->ept); in rpmsg_tty_write_room()
/Linux-v6.1/drivers/media/platform/st/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-v6.1/arch/mips/include/asm/fw/cfe/
Dcfe_api.h96 int cfe_init(uint64_t handle, uint64_t ept);
/Linux-v6.1/net/qrtr/
Dsmd.c68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
/Linux-v6.1/arch/mips/fw/cfe/
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-v6.1/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()
/Linux-v6.1/Documentation/virt/kvm/x86/
Drunning-nested-guests.rst136 $ cat /sys/module/kvm_intel/parameters/ept
141 ``enable_shadow_vmcs`` and ``ept``).
/Linux-v6.1/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