/linux-master/drivers/rpmsg/ |
H A D | rpmsg_core.c | 123 * @ept: endpoing to destroy 129 void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) argument 131 if (ept && ept->ops) 132 ept->ops->destroy_ept(ept); 138 * @ept: the rpmsg endpoint 142 * This function sends @data of length @len on the @ept endpoint. 143 * The message will be sent to the remote processor which the @ept 144 * endpoint belongs to, using @ept' 154 rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) argument 183 rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 214 rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, void *data, int len) argument 243 rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len) argument 271 rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 290 rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp, poll_table *wait) argument 321 rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, void *data, int len) argument 341 rpmsg_set_flow_control(struct rpmsg_endpoint *ept, bool pause, u32 dst) argument 362 rpmsg_get_mtu(struct rpmsg_endpoint *ept) argument 540 struct rpmsg_endpoint *ept = NULL; local [all...] |
H A D | rpmsg_internal.h | 66 void (*destroy_ept)(struct rpmsg_endpoint *ept); 68 int (*send)(struct rpmsg_endpoint *ept, void *data, int len); 69 int (*sendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); 70 int (*send_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst, 73 int (*trysend)(struct rpmsg_endpoint *ept, void *data, int len); 74 int (*trysendto)(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); 75 int (*trysend_offchannel)(struct rpmsg_endpoint *ept, u32 src, u32 dst, 77 __poll_t (*poll)(struct rpmsg_endpoint *ept, struct file *filp, 79 int (*set_flow_control)(struct rpmsg_endpoint *ept, bool pause, u32 dst); 80 ssize_t (*get_mtu)(struct rpmsg_endpoint *ept); [all...] |
H A D | mtk_rpmsg.c | 56 struct rpmsg_endpoint ept; member in struct:mtk_rpmsg_endpoint 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, local 69 kfree(to_mtk_rpmsg_endpoint(ept)); 75 struct rpmsg_endpoint *ept = &mept->ept; local 78 ret = (*ept->cb)(ept->rpdev, data, len, ept->priv, ept 90 struct rpmsg_endpoint *ept; local 129 mtk_rpmsg_destroy_ept(struct rpmsg_endpoint *ept) argument 138 mtk_rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) argument 147 mtk_rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len) argument [all...] |
H A D | virtio_rpmsg_bus.c | 140 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); 190 * @kref: the ept's reference count 192 * This function deallocates an ept, an 199 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, local 215 struct rpmsg_endpoint *ept; local 298 __rpmsg_destroy_ept(struct virtproc_info *vrp, struct rpmsg_endpoint *ept) argument 313 virtio_rpmsg_destroy_ept(struct rpmsg_endpoint *ept) argument 651 virtio_rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) argument 659 virtio_rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 668 virtio_rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, void *data, int len) argument 676 virtio_rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len) argument 684 virtio_rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 693 virtio_rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, void *data, int len) argument 701 virtio_rpmsg_get_mtu(struct rpmsg_endpoint *ept) argument 712 struct rpmsg_endpoint *ept; local [all...] |
H A D | rpmsg_char.c | 48 * @ept_lock: synchronization of @ept modifications 49 * @ept: rpmsg endpoint reference, when open 66 struct rpmsg_endpoint *ept; member in struct:rpmsg_eptdev 83 if (eptdev->ept) { 86 rpmsg_destroy_ept(eptdev->ept); 87 eptdev->ept = NULL; 138 struct rpmsg_endpoint *ept; local 143 if (eptdev->ept) { 160 ept = eptdev->default_ept; 162 ept [all...] |
H A D | qcom_smd.c | 167 struct rpmsg_endpoint ept; member in struct:qcom_smd_endpoint 174 #define to_smd_endpoint(e) container_of(e, struct qcom_smd_endpoint, ept) 416 struct rpmsg_endpoint *ept = &channel->qsept->ept; local 420 ept->cb = cb; 544 struct rpmsg_endpoint *ept = &channel->qsept->ept; local 561 ret = ept->cb(ept->rpdev, ptr, len, ept 896 struct rpmsg_endpoint *ept = container_of(kref, struct rpmsg_endpoint, local 909 struct rpmsg_endpoint *ept; local 953 qcom_smd_destroy_ept(struct rpmsg_endpoint *ept) argument 963 qcom_smd_send(struct rpmsg_endpoint *ept, void *data, int len) argument 970 qcom_smd_trysend(struct rpmsg_endpoint *ept, void *data, int len) argument 977 qcom_smd_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 984 qcom_smd_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 991 qcom_smd_poll(struct rpmsg_endpoint *ept, struct file *filp, poll_table *wait) argument [all...] |
H A D | qcom_glink_ssr.c | 50 struct rpmsg_endpoint *ept; member in struct:glink_ssr 116 ret = rpmsg_send(ssr->ept, &msg, sizeof(msg)); 138 ssr->ept = rpdev->ept;
|
H A D | qcom_glink_native.c | 130 * @ept: rpmsg endpoint this channel is associated with 133 * @recv_lock: guard for @ept.cb 153 struct rpmsg_endpoint ept; member in struct:glink_channel 185 #define to_glink_channel(_ept) container_of(_ept, struct glink_channel, ept) 934 if (channel->ept.cb) { 935 channel->ept.cb(channel->ept.rpdev, 938 channel->ept.priv, 1040 * @ept: Rpmsg endpoint for channel. 1046 static int qcom_glink_set_flow_control(struct rpmsg_endpoint *ept, boo argument 1245 struct rpmsg_endpoint *ept; local 1315 qcom_glink_destroy_ept(struct rpmsg_endpoint *ept) argument 1446 qcom_glink_send(struct rpmsg_endpoint *ept, void *data, int len) argument 1453 qcom_glink_trysend(struct rpmsg_endpoint *ept, void *data, int len) argument 1460 qcom_glink_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 1467 qcom_glink_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument [all...] |
H A D | rpmsg_ns.c | 90 dev_err(&rpdev->dev, "failed to create the ns ept\n"); 93 rpdev->ept = ns_ept;
|
/linux-master/include/linux/ |
H A D | rpmsg.h | 49 * @ept: the rpmsg endpoint of this channel 59 struct rpmsg_endpoint *ept; member in struct:rpmsg_device 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); 187 int rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, 190 int rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len); 191 int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); 192 int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, 195 __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struc 239 rpmsg_destroy_ept(struct rpmsg_endpoint *ept) argument 256 rpmsg_send(struct rpmsg_endpoint *ept, void *data, int len) argument 264 rpmsg_sendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 274 rpmsg_send_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, void *data, int len) argument 283 rpmsg_trysend(struct rpmsg_endpoint *ept, void *data, int len) argument 291 rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst) argument 300 rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, void *data, int len) argument 309 rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp, poll_table *wait) argument 318 rpmsg_get_mtu(struct rpmsg_endpoint *ept) argument 326 rpmsg_set_flow_control(struct rpmsg_endpoint *ept, bool pause, u32 dst) argument [all...] |
/linux-master/drivers/net/wwan/ |
H A D | rpmsg_wwan_ctrl.c | 14 struct rpmsg_endpoint *ept; member in struct:rpmsg_wwan_dev 41 rpwwan->ept = rpmsg_create_ept(rpwwan->rpdev, rpmsg_wwan_ctrl_callback, 43 if (!rpwwan->ept) 53 rpmsg_destroy_ept(rpwwan->ept); 54 rpwwan->ept = NULL; 62 ret = rpmsg_trysend(rpwwan->ept, skb->data, skb->len); 75 ret = rpmsg_send(rpwwan->ept, skb->data, skb->len); 88 return rpmsg_poll(rpwwan->ept, filp, wait);
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | capabilities.h | 72 u32 ept; member in struct:vmx_capability 296 return vmx_capability.ept & VMX_EPT_EXECUTE_ONLY_BIT; 301 return vmx_capability.ept & VMX_EPT_PAGE_WALK_4_BIT; 306 return vmx_capability.ept & VMX_EPT_PAGE_WALK_5_BIT; 311 return vmx_capability.ept & VMX_EPTP_WB_BIT; 316 return vmx_capability.ept & VMX_EPT_2MB_PAGE_BIT; 321 return vmx_capability.ept & VMX_EPT_1GB_PAGE_BIT; 335 return vmx_capability.ept & VMX_EPT_AD_BIT; 340 return vmx_capability.ept & VMX_EPT_EXTENT_CONTEXT_BIT; 345 return vmx_capability.ept [all...] |
/linux-master/samples/rpmsg/ |
H A D | rpmsg_client_sample.c | 44 ret = rpmsg_send(rpdev->ept, MSG, strlen(MSG)); 66 ret = rpmsg_send(rpdev->ept, MSG, strlen(MSG));
|
/linux-master/drivers/cdx/controller/ |
H A D | cdx_rpmsg.c | 40 ret = rpmsg_send(cdx_mcdi->ept, send_buf, hdr_len + sdu_len); 135 cdx_mcdi->ept = rpmsg_create_ept(rpdev, cdx_rpmsg_cb, NULL, chinfo); 136 if (!cdx_mcdi->ept) { 138 "Failed to create ept for channel %s\n", 158 rpmsg_destroy_ept(cdx_mcdi->ept);
|
H A D | mcdi.h | 68 * @ept: RPMsg endpoint 78 struct rpmsg_endpoint *ept; member in struct:cdx_mcdi
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_rpmsg.c | 41 * @ept: The rpmsg endpoint of this channel. 49 struct rpmsg_endpoint *ept; member in struct:cros_ec_rpmsg 97 ret = rpmsg_send(ec_rpmsg->ept, ec_dev->dout, len); 242 ec_rpmsg->ept = cros_ec_rpmsg_create_ept(rpdev); 243 if (!ec_rpmsg->ept) 248 rpmsg_destroy_ept(ec_rpmsg->ept); 267 rpmsg_destroy_ept(ec_rpmsg->ept);
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | feat_ctl.c | 27 u32 supported, funcs, ept, vpid, ign, low, high; local 59 rdmsr_safe(MSR_IA32_VMX_EPT_VPID_CAP, &ept, &vpid); 69 if (ept & VMX_EPT_EXECUTE_ONLY_BIT) 71 if (ept & VMX_EPT_AD_BIT) 73 if (ept & VMX_EPT_1GB_PAGE_BIT) 75 if (ept & VMX_EPT_PAGE_WALK_5_BIT)
|
/linux-master/drivers/soc/qcom/ |
H A D | pmic_glink.c | 25 struct rpmsg_endpoint *ept; member in struct:pmic_glink 100 return rpmsg_send(pg->ept, data, len); 163 if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) 166 if (pg->pdr_state == SERVREG_SERVICE_STATE_UP && pg->ept) 202 pg->ept = rpdev->ept; 221 pg->ept = NULL;
|
H A D | pmic_pdcharger_ulog.c | 50 return rpmsg_send(pg->rpdev->ept, data, len);
|
/linux-master/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 39 struct rpmsg_endpoint *ept; member in struct:qcom_sysmon 96 ret = rpmsg_send(sysmon->ept, req, len); 132 ret = rpmsg_send(sysmon->ept, req, strlen(req) + 1); 525 else if (sysmon->ept) 560 else if (sysmon->ept) 601 else if (sysmon->ept) 773 rpdev->ept->priv = sysmon; 774 sysmon->ept = rpdev->ept; 787 struct qcom_sysmon *sysmon = rpdev->ept [all...] |
/linux-master/net/qrtr/ |
H A D | smd.c | 68 qdev->channel = rpdev->ept;
|
/linux-master/arch/mips/include/asm/fw/cfe/ |
H A D | cfe_api.h | 93 int cfe_init(uint64_t handle, uint64_t ept);
|
/linux-master/drivers/tty/ |
H A D | rpmsg_tty.c | 86 msg_max_size = rpmsg_get_mtu(rpdev->ept); 96 ret = rpmsg_trysend(rpdev->ept, (void *)buf, msg_size); 110 size = rpmsg_get_mtu(cport->rpdev->ept);
|
/linux-master/drivers/media/platform/st/sti/delta/ |
H A D | delta-ipc.c | 185 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); 284 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); 398 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg)); 464 ret = rpmsg_send(rpmsg_device->ept, &msg, sizeof(msg));
|
/linux-master/arch/mips/fw/cfe/ |
H A D | cfe_api.c | 43 int cfe_init(u64 handle, u64 ept) argument 45 cfe_dispfunc = NATIVE_FROM_XPTR(ept);
|