/linux-6.3-rc2/drivers/rpmsg/ |
A D | rpmsg_core.c | 131 if (ept && ept->ops) in rpmsg_destroy_ept() 132 ept->ops->destroy_ept(ept); in rpmsg_destroy_ept() 161 return ept->ops->send(ept, data, len); in rpmsg_send() 190 return ept->ops->sendto(ept, data, len, dst); in rpmsg_sendto() 250 return ept->ops->trysend(ept, data, len); in rpmsg_trysend() 278 return ept->ops->trysendto(ept, data, len, dst); in rpmsg_trysendto() 298 return ept->ops->poll(ept, filp, wait); in rpmsg_poll() 350 return ept->ops->get_mtu(ept); in rpmsg_get_mtu() 534 if (!ept) { in rpmsg_dev_probe() 540 rpdev->ept = ept; in rpmsg_dev_probe() [all …]
|
A D | virtio_rpmsg_bus.c | 205 kfree(ept); in __ept_release() 218 ept = kzalloc(sizeof(*ept), GFP_KERNEL); in __rpmsg_create_ept() 219 if (!ept) in __rpmsg_create_ept() 226 ept->cb = cb; in __rpmsg_create_ept() 247 ept->addr = id; in __rpmsg_create_ept() 251 return ept; in __rpmsg_create_ept() 307 ept->cb = NULL; in __rpmsg_destroy_ept() 743 if (ept) in rpmsg_recv_single() 748 if (ept) { in rpmsg_recv_single() 752 if (ept->cb) in rpmsg_recv_single() [all …]
|
A D | mtk_rpmsg.c | 56 struct rpmsg_endpoint ept; member 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() 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() 102 ept->rpdev = rpdev; in __mtk_create_ept() 103 ept->cb = cb; in __mtk_create_ept() 104 ept->priv = priv; in __mtk_create_ept() 106 ept->addr = id; in __mtk_create_ept() [all …]
|
A D | rpmsg_internal.h | 65 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);
|
A D | rpmsg_char.c | 79 if (eptdev->ept) { in rpmsg_chrdev_eptdev_destroy() 83 eptdev->ept = NULL; in rpmsg_chrdev_eptdev_destroy() 127 if (eptdev->ept) { in rpmsg_eptdev_open() 148 if (!ept) { in rpmsg_eptdev_open() 155 eptdev->ept = ept; in rpmsg_eptdev_open() 169 if (eptdev->ept) { in rpmsg_eptdev_release() 172 eptdev->ept = NULL; in rpmsg_eptdev_release() 192 if (!eptdev->ept) in rpmsg_eptdev_read_iter() 211 if (!eptdev->ept) in rpmsg_eptdev_read_iter() 254 if (!eptdev->ept) { in rpmsg_eptdev_write_iter() [all …]
|
A D | qcom_smd.c | 167 struct rpmsg_endpoint ept; member 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() 929 ept = &qsept->ept; in qcom_smd_create_ept() 931 kref_init(&ept->refcount); in qcom_smd_create_ept() 933 ept->rpdev = rpdev; in qcom_smd_create_ept() 934 ept->cb = cb; in qcom_smd_create_ept() 935 ept->priv = priv; in qcom_smd_create_ept() [all …]
|
A D | qcom_glink_native.c | 151 struct rpmsg_endpoint ept; member 916 if (channel->ept.cb) { in qcom_glink_rx_data() 917 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data() 920 channel->ept.priv, in qcom_glink_rx_data() 1197 ept = &channel->ept; in qcom_glink_create_ept() 1198 ept->rpdev = rpdev; in qcom_glink_create_ept() 1199 ept->cb = cb; in qcom_glink_create_ept() 1200 ept->priv = priv; in qcom_glink_create_ept() 1203 return ept; in qcom_glink_create_ept() 1508 rpdev->ept = &channel->ept; in qcom_glink_rx_open() [all …]
|
A D | qcom_glink_ssr.c | 50 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()
|
A D | rpmsg_ns.c | 93 rpdev->ept = ns_ept; in rpmsg_ns_probe()
|
/linux-6.3-rc2/include/linux/ |
A D | rpmsg.h | 59 struct rpmsg_endpoint *ept; member 180 int rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len); 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); 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 284 static inline int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, in rpmsg_trysendto() argument 302 static inline __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, in rpmsg_poll() argument [all …]
|
/linux-6.3-rc2/arch/x86/kvm/vmx/ |
A D | capabilities.h | 72 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-6.3-rc2/drivers/net/wwan/ |
A D | rpmsg_wwan_ctrl.c | 14 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-6.3-rc2/arch/x86/kernel/cpu/ |
A D | feat_ctl.c | 27 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-6.3-rc2/drivers/soc/qcom/ |
A D | pmic_glink.c | 18 struct rpmsg_endpoint *ept; member 91 return rpmsg_send(pg->ept, data, len); in pmic_glink_send() 154 if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) in pmic_glink_state_notify_clients() 157 if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) in pmic_glink_state_notify_clients() 193 pg->ept = rpdev->ept; in pmic_glink_rpmsg_probe() 212 pg->ept = NULL; in pmic_glink_rpmsg_remove()
|
A D | smd-rpm.c | 210 rpm->rpm_channel = rpdev->ept; in qcom_smd_rpm_probe()
|
A D | wcnss_ctrl.c | 324 wcnss->channel = rpdev->ept; in wcnss_ctrl_probe()
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A D | cros_ec_rpmsg.c | 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-6.3-rc2/drivers/remoteproc/ |
A D | qcom_sysmon.c | 40 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() 774 rpdev->ept->priv = sysmon; in sysmon_probe() 775 sysmon->ept = rpdev->ept; in sysmon_probe() 788 struct qcom_sysmon *sysmon = rpdev->ept->priv; in sysmon_remove() 790 sysmon->ept = NULL; in sysmon_remove()
|
/linux-6.3-rc2/samples/rpmsg/ |
A D | rpmsg_client_sample.c | 44 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-6.3-rc2/drivers/tty/ |
A D | rpmsg_tty.c | 85 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-6.3-rc2/drivers/media/platform/st/sti/delta/ |
A D | delta-ipc.c | 185 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-6.3-rc2/arch/mips/include/asm/fw/cfe/ |
A D | cfe_api.h | 96 int cfe_init(uint64_t handle, uint64_t ept);
|
/linux-6.3-rc2/net/qrtr/ |
A D | smd.c | 68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
|
/linux-6.3-rc2/arch/mips/fw/cfe/ |
A D | cfe_api.c | 43 int cfe_init(u64 handle, u64 ept) in cfe_init() argument 45 cfe_dispfunc = NATIVE_FROM_XPTR(ept); in cfe_init()
|
/linux-6.3-rc2/Documentation/virt/kvm/x86/ |
A D | running-nested-guests.rst | 136 $ cat /sys/module/kvm_intel/parameters/ept 141 ``enable_shadow_vmcs`` and ``ept``).
|