Home
last modified time | relevance | path

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

12

/linux/drivers/rpmsg/
H A 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_trysend(struct rpmsg_endpoint *ept, void *data, int len);
145 static int virtio_rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data,
147 static ssize_t virtio_rpmsg_get_mtu(struct rpmsg_endpoint *ept);
193 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, in __ept_release() local
199 kfree(ept); in __ept_release()
209 struct rpmsg_endpoint *ept; in __rpmsg_create_ept() local
212 ept = kzalloc(sizeof(*ept), GFP_KERNEL); in __rpmsg_create_ept()
[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->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 …]
H A Dqcom_glink_native.c164 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()
1126 static int qcom_glink_set_flow_control(struct rpmsg_endpoint *ept, bool pause, u32 dst) in qcom_glink_set_flow_control() argument
1128 struct glink_channel *channel = to_glink_channel(ept); in qcom_glink_set_flow_control()
1168 if (channel->ept.flow_cb) in qcom_glink_handle_signals()
1169 channel->ept.flow_cb(channel->ept.rpdev, channel->ept.priv, enable); in qcom_glink_handle_signals()
1325 struct glink_channel *parent = to_glink_channel(rpdev->ept); in qcom_glink_create_ept()
[all …]
H A Drpmsg_ns.c93 rpdev->ept = ns_ept; in rpmsg_ns_probe()
/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
239 rpmsg_destroy_ept(struct rpmsg_endpoint * ept) rpmsg_destroy_ept() argument
256 rpmsg_send(struct rpmsg_endpoint * ept,void * data,int len) rpmsg_send() argument
264 rpmsg_sendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) rpmsg_sendto() argument
274 rpmsg_send_offchannel(struct rpmsg_endpoint * ept,u32 src,u32 dst,void * data,int len) rpmsg_send_offchannel() argument
283 rpmsg_trysend(struct rpmsg_endpoint * ept,void * data,int len) rpmsg_trysend() argument
291 rpmsg_trysendto(struct rpmsg_endpoint * ept,void * data,int len,u32 dst) rpmsg_trysendto() argument
300 rpmsg_trysend_offchannel(struct rpmsg_endpoint * ept,u32 src,u32 dst,void * data,int len) rpmsg_trysend_offchannel() argument
309 rpmsg_poll(struct rpmsg_endpoint * ept,struct file * filp,poll_table * wait) rpmsg_poll() argument
318 rpmsg_get_mtu(struct rpmsg_endpoint * ept) rpmsg_get_mtu() argument
326 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.h66 u32 ept; member
299 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; in cpu_has_vmx_ept_execute_only()
304 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; in cpu_has_vmx_ept_4levels()
309 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; in cpu_has_vmx_ept_5levels()
314 return vmx_capability.ept & VMX_EPTP_WB_BIT; in cpu_has_vmx_ept_mt_wb()
319 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; in cpu_has_vmx_ept_2m_page()
324 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; in cpu_has_vmx_ept_1g_page()
338 return vmx_capability.ept & VMX_EPT_AD_BIT; in cpu_has_vmx_ept_ad_bits()
343 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; in cpu_has_vmx_invept_context()
348 return vmx_capability.ept & VMX_EPT_EXTENT_GLOBAL_BIT; in cpu_has_vmx_invept_global()
H A Dvmx.c101 module_param_named(ept, enable_ept, bool, 0444);
2760 &vmx_cap->ept, &vmx_cap->vpid); in setup_vmcs_config()
2763 vmx_cap->ept) { in setup_vmcs_config()
2770 vmx_cap->ept = 0; in setup_vmcs_config()
2923 nested_vmx_setup_ctls_msrs(&vmcs_conf, vmx_cap.ept); in vmx_check_processor_compat()
8615 ept_caps_to_lpage_level(vmx_capability.ept)); in vmx_hardware_setup()
8673 nested_vmx_setup_ctls_msrs(&vmcs_config, vmx_capability.ept); in vmx_hardware_setup()
/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/drivers/soc/qcom/
H A Dpmic_glink.c30 struct rpmsg_endpoint *ept; member
123 if (!pg->ept) { in pmic_glink_send()
129 ret = rpmsg_send(pg->ept, data, len); in pmic_glink_send()
214 if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) in pmic_glink_state_notify_clients()
217 if (pg->pdr_state == SERVREG_SERVICE_STATE_DOWN || !pg->ept) in pmic_glink_state_notify_clients()
253 pg->ept = rpdev->ept; in pmic_glink_rpmsg_probe()
271 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()
H A Dapr.c618 apr->ch = rpdev->ept; in apr_probe()
/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()
134 cdx_mcdi->ept = rpmsg_create_ept(rpdev, cdx_rpmsg_cb, NULL, chinfo); in cdx_rpmsg_probe()
135 if (!cdx_mcdi->ept) { in cdx_rpmsg_probe()
157 rpmsg_destroy_ept(cdx_mcdi->ept); in cdx_rpmsg_remove()
/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/tty/
H A Drpmsg_tty.c86 msg_max_size = rpmsg_get_mtu(rpdev->ept); in rpmsg_tty_write()
96 ret = rpmsg_trysend(rpdev->ept, (void *)buf, msg_size); in rpmsg_tty_write()
110 size = rpmsg_get_mtu(cport->rpdev->ept); in rpmsg_tty_write_room()
/linux/drivers/edac/
H A Dversalnet_edac.c159 struct rpmsg_endpoint *ept; member
528 ret = rpmsg_send(cdx->ept, send_buf, hdr_len + sdu_len); in mcdi_request()
573 amd_mcdi->ept = mc_priv->ept; in setup_mcdi()
732 pg->ept = rpmsg_create_ept(rpdev, rpmsg_cb, NULL, chinfo); in rpmsg_probe()
733 if (!pg->ept) in rpmsg_probe()
746 rpmsg_destroy_ept(mc_priv->ept); in rpmsg_remove()
/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/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/include/linux/cdx/
H A Dmcdi.h67 struct rpmsg_endpoint *ept; member
/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``).
/linux/drivers/net/wireless/ath/ath6kl/
H A 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/Documentation/admin-guide/hw-vuln/
H A 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